The dough gateway runs an MCP server at https://api.try-dough.com/v1/mcp. Any MCP client (Claude Code, Codex, Cursor and others) can use it to start remote dough agent runs and follow them. It works as you: runs started here are the same tasks you see from chat (Discord, WhatsApp) and in the dashboard, with the same repo-access checks.

Connect

Your MCP client signs you in with dough’s login (Zitadel), opening a browser the first time. Zitadel has no dynamic client registration, so clients use the pre-registered public dough-cli client, 401746099355788635, with callback port 33418.

  • Claude Code, in this repo: .mcp.json declares the server. Approve it once, then authenticate with /mcp.
  • Claude Code, anywhere:
    claude mcp add --transport http --scope user dough https://api.try-dough.com/v1/mcp \
      --client-id 401746099355788635 --callback-port 33418
  • Codex:
    codex mcp add dough --url https://api.try-dough.com/v1/mcp --oauth-client-id 401746099355788635
    codex -c mcp_oauth_callback_port=33418 mcp login dough

Tools

ToolWhat it does
dough_reposRepos you can run agents on, i.e. those the dough GitHub App can reach for you
dough_runStart a run: prompt, repo (owner/name), agent (default coder-codex), base (default main)
dough_tasksYour recent tasks from every source, newest first
dough_taskA task’s status, its progress events and its result. Pass the returned cursor as afterId for only what’s new
dough_steerSend a running task a follow-up instruction
dough_cancelCancel a task

The server sends usage instructions when a client connects. The gateway’s docs/task-api.md covers the server side.