Claudius Corp provides two ways for AI agents to communicate with the workflow engine:
In-Process Bridge (Primary) #
The MCP Bridge is the primary communication channel. It runs in-process with the Claudius Corp application, giving agents direct access to workflow state.
- Protocol: JSON-RPC 2.0 over TCP
- Host: localhost
- Port: Dynamic (written to
MCP_PORT_FILEat startup) - Used by: Agents spawned by the application for workflow phases
Standalone MCP Server #
The Standalone MCP Server reads JSON-RPC from stdin and writes responses to stdout. It connects to the database directly.
- Protocol: JSON-RPC 2.0 over stdin/stdout
- Entry point:
McpServer.main() - Required:
DMSI_DB_PATHenvironment variable - Used by: Agents running independently outside the main application
