MCP Server
Build
npm run mcp:install
npm run mcp:typecheck
npm run mcp:build
Normal npm run setup performs install and build automatically.
Launch
ccam mcp stdio
ccam mcp http
ccam mcp repl
Policy
- Reads are enabled by default.
- Writes require
MCP_DASHBOARD_ALLOW_MUTATIONS=true. - Full data clearing additionally requires
MCP_DASHBOARD_ALLOW_DESTRUCTIVE=trueand the exact tool argumentconfirmation_token = "CLEAR_ALL_DATA".CLEAR_ALL_DATAis not an environment variable. - Set
MCP_DASHBOARD_API_TOKENwhen the dashboard usesDASHBOARD_TOKEN. - The target URL remains restricted to loopback and approved container-host names.
Validate with npm run test:mcp. Protocol and REPL transports must expose the
same catalog because both use the canonical domain registration path.