Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Transport mechanism for the MCP server (e.g., "stdio", "http")
Transport Transport `yaml:"transport,omitempty"`
// ListenAddress is the address to listen on for HTTP transport (e.g., ":8000")
ListenAddress string `yaml:"listen_address,omitempty"`
// ReadOnly indicates if the server should operate in read-only mode
ReadOnly bool `yaml:"read_only,omitempty"`
// Resources is a comma-separated list of resources to register.
Resources string `yaml:"resources,omitempty"`
// AllowedResources is the normalized list of resources to register.
AllowedResources []string `yaml:"-"`
// PersesServer is the configuration for connecting to the Perses backend server.
// Supports multiple authentication methods: Authorization (Bearer token),
// OAuth, BasicAuth, K8sAuth, and NativeAuth.
PersesServer config.RestConfigClient `yaml:"perses_server"`
}
func ResolveConfig ¶
Click to show internal directories.
Click to hide internal directories.