Skip to Content

Qwen Code

Connect Qwen Code to CMDOP over MCP. You need an agent token: create it for Qwen Code on the Agents tab of your CMDOP page, where it is shown once. Replace <agent-token> with it and <contour> with your address.

  1. Copy the MCP settings JSON.
{ "mcpServers": { "cmdopv2": { "type": "http", "url": "https://<contour>.cmdop.ai/mcp/", "headers": { "Authorization": "Bearer <agent-token>" } } } }
  1. Paste it into the agent’s MCP settings and restart the agent.

Check

Ask Qwen 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.