MCP connector: what it is and how to add one
An MCP connector is a remote MCP server added to an AI app by its URL. This guide covers adding one in Claude, ChatGPT, Cursor and Claude Code, a tested call to the Claude API's MCP connector with token counts, and how to keep a connector from deleting things.

An MCP connector is a remote MCP server that an AI app reaches by URL, so the model can call that server's tools: read a Linear issue, search Gmail, post in Slack. You add one by pasting the server's address into Claude, ChatGPT or another client, or, in the Claude API, by passing it in the mcp_servers parameter.
The word means three slightly different things depending on who says it. This guide sorts them out, shows how to add a connector in the common clients, and runs the Claude API's MCP connector for real, with the token counts it billed. Everything below was checked on November 30, 2026.
What an MCP connector is
MCP (Model Context Protocol) is the open standard that lets a model call tools on a server. A connector is the piece that links an AI app to one of those servers. You'll see the word used three ways:
- A connector in Claude or ChatGPT: a remote MCP server added to the chat app by URL, usually with OAuth sign-in. You add it in the app's connector settings.
- The MCP connector in the Claude API: Anthropic's Messages API feature that connects to a remote MCP server for you, from Anthropic's side. You set it in the
mcp_serversandtoolsparameters of a request. - A vendor's "MCP connector": the vendor's own MCP server for its product (Linear, Notion, MuleSoft and others). Their docs give you the URL to add.
All three come down to the same thing: a URL that speaks MCP, and a client that connects to it and hands its tools to the model.
How to add an MCP connector
Every client asks for the same two things: the server's URL, and a sign-in (OAuth for most hosted servers, an API key for some). The steps below use Corsair's address, https://mcp.corsair.dev/mcp, as the example. Swap in the URL of any remote MCP server.
- Claude (web and desktop): Open Plugins, select Add, then Add custom connector. Paste the URL, keep the detected settings, select Add, then sign in. On Team and Enterprise plans an owner adds connectors under Organization settings.
- ChatGPT: Add a custom MCP server, paste the URL, choose OAuth and sign in.
- Claude Code:
claude mcp add --transport http corsair https://mcp.corsair.dev/mcp, then/mcpto sign in. - Cursor: Add
{"mcpServers": {"corsair": {"url": "https://mcp.corsair.dev/mcp"}}}to~/.cursor/mcp.json. Cursor opens the sign-in on first connect. - Codex:
codex mcp add corsair --url https://mcp.corsair.dev/mcp
Two catches. In ChatGPT on personal plans, a custom server currently gets only its read tools, so it can look things up but not change anything; write tools need a Business or Enterprise/Edu workspace where an admin adds the server (OpenAI's guide has the current rules). And Claude's menu names move often; our Claude connectors guide and Claude Code MCP guide go through each client in more detail.
The MCP connector in the Claude API
The Claude API version is for developers: you name a remote MCP server in the request, Anthropic's servers connect to it, list its tools, and run the tool calls the model makes. You write no MCP client and no tool loop. It's a beta, so every request carries a beta header (mcp-client-2025-11-20), and it needs two parameters together: the server in mcp_servers, and an mcp_toolset entry in tools that names it.
We ran it against DeepWiki's public MCP server, which needs no sign-in and has three tools:
import anthropic
client = anthropic.Anthropic()
response = client.beta.messages.create(
model="claude-opus-5-5",
max_tokens=4000,
betas=["mcp-client-2025-11-20"],
mcp_servers=[
{"type": "url", "url": "https://mcp.deepwiki.com/mcp", "name": "deepwiki"}
],
tools=[{"type": "mcp_toolset", "mcp_server_name": "deepwiki"}],
messages=[{
"role": "user",
"content": "Using the DeepWiki tools, what transports does the "
"modelcontextprotocol/modelcontextprotocol repo describe?",
}],
)
for block in response.content:
print(block.type)The reply came back with an mcp_tool_use block (Claude called ask_wiki_question with the repo name and a question), an mcp_tool_result block with DeepWiki's answer, and a text block that summed it up: stdio and Streamable HTTP, with the older HTTP+SSE transport deprecated. One request, no loop on our side.
Then we measured what each setup billed, same question, Claude Opus 5.5 at low effort:
- No MCP server: 56 input tokens, no tool call, 4.4 s.
- DeepWiki, all 3 tools: 2,162 input tokens (2,213 on a second run), 1 tool call, 13.3 s (19.3 s).
- DeepWiki, allowlist of the one tool used: 1,639 input tokens, 1 tool call, 14.0 s.
- Allowlist with a misspelled tool name: 56 input tokens, no tool call and no error, 4.7 s.
- Corsair's server with no token: a 400 error before any tool call.
The input count includes the tool definitions and the text DeepWiki sent back, so it isn't all overhead. Still, turning off the two unused tools cut about 520 tokens from every request, and that adds up when a server has 40 tools instead of 3.
The misspelled allowlist is the one to watch. We wrote ask_question instead of ask_wiki_question, and the API returned a normal answer: no tools enabled, no error, and Claude answered from memory while saying it had no DeepWiki tools. Anthropic's docs confirm this is by design: an unknown tool name in configs logs a warning on their side and nothing on yours. Check the tool names against the server's own list before you ship an allowlist.
To allowlist, turn everything off by default and switch on what you need:
tools=[{
"type": "mcp_toolset",
"mcp_server_name": "deepwiki",
"default_config": {"enabled": False},
"configs": {"ask_wiki_question": {"enabled": True}},
}]What the API's connector can't do
- Tools only. It supports MCP tool calls, not prompts or resources.
- Remote servers only. The server has to be reachable over HTTP (Streamable HTTP or SSE). A local stdio server can't be connected; run it through the SDK's MCP helpers in your own code instead.
- You bring the token. For a server behind OAuth, you pass an access token as
authorization_token, and getting it and refreshing it is your job. Our request to Corsair's server without one failed with400 invalid_request_error: "Authentication error while communicating with MCP server." - Not zero data retention. Anthropic lists the feature as not eligible for ZDR.
A newer beta header, mcp-client-2026-09-15, adds tool-list pinning: the API records the tools a server returned, so a server that changes its tools partway through a conversation doesn't change what Claude sees.
What a connector can do to your accounts
A connector's tools act with your login. Most are harmless reads, but plenty aren't. Corsair labels every operation in its catalog as read, write or destructive. In the catalog generated on November 29, 2026:
- 836 apps and 41,529 operations
- 21,599 reads (52%), 12,799 writes (31%) and 7,131 destructive operations (17%)
- 555 of the 836 apps (66%) have at least one destructive operation: a delete, a cancel, a refund, a revoke
So two out of three apps you might connect can lose data through some tool. The risk labels are Corsair's own, but the pattern holds for any connector: the more apps behind one URL, the more delete buttons the model can reach.
Three places to put a stop on that:
- In the client. Most clients ask before running a tool that isn't marked read-only, unless you've told them not to. Keep that on for write tools.
- In the API. Use an allowlist, or a denylist of write and destructive tools, in the
mcp_toolset. - On the server. A server that checks every action itself holds no matter which client or setting the model runs under. Corsair's server does this with a mode per link:
- Read: Reads only. Writes are refused.
- Cautious (default): Writes go through. A destructive action needs your approval.
- Strict: Every write needs your approval. Destructive actions are refused.
- Open: Everything, without asking.
When an action needs approval, you get a link that shows exactly what will run and with which arguments, and one approval covers that one action once.
One connector for many apps
Most MCP servers cover one product, so a team that uses Gmail, Slack, Linear and GitHub ends up adding four connectors, signing in four times, and carrying four sets of tool definitions in every request. Corsair's MCP server is one address for every app you've connected to Corsair. You add https://mcp.corsair.dev/mcp once, sign in, and pick a link: a set of connected apps plus one of the modes above.
Instead of one tool per operation, the agent gets a short list of general tools: search for questions about your data, list_operations to find an action, read_data for live reads, and run_script to make changes. Scripts run in a sandbox that can only call your connected apps' actions, and the agent never sees your app credentials. Corsair stores the tokens and refreshes them, which is the part the Claude API leaves to you.
When an MCP connector is the wrong choice
- Your data is on your machine. Remote connectors can't read local files. Use a local stdio server in Claude Desktop, Claude Code or Cursor.
- The agent does one fixed job. If it only ever creates a Jira ticket, a single tool definition in your own code is smaller and easier to test than a whole server.
- Context is tight. Every enabled tool costs tokens on every request. Our Claude usage limits test measured six MCP servers at 79,652 tokens per request. Turn off what you don't use.
- You need ChatGPT to write on a personal plan. Custom servers there get read tools only for now.
Corsair has its own limits: one connection uses one link, so switching to a link with a different mode means removing the connector and adding it again.
FAQs
Is an MCP connector the same as an MCP server?
Nearly. The server is the program that exposes tools over MCP. The connector is the link between an AI app and that server: the URL, the sign-in and the settings for which tools are on. People often use the two words for the same thing.
Can the Claude API's MCP connector use a local MCP server?
No. It connects from Anthropic's servers, so the MCP server has to be reachable on the internet over Streamable HTTP or SSE. For a local stdio server, connect to it in your own code with an MCP client and pass its tools to the API as ordinary tools.
How do I authenticate an MCP connector in the Claude API?
Pass an OAuth access token as authorization_token in the server's entry in mcp_servers. The API doesn't run the OAuth flow or refresh the token, so your app has to do both. For testing, Anthropic suggests getting a token with the MCP Inspector (npx @modelcontextprotocol/inspector).
Does a ChatGPT MCP connector work on a personal plan?
Yes, but on personal plans ChatGPT currently uses only the read tools from a custom MCP server, so it can look things up but not make changes. Write tools need a Business or Enterprise/Edu workspace where an admin adds the server.
How do I stop an MCP connector from deleting things?
Leave tool approvals on in the client, and in the Claude API allowlist only the tools you need or denylist the write and destructive ones. For a stop the model can't route around, use a server that checks each action itself, such as Corsair's Cautious or Strict modes, which hold deletes for a person's approval.
How many tokens does an MCP connector add to a request?
It depends on how many tools the server has and how long their descriptions are. In our test, DeepWiki's three tools took a request from 56 to 2,162 input tokens, including the tool's reply, and allowlisting the one tool we used brought it down to 1,639.
Try it
Add https://mcp.corsair.dev/mcp to Claude, ChatGPT, Cursor or Claude Code and connect your apps from hub.corsair.dev. If you're building connectors into your own product, start with Corsair's MCP docs.