Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Name string
Version string
Listen string
IdleTimeout time.Duration
Servers []Server
}
Config is a complete composite server configuration.
type LoadOptions ¶
LoadOptions controls environment interpolation while loading YAML.
type PromptOverride ¶
type PromptOverride struct {
Name string
OverrideName string
Description string
OverrideDescription string
Enabled bool
}
PromptOverride customizes a discovered prompt.
type ResourceOverride ¶
type ResourceOverride struct {
URI string
OverrideURI string
Name string
OverrideName string
Description string
OverrideDescription string
Enabled bool
}
ResourceOverride customizes a discovered resource.
type ResourceTemplateOverride ¶
type ResourceTemplateOverride struct {
URITemplate string
OverrideURITemplate string
Name string
OverrideName string
Description string
OverrideDescription string
Enabled bool
}
ResourceTemplateOverride customizes a discovered resource template.
type Server ¶
type Server struct {
Name string
Prefix string
URL string
Headers map[string]string
PassthroughHeaders []string
Command string
Args []string
Env map[string]string
WorkingDirectory string
Timeout time.Duration
Tools []ToolOverride
Prompts []PromptOverride
Resources []ResourceOverride
ResourceTemplates []ResourceTemplateOverride
}
Server describes one component MCP server.
Click to show internal directories.
Click to hide internal directories.