Skip to main content

Module mcp

Module mcp 

Source
Expand description

outrig mcp orchestrator: wire the shared SessionSetup bootstrap to a ProxyServer served over rmcp’s stdio transport by default, or Streamable HTTP when --listen is set. Runs as a server (not a REPL): the external stdio client speaks JSON-RPC on the binary’s stdout, and everything else (banner, tracing) goes to stderr.

The exit triggers – stdio stdin EOF (peer disconnect), SIGINT, SIGTERM, and attached-container stop – all funnel through the same teardown order as outrig run: cancel the rmcp service so its dispatcher quiesces -> McpClient::shutdown per backing server -> Container::stop -> SessionStore::finalize. Backing MCPs are podman exec processes whose pipes ride through the container, so tearing the container down before stopping the rmcp service races them.

Structs§

McpArgs

Enums§

ListenAddr
McpCommand

Functions§

execute
Run one outrig mcp invocation end-to-end. Returns the process exit code.