Documentation
¶
Overview ¶
Package mcpserver exposes the llmbox box operations as MCP tools. It is deliberately decoupled from the HTTP server: every box operation it needs is reached through the Backend interface, so the tool layer can be built and tested in isolation from Docker, the session store, and the cluster.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
NewServer builds an MCP server exposing the box tools backed by b.
@arg b The backend providing the box operations the tools invoke. @arg name The MCP server implementation name. @arg version The MCP server implementation version. @return *mcp.Server An MCP server with the create/get/list/destroy tools registered.
@testcase TestToolsRegistered checks all tools are registered.
Types ¶
type BoxSession ¶
type BoxSession = api.BoxSession
BoxSession is the subset of a box's state the tools surface.
type ProxyInfo ¶ added in v0.0.42
ProxyInfo describes one enabled HTTP proxy surfaced by the proxy tools.
type SpokeStatus ¶
type SpokeStatus = api.SpokeStatus
SpokeStatus describes one cluster spoke and its health for the list_spokes tool.