Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMCP ¶
func NewMCP(cfg MCPConfig, deps MCPDeps) (agentkit.ToolProvider, error)
NewMCP registers tool/mcp: Load mcpServers JSON and expose MCP tools as dynamic model-visible tools.
Best practices:
- Put project servers in .cursor/mcp.json; use global:mcp.json for cross-project defaults.
- Mount via tools/runtime deps.dynamicTools, not deps.tools, because definitions are discovered at runtime.
Types ¶
Click to show internal directories.
Click to hide internal directories.