layers

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 7 Imported by: 0

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)

Types

type ServerSettings

type ServerSettings struct {
	Repositories []string `glazed.parameter:"repositories"`
	ConfigFile   string   `glazed.parameter:"config-file"`
	Profile      string   `glazed.parameter:"profile"`
	Debug        bool     `glazed.parameter:"debug"`
	TracingDir   string   `glazed.parameter:"tracing-dir"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL