Duct's MCP server · Runs on your AI plan

Your agent does the thinking.
Duct brings the method.

Add one address to Claude Code, Codex, Cursor, Gemini CLI, ChatGPT or Claude. Your agent reads your tools through Duct, quotes Duct's totals, remembers what you decided and saves every brief in Duct. No API key to paste.

Server address
https://mcp.getduct.ai/mcp
Or, in Claude Code
claude mcp add --transport http --scope user duct https://mcp.getduct.ai/mcp

The other direction, Duct's agent calling your servers: Your MCP servers in Duct →

You ask your agent. It asks Duct for the playbook, the sources, the totals and the memory, then saves the brief. The model is yours. The numbers and the method are Duct's.

What your agent gains

It already writes well. Now it knows your numbers.

A general assistant can't see your revenue, remember last month or keep a brief. Duct gives it all three.

Numbers Duct reconciled

Duct adds up every pull in code, so the brief quotes $18,420, not a model's own sum of a thousand rows.

Memory that carries over

What you decided and measured last month is there next time, in any agent.

Duct's playbook, one command

Your agent follows the same method Duct's own agent uses for a brief.

A connector hands your agent rows. Duct hands it answers.

How to connect your agent

Add it, allow it, ask it.

01

Add Duct to your agent

Paste the address above, as one command or one line of settings.

02

Sign in and choose

Your browser opens on Duct. Choose what it can do and where, then click Allow.

03

Ask it something

Try “Write this week's brief.” It follows Duct's playbook and saves the brief in Duct.

You choose

Set up a project, or work alongside you.

When your agent signs in, you pick what it can do and on which projects. Change it any time in Settings.

  • Help set up my projects. It drafts your project's description, audience and competitors from your repo.
  • Work alongside me. It also reads your tools, remembers what matters and writes briefs. Proposed changes, post drafts and images on your own keys stay off until you turn them on.
  • All your projects, or only the ones you pick.

Never the agent's, whatever you allow: approving or applying a change, publishing, connecting a tool, your passwords and keys. Everything it saves shows in Activity under its name, and an edit is one click to undo.

Setup by agent

Eight agents. One address.

Every agent connects to the same address. Pick yours.

Claude Code

  1. In your terminal, run:
    claude mcp add --transport http --scope user duct https://mcp.getduct.ai/mcp
  2. In Claude Code, run /mcp, pick duct and choose Authenticate.
  3. In your browser, choose what it can do, then click Allow.
  4. Run /mcp__duct__insights_brief for Duct's brief playbook, or just ask.

Codex

  1. In your terminal, run:
    codex mcp add duct --url https://mcp.getduct.ai/mcp
  2. Then sign in:
    codex mcp login duct
  3. In your browser, choose what it can do, then click Allow.

Cursor

  1. Add Duct to ~/.cursor/mcp.json:
    {
      "mcpServers": {
        "duct": {
          "url": "https://mcp.getduct.ai/mcp"
        }
      }
    }
  2. In Cursor's MCP settings, press Login on duct.
  3. In your browser, choose what it can do, then click Allow.

Gemini CLI

  1. Add Duct to ~/.gemini/settings.json:
    {
      "mcpServers": {
        "duct": {
          "httpUrl": "https://mcp.getduct.ai/mcp"
        }
      }
    }
  2. Start Gemini CLI and sign in:
    /mcp auth duct
  3. In your browser, choose what it can do, then click Allow.
  4. Run /insights_brief for Duct's brief playbook, or just ask.

VS Code

  1. Open the Command Palette and run MCP: Add Server.
  2. Choose HTTP, paste the address and name it duct:
    https://mcp.getduct.ai/mcp
  3. VS Code asks you to sign in the first time. In your browser, choose what it can do, then click Allow.

OpenCode

  1. Add Duct to opencode.json:
    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "duct": {
          "type": "remote",
          "url": "https://mcp.getduct.ai/mcp"
        }
      }
    }
  2. Then sign in:
    opencode mcp auth duct
  3. In your browser, choose what it can do, then click Allow.

Claude, on claude.ai or Claude Desktop

  1. Open Settings → Connectors and choose Add custom connector.
  2. Name it Duct and paste the address:
    https://mcp.getduct.ai/mcp
  3. Press Connect. In your browser, choose what it can do, then click Allow.

ChatGPT

  1. In ChatGPT's settings, turn on developer mode.
  2. Add a connector with this address and OAuth sign-in:
    https://mcp.getduct.ai/mcp
  3. In your browser, choose what it can do, then click Allow.

Another agent? Give it the same address, or use a token if it can't sign in.

No browser? Use a token.

For CI or a remote machine. Create one in Settings → Connect your AI agent, with the same choices. That page also lists every agent you allowed, and disconnects any one. Send it as a header:

Authorization: Bearer duct_mcp_…

In Claude Code:

claude mcp add --transport http --scope user duct https://mcp.getduct.ai/mcp --header "Authorization: Bearer YOUR_TOKEN"

Questions

The ones people ask. Then the fixes.

Before you connect

Do I need an API key?

No. It runs on the plan you already pay for. A saved key is only for images and scheduled briefs.

Which of my tools can it read?

Stripe, Meta Ads, Mixpanel, GitHub, RevenueCat and the rest you connect in Duct. Google Analytics, Search Console, Ads and Tag Manager stay with Duct's own agent for now, while Google's policy for outside assistants is confirmed.

Can it change my ad account?

Only as a proposal, if you turn that on. It waits in Duct until you approve it. No agent can apply a change.

Does Duct see my conversation?

No. Duct sees only the calls your agent makes to it, never the rest of your chat.

Will a brief run while my laptop is closed?

Not from your agent. Scheduled briefs run in Duct on a saved key, because nobody's agent runs at 3am.

If something goes wrong

My browser never opened

Start it yourself: /mcp in Claude Code, codex mcp login duct, /mcp auth duct in Gemini CLI, or opencode mcp auth duct.

It says it couldn't register, or “does not support dynamic client registration”

Update your agent and try again. If it still fails, use a token.

It worked, and now it gets a 401

It was disconnected, or unused for 90 days. Sign in again from your agent.

A tool I expected isn't there

It sees only what you allowed. Disconnect it in Duct, connect again and choose Work alongside me.

I host Duct myself

Use your own API address followed by /mcp.