Skip to main content

Module server

Module server 

Source
Expand description

Lock-free HTTP daemon server.

Provides:

  • MCP JSON-RPC endpoint (/message) + Streamable-HTTP SSE (/sse)
  • REST API (/api/*) for the local pcx CLI
  • Health (/health) and stats (/stats)

Tool-call business logic lives in tools::mcp::*; this module is a thin transport layer that maps JSON payloads onto those calls.

Structsยง

DaemonServer
Lock-free daemon server