Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServerCmd = &cobra.Command{
Use: "server",
Short: "Server management commands",
Long: `Commands for managing the MCP server, including starting the server and managing tools.`,
}
ServerCmd is the root command for server-related operations
View Source
var ToolsCmd = &cobra.Command{
Use: "tools",
Short: "Manage server tools",
Long: `List and call tools directly on the server side.`,
}
ToolsCmd handles the "server tools" command group
Functions ¶
This section is empty.
Types ¶
type CallToolCommand ¶
type CallToolCommand struct {
*cmds.CommandDescription
}
func NewCallToolCommand ¶
func NewCallToolCommand() (*CallToolCommand, error)
func (*CallToolCommand) RunIntoWriter ¶
func (c *CallToolCommand) RunIntoWriter( ctx context.Context, parsedLayers *glazed_layers.ParsedLayers, w io.Writer, ) error
type CallToolSettings ¶
type ListToolsCommand ¶
type ListToolsCommand struct {
*cmds.CommandDescription
}
func NewListToolsCommand ¶
func NewListToolsCommand() (*ListToolsCommand, error)
func (*ListToolsCommand) RunIntoGlazeProcessor ¶
func (c *ListToolsCommand) RunIntoGlazeProcessor( ctx context.Context, parsedLayers *glazed_layers.ParsedLayers, gp middlewares.Processor, ) error
type ListToolsSettings ¶
type ListToolsSettings struct {
}
type StartCommand ¶ added in v0.0.7
type StartCommand struct {
*cmds.CommandDescription
}
func NewStartCommand ¶ added in v0.0.7
func NewStartCommand() (*StartCommand, error)
func (*StartCommand) Run ¶ added in v0.0.7
func (c *StartCommand) Run( ctx context.Context, parsedLayers *glazed_layers.ParsedLayers, ) error
type StartCommandSettings ¶ added in v0.0.7
Click to show internal directories.
Click to hide internal directories.