Connect
Connect Claude Code to Ducto
One command adds Ducto to Claude Code over streamable HTTP. Authenticate interactively with OAuth, or pass a bearer token for headless and CI setups.
auth: OAuth 2.1 sign-in · tokens available for headless
01
Add the server
Run this in your project (or with --scope user for all projects):
$ claude mcp add --transport http ducto https://mcp.getducto.com/
✓ Added HTTP MCP server ducto
02
Authenticate
Inside Claude Code, run /mcp, select ducto, and choose Authenticate. Your browser opens Ducto's consent screen; approve and return.
> /mcp
ducto — needs authentication → Authenticate
✓ connected — tools available
03
Headless alternative: bearer token
For CI or servers, mint a token on the dashboard's MCP page and pass it as a header instead of OAuth:
$ claude mcp add --transport http ducto https://mcp.getducto.com/ \
--header "Authorization: Bearer <your-token>"
04
Work
Ask Claude Code to audit spend, fix GTM tags, or draft campaign changes. Writes preview first; the flagged ones wait in your approval inbox.
When it doesn't work
The two things that actually go wrong
401 on every call
The OAuth grant or token was revoked or expired. Re-run /mcp → Authenticate, or mint a fresh token on the MCP page.
Too many tools in context
Point at a single platform mount instead of the root — for example https://mcp.getducto.com/google-ads — to load only that platform's tools.