Documentation
¶
Overview ¶
Package gateway provides MCP gateway tools for tool registration, search, and invocation across federated MCP servers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayTools ¶
type GatewayTools interface {
ListTools() []Tool
InvokeTool(ctx context.Context, params InvokeToolParams) (interface{}, error)
SearchTools(ctx context.Context, query string) ([]ToolSearchResult, error)
ListServers(ctx context.Context) ([]ServerInfo, error)
}
func NewGatewayTools ¶
func NewGatewayTools(serverReg registry.Registry, toolReg router.ToolRegistry, router router.Router, logger *slog.Logger) GatewayTools
type InvokeToolParams ¶
type ServerInfo ¶
type ToolSearchResult ¶
Click to show internal directories.
Click to hide internal directories.