Skip to main content
MCP (Model Context Protocol) servers let a service offer its tools directly to AI. Connect one, and your AI coworkers can call its tools the same way they use integrations. Use MCP when a service publishes an MCP server, or when you run your own.

Connect a server from the catalog

Duet Agents Inc.ludes a catalog of remote MCP servers, such as GitHub, Linear, Sentry, Supabase, PostHog, Intercom, Mixpanel, Intuit QuickBooks, Square, Ramp, Klaviyo, Webflow and Zapier. Servers your organization added, and servers you added for yourself, also appear in the list.
1

Open the server list

In the sidebar’s Workspace tab, choose Connections under Manage. Open the MCP tab and click Connect MCP. The Select MCP Server dialog opens.
2

Pick a server

Search for the server and click it.
3

Sign in if needed

What happens next depends on how the server authorizes:
  • Public: Duet Agents connects right away.
  • Token: a Connect to name dialog asks for an Auth token. Paste it and click Connect.
  • OAuth: Duet Agents sends you to the service to sign in, then brings you back to the MCP tab.
For Public and Token servers, you’ll see “Connected to name”.
4

Review the settings

The account’s settings dialog opens. Choose the Visibility, add a display name, and give coworkers access under Agent access.
Connected servers appear on the MCP tab as “MCP server · host”, with a status: Connected, Needs auth, Error or Needs attention.

Add your own server

Add any remote MCP server that’s reachable over HTTPS.
1

Open the form

Click Connect MCP, then Create MCP Server.
2

Fill in the details

3

Create and connect

Click Create MCP Server. Duet Agents asks “Connect to name?”. Click Connect to connect your account now, or Skip to do it later.
For OAuth, the server must support OAuth discovery and dynamic client registration. Duet Agents checks this when you create the server. If it fails, you’ll see “Failed to set up OAuth with the MCP server. If this persists, contact support.”
A server you add this way is listed for everyone in your organization. Each person connects their own account to it. You can’t add the same URL with the same authorization type twice: Duet Agents replies “MCP server already exists”. To remove a server you added, hover over it in the Select MCP Server list and click the trash icon. Only the person who added it, or an Owner or Admin, can delete it. Catalog servers can’t be deleted.

Ask a coworker to add a server

You can also give a coworker the server’s URL in chat:
Add this MCP server and list its tools: https://mcp.example.com/mcp
The coworker checks what sign-in the server needs:
  • No sign-in: it connects the server right away as your own Private account, gives itself Full access and can use the tools in the same reply. You’ll see “Connected name MCP”.
  • A sign-in or a token: it adds the server and shows a Connect name card so you finish connecting in DuetAgents. You’ll see “Added name MCP, not connected yet”.
A server a coworker adds is listed only for you, not for your whole organization. If the server isn’t reachable, the coworker tells you and checks the URL with you.
Some MCP URLs include a token or key. A URL like that works like a password, so don’t paste it where other people can read it. The coworker warns you when a URL looks like one.
Only members of your organization can add a server this way. Guests, and people talking to the coworker without a Duet Agents account in your organization, can’t.

Visibility and coworker access

MCP accounts work like integration accounts:
  • New accounts are Private. Switch to Organization to let everyone in your organization use the account.
  • AI coworkers have no access until you give it. Approve the coworker’s request in chat, connect the server from the coworker’s chat, or use Agent access in the account’s Connection settings.
  • Access levels are Full access, Read only, Custom (pick individual tools) or Off.
Read only lets the coworker use only the tools the server marks as read-only. If a server doesn’t mark any of its tools, Read only blocks all of them; use Custom to pick tools instead. To see which coworkers can use an account, click it on the MCP tab and look under Coworker access. See How an AI coworker gets access.

Use MCP servers in chat

Ask for what you need. If you have several MCP accounts, name the one you mean.
Use the Linear MCP to list issues assigned to me that are due this week.
Check Sentry for new errors in the checkout service since yesterday’s deploy.
The coworker’s steps appear in its reply: In the coworker’s activity history, each tool call appears as “Ran MCP tool”. If the coworker needs a server you haven’t connected, it shows a Connect name card. Connecting from the card gives that coworker access right away. If you already have a matching Private account, the card shows Grant instead.

Reconnect an account

When the sign-in of an OAuth account expires, the account shows Needs auth and the coworker tells you it needs reconnecting. Reconnect it in place:
  • On the MCP tab, click the account, then Reconnect name.
  • Or click Reconnect on the Reconnect name card the coworker shows in its chat.
You sign in to the service again and come back to DuetAgents. The account keeps its settings, visibility and coworker access. Only the person who connected the account can reconnect it. In chat, the coworker tells anyone else who to ask. For a Token account, disconnect it and connect the server again with a new token, then give your coworkers access to the new account.

Disconnect an account

Open Connections, go to the MCP tab, click the account and click Disconnect name. Only the person who connected the account, or an Owner or Admin, can disconnect it.

Troubleshooting

The token or sign-in expired or was revoked, or the server can’t be reached. For an OAuth account, use Reconnect name. For a token account, disconnect it, connect the server again, then give your coworkers access to the new account.
The server doesn’t support OAuth discovery or dynamic client registration. Check whether the server accepts a token instead, and add it with Token authorization. If the problem persists, contact support@useduet.app.
Duet Agents only connects to MCP servers over HTTPS. Use the server’s https:// endpoint.
The coworker tells you which account is failing and what the error said. Check the account’s token or permissions in the service, then reconnect if needed.