Documentation
¶
Overview ¶
Package mcp implements an MCP (Model Context Protocol) server. Supports APIMart and OpenRouter providers (auto-detected from base_url).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListTools ¶ added in v1.11.0
func ListTools(cfg *Config)
ListTools prints all registered MCP tools and exits.
Types ¶
type Config ¶
type Config struct {
APIKey string
BaseURL string
Proxy string
Output string
Defaults *types.ConfigDefaults
ToolsEnable []string
ToolsDisable []string
ListTools bool
}
Config holds the configuration for the MCP server. It's a subset of the full CLI config, focused on what MCP tools need.
Click to show internal directories.
Click to hide internal directories.