Context
Per arch.md §22c.2 the MCP server (agentkeys-mcp-server) runs in two distinct places, keyed on where the LLM lives:
| Runtime (§22c.2) |
Where the LLM runs |
Where the MCP server runs |
Transport |
Status |
| Local LLM / Task agent (Claude Code, Codex, Hermes-in-sandbox) |
Co-located with the agent |
stdio subprocess inside the agent's own env |
stdio (DaemonBackend) |
In active development (wire track: #141 merged, #149, #133) |
| Hosted LLM (xiaozhi, Doubao, vendor cloud) |
Vendor's cloud, connects inward over WSS |
A public always-on host (broker host today) |
--transport mcp-endpoint (WSS behind nginx TLS) |
Deferred — this issue |
We are currently focusing only on the Local-LLM / Task-agent path (stdio MCP server installed into the agent's environment via the distribution channel, wired with agentkeys wire <runtime>). The Hosted-LLM path is parked for a future milestone.
Scope (future implementation)
The hosted path is the one scripts/setup-mcp-host.sh already targets — a broker-hosted agentkeys-mcp-server --transport mcp-endpoint reachable at wss://mcp.litentry.org/mcp_endpoint/..., that a remote vendor LLM (xiaozhi cloud / ESP32 companion / Doubao speaker) connects into. Deliverables when this is picked up:
Why deferred
Per arch.md §22d.4 + agent-iam-strategy.md §2.4: hooks-first ordering covers the four strategically-important Tier-1 runtimes (Claude Code, Codex, Hermes, OpenClaw) with one investment and lower mission-creep risk. The hosted/proxy path is broader-reach but lower-priority and carries the §2.4 "don't become a Task Host" risk, so it waits until the Authority-Host position is established.
References
🤖 Filed from the wire-architecture design discussion (Local-LLM focus; hosted-LLM parked here).
Context
Per arch.md §22c.2 the MCP server (
agentkeys-mcp-server) runs in two distinct places, keyed on where the LLM lives:DaemonBackend)--transport mcp-endpoint(WSS behind nginx TLS)We are currently focusing only on the Local-LLM / Task-agent path (stdio MCP server installed into the agent's environment via the distribution channel, wired with
agentkeys wire <runtime>). The Hosted-LLM path is parked for a future milestone.Scope (future implementation)
The hosted path is the one
scripts/setup-mcp-host.shalready targets — a broker-hostedagentkeys-mcp-server --transport mcp-endpointreachable atwss://mcp.litentry.org/mcp_endpoint/..., that a remote vendor LLM (xiaozhi cloud / ESP32 companion / Doubao speaker) connects into. Deliverables when this is picked up:setup-mcp-host.shfrom standalone to a first-class, documented entry point (or fold intosetup-broker-host.sh --with-mcpper its own header TODO).xiaozhi-vendor-token, JWTagentkeys.omni_account = O_agent_X,agentkeys.vendor).Why deferred
Per arch.md §22d.4 + agent-iam-strategy.md §2.4: hooks-first ordering covers the four strategically-important Tier-1 runtimes (Claude Code, Codex, Hermes, OpenClaw) with one investment and lower mission-creep risk. The hosted/proxy path is broader-reach but lower-priority and carries the §2.4 "don't become a Task Host" risk, so it waits until the Authority-Host position is established.
References
scripts/setup-mcp-host.sh(existing broker-hosted mcp-endpoint deploy)🤖 Filed from the wire-architecture design discussion (Local-LLM focus; hosted-LLM parked here).