Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(tap *tapper.Tap, version string, defaults KegDefaults, opts ...ServerOptions) *sdkmcp.Server
NewServer builds an MCP server with all registered tools.
Types ¶
type KegDefaults ¶
type KegDefaults struct {
tapper.KegTargetOptions
}
KegDefaults holds server-wide keg targeting defaults.
type ServerOptions ¶ added in v0.12.0
type ServerOptions struct {
LicenseText string
// Logger is the structured logger for invocation logging. When nil,
// invocation logging is silently skipped.
Logger *slog.Logger
}
ServerOptions holds configuration for creating an MCP server.
Click to show internal directories.
Click to hide internal directories.