Claude MCP: how to add connectors in claude.ai, Claude Desktop and Claude Code
Claude connects to MCP servers in three ways: custom connectors for remote servers in claude.ai and the apps, a config file or extensions for local servers in Claude Desktop, and the claude mcp add command in Claude Code. This guide is for anyone setting one up and shows the steps for each, with a spreadsheet server as the example.
The short answer
Which route you take depends on where the server runs. A remote server has a URL, and you add it as a custom connector, which then works in claude.ai, Claude Desktop and the mobile apps. A local server is a program on your computer, and only Claude Desktop and Claude Code can start one.
People search for "Claude MCP" and "Claude connectors" as if they were two things, and they're mostly one. A connector is Claude's name for an MCP server it's hooked up to. A custom connector is a remote MCP server you add yourself by URL.
Custom connectors in claude.ai
Anthropic's custom connectors page says they're available on every plan including Free, with free users limited to one. The steps for a personal account:
- 1. Open Connectors. Anthropic's page puts it under Customize → Connectors, and the MCP docs describe it under Settings → Connectors, so look in both if your app has moved things.
- 2. Click + Add, then Add custom connector.
- 3. Paste the server's URL and click Continue.
- 4. Check the name Claude filled in.
- 5. Confirm the sign-in method: OAuth, API key or No sign-in.
- 6. Click Add, and sign in to the service if it asks.
- 7. In a chat, click the + button, open Connectors and switch it on for that conversation.
On Team and Enterprise
On Team and Enterprise plans an Owner adds the connector once under Organization settings → Connectors, and each member then finds it under Connectors and clicks Connect. Everyone signs in as themselves, so Claude only reaches what that person can reach.
One thing that surprises people is where the connection comes from. Anthropic says Claude reaches a remote server from its own cloud, not from your device, so the server has to be public on port 443. A server on localhost or behind your office VPN won't work as a custom connector, and that's the catch with trying to add a local tool this way.
Local servers in Claude Desktop
Claude Desktop can also start MCP servers on your own computer, and there are two ways in. The easier one is extensions: under Settings → Extensions you can browse Anthropic-reviewed tools and click Install, or install a .mcpb file someone gave you.
The manual one is the config file. Open the Claude menu in your system menu bar, choose Settings, go to the Developer tab and click Edit Config. That opens claude_desktop_config.json, where each server gets a name, a command and its arguments. Save, quit Claude Desktop fully and reopen it. The full walkthrough with the official Filesystem server is in Filesystem MCP server.
Claude Code
In Claude Code it's a command. From the Claude Code MCP docs:
- Remote server: claude mcp add --transport http <name> <url>. The docs call HTTP the recommended transport and SSE deprecated.
- Local server: claude mcp add <name> -- <command> [args...]. Everything after the two dashes is the server's own command.
- Sign in: run /mcp inside Claude Code, pick the server and finish the sign-in page that opens. claude mcp login <name> does the same from the shell.
- Scope: local (the default, just you in this project), project (saved to .mcp.json so your team gets it) or user (all your projects). Set it with --scope.
- Your claude.ai connectors show up in Claude Code too, so a connector you added on the web may already be there.
A worked example: a spreadsheet server
Here's the whole thing with Fileshape, which turns CSV, Excel and PDF tables into something Claude can query. After adding a file on your files page, the URL to paste is:
https://mcp.fileshape.app/mcp
In claude.ai, add it as a custom connector and keep the sign-in on OAuth. Claude sends you to Fileshape, you sign in and choose which files Claude may read, and that's it. In Claude Code the same thing is:
claude mcp add --transport http fileshape https://mcp.fileshape.app/mcp
followed by /mcp to sign in. Then ask something like "what did I spend per month last year?" and Claude calls the aggregate tool, which adds up every row on the server and returns the totals. Since a free Claude account gets one custom connector and Fileshape puts all your files behind one URL, the two fit together without an upgrade on either side.
If you're building your own app on the Claude API instead, the Messages API has an MCP connector that takes the same URL. There are copyable snippets in the docs.
A few cautions from Anthropic's page
Custom connectors aren't verified by Anthropic, so the advice is to connect only to servers you trust and to read tool approval requests before clicking Allow always. Research mode can call connector tools without asking again, so Anthropic suggests switching off tools that write while you use it.
On privacy, Anthropic says raw content from connectors isn't used for model training unless you copy it into the chat yourself. That's better than I expected, though the answers Claude writes from that content are still part of your conversation. The rest of the policy is in Does Claude train on your data?
Ask AI about this file
Ask ChatGPT, Claude or Cursor about your file. Fileshape cleans it, masks personal columns and gives your AI one link, so totals come from every row.
FAQ
Questions
What is Claude MCP?
MCP (Model Context Protocol) is the open standard Claude uses to call outside tools and data sources. An MCP server exposes tools, and Claude connects to it as a connector, a desktop extension or a Claude Code server.
Are Claude connectors the same as MCP servers?
Mostly, yes. A connector is an MCP server that Claude is connected to. Custom connectors are remote MCP servers you add by URL.
Can free Claude accounts use MCP?
Yes. Anthropic's help page says custom connectors are available on Free, with free users limited to one custom connector.
Can claude.ai connect to an MCP server on my computer?
Not as a custom connector. Claude reaches remote connectors from Anthropic's cloud, so the server must be public. Local servers run through Claude Desktop or Claude Code.
Where is the Claude Desktop MCP config file?
It's claude_desktop_config.json. On macOS it's in ~/Library/Application Support/Claude/, on Windows in %APPDATA%\Claude\. Settings → Developer → Edit Config opens it.
How do I add an MCP server to Claude Code?
Run claude mcp add --transport http <name> <url> for a remote server, or claude mcp add <name> -- <command> for a local one. Then run /mcp to check it and sign in.
More from the blog
Keep reading
- ChatGPT MCP: how to add an MCP server (what used to be a custom connector)Which ChatGPT plans can add a custom MCP server, the steps on the Plugins page, sign-in options and limits, with a spreadsheet server as the example.
- Filesystem MCP server: what it is, how to set it up, and where it stopsWhat the official Filesystem MCP server does, the Claude Desktop config for it, its tools and limits, and what to use in claude.ai or ChatGPT instead.
- The best MCP servers for files, by what you need them to doAn honest list of MCP servers for files, picked by job: local folders, CSV and Excel, Google Sheets, PDFs, databases and cloud drives.
- Remote MCP servers: how they differ from local ones and how to connect to oneLocal vs remote MCP servers explained: stdio vs Streamable HTTP, OAuth vs API keys, which AI apps accept a remote server, and a real one to try.
Updated 2026-12-06