Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const (
	DockerCatalogFilename = "docker-mcp.yaml"
)
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Parameters ¶
type Parameters struct {
	Type       string     `yaml:"type" json:"type"`
	Properties Properties `yaml:"properties" json:"properties"`
	Required   []string   `yaml:"required" json:"required"`
}
    type Properties ¶
func (*Properties) ToMap ¶
func (p *Properties) ToMap() map[string]any
type Server ¶
type Server struct {
	Image          string   `yaml:"image" json:"image"`
	LongLived      bool     `yaml:"longLived,omitempty" json:"longLived,omitempty"`
	Remote         Remote   `yaml:"remote,omitempty" json:"remote,omitempty"`
	SSEEndpoint    string   `yaml:"sseEndpoint,omitempty" json:"sseEndpoint,omitempty"` // Deprecated: Use Remote instead
	Secrets        []Secret `yaml:"secrets,omitempty" json:"secrets,omitempty"`
	Env            []Env    `yaml:"env,omitempty" json:"env,omitempty"`
	Command        []string `yaml:"command,omitempty" json:"command,omitempty"`
	Volumes        []string `yaml:"volumes,omitempty" json:"volumes,omitempty"`
	User           string   `yaml:"user,omitempty" json:"user,omitempty"`
	DisableNetwork bool     `yaml:"disableNetwork,omitempty" json:"disableNetwork,omitempty"`
	AllowHosts     []string `yaml:"allowHosts,omitempty" json:"allowHosts,omitempty"`
	Tools          []Tool   `yaml:"tools,omitempty" json:"tools,omitempty"`
}
    type ServerConfig ¶ added in v0.13.0
 Click to show internal directories. 
   Click to hide internal directories.