CLI reference
chain mcp
Start a local MCP server that exposes Chain Hub Brain to any MCP-compatible IDE
Example
chain mcp Options
-
--port <number>Port to bind (default: 37742)
-
--host <address>Bind address (default: 127.0.0.1)
-
--stdioStart in stdio mode (for Claude Code / Cursor direct integration)
-
--openPrint IDE configuration snippet and exit
-
--chain-home <path>Override hub path for this command
Related documentation
Full command table: Commands reference · Troubleshooting