Documentation
¶
Overview ¶
Package mcpserver exposes Oni3 agent tools through the Model Context Protocol. It is the server counterpart of the mcp package, which connects Oni3 to external MCP servers.
Index ¶
Constants ¶
View Source
const ( CallAgentToolName = "call_agent" ListAgentsToolName = "list_agents" ListModelsToolName = "list_models" )
Names of the three MCP tools exposed by Oni3.
Variables ¶
This section is empty.
Functions ¶
func AgentTools ¶
func AgentTools(cfg *config.Config) ([]tool.InvokableTool, error)
AgentTools builds the standard Oni3 MCP surface used by both `oni3 mcp` and the HTTP endpoint embedded in `oni3 web`.
Types ¶
Click to show internal directories.
Click to hide internal directories.