Claude Code
Connect Claude Code to CMDOP over MCP. You need an agent token: create it for Claude Code on the Agents tab of your CMDOP page, where it is shown once. Replace <agent-token> with it and <contour> with your address.
- Copy the command.
claude mcp remove --scope user cmdopv2 2>/dev/null; claude mcp add --scope user --transport http cmdopv2 https://<contour>.cmdop.ai/mcp/ --header "Authorization: Bearer <agent-token>"- Paste it into a terminal and press Enter.
Check
Ask Claude Code to call machines_list. It answers with your machines. If it says unauthorized, the token is wrong or was revoked: create a new one.