Documentation
¶
Overview ¶
Package mcpcmd implements `lux mcp` — an agent's door onto a running node.
The node serves MCP over ZAP: frames on a socket, no HTTP listener, no request, no status code. An MCP client (Claude Code, an editor, an agent runtime) speaks the same protocol over stdin and stdout. Those are two renderings of ONE value — zapmcp.Frame marshals as the ZAP wire and as the JSON-RPC 2.0 message — so this command is a relay and not a translation: it reads a frame from one side and writes it to the other, and reads nothing inside it.
That is why there is no HTTP anywhere in here, and why there is no tool list either. The tools are the node's typed ops, projected by the node, and a copy of them on this side would be one more thing to drift.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.