Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ServerLayerSlug = "mcp-server"
    Variables ¶
This section is empty.
Functions ¶
func CreateToolProvider ¶
func CreateToolProvider(serverSettings *ServerSettings) (*config_provider.ConfigToolProvider, error)
CreateToolProvider creates a tool provider from the given server settings
func NewServerParameterLayer ¶
func NewServerParameterLayer() (layers.ParameterLayer, error)
NewServerParameterLayer creates a new parameter layer for server settings
Types ¶
type ServerSettings ¶
type ServerSettings struct {
	ConfigFile    string   `glazed.parameter:"config-file"`
	Profile       string   `glazed.parameter:"profile"`
	Directories   []string `glazed.parameter:"directories"`
	Files         []string `glazed.parameter:"files"`
	Debug         bool     `glazed.parameter:"debug"`
	TracingDir    string   `glazed.parameter:"tracing-dir"`
	Watch         bool     `glazed.parameter:"watch"`
	ConvertDashes bool     `glazed.parameter:"convert-dashes"`
}
    ServerSettings contains settings for the server
 Click to show internal directories. 
   Click to hide internal directories.