Claude

Claude MCP

Step by step: how to connect an MCP server to the Claude apps, Claude Desktop, Claude Code and the API, check that it works and fix it when it does not.

Short answer

Yes, Claude supports MCP in four places, set up four ways.

In the Claude apps you add a remote MCP server as a connector under Customize, then Connectors. Claude Desktop also runs local servers from a desktop extension or its claude_desktop_config.json file. Claude Code adds servers with claude mcp add in your terminal, and the API connects to remote servers through the MCP connector beta. A server added in one place does not appear in the others, except that claude.ai connectors also load in Claude Code.

Places to add a server

4Apps, Desktop, Code, API

Free plan: 1 custom
Tool

Add an MCP server to Claude, step by step

Checked November 8, 2026

Pick where you use Claude. Each option shows the exact steps from Anthropic’s docs and help center as they read today, and the one limit that most often decides whether it works.

Where you use ClaudeSteps from the official docs
  1. 01For a listed service, go to Customize, then Connectors, select the + button, pick the connector and select Connect. Sign in when the service asks.
  2. 02For any other remote server, add a custom connector: in Customize, then Connectors, select Add, then Add custom connector, type a name and the server URL, select Continue, check the sign-in settings Claude detected and select Add.
  3. 03Turn it on per chat: select the + button at the lower left of the chat box, hover over Connectors and switch the server on.
  4. 04Plans: custom connectors work on Free, Pro, Max, Ultra, Team and Enterprise. Free is limited to one custom connector. On Team and Enterprise only owners add them, in Organization settings, then Connectors.

The deciding limit: Claude reaches the server from Anthropic’s cloud, not from your computer, so the server must be reachable on the public internet. A server behind a VPN or company firewall will not connect.

  1. 01Easiest way: a desktop extension. Go to Settings, then Desktop app, select Manage next to Extensions, then Browse extensions, and select Install on the one you want.
  2. 02Have a .mcpb file? On the same page select Advanced settings, find Extension Developer, select Install Extension and pick the file.
  3. 03Manual way: in the Claude menu of your system menu bar choose Settings, then Developer, then Edit Config. Add the server under mcpServers with its command and args, using absolute paths.
  4. 04Quit Claude Desktop completely and open it again. Then select the + button in the chat box, then Connectors, and check that the server and its tools are listed.

The deciding limit: servers from the config file are local to Claude Desktop. Anthropic says they are not available in Cowork or on claude.ai.

  1. 01Remote server: in your terminal, not inside a session, run claude mcp add --transport http, then a name you choose, then the server URL.
  2. 02Local server: run claude mcp add, the name, any --env KEY=value pairs, then -- and the command that starts the server, for example npx -y with the package name.
  3. 03Choose the scope with --scope: local (the default, this project, just you), project (saved in .mcp.json for your team) or user (all your projects).
  4. 04Run claude mcp list and look for Connected. If it says Needs authentication, start claude, type /mcp, pick the server and sign in.

The deciding limit: a server added at the default local scope only loads in the project folder where you added it. Use --scope user to have it everywhere.

  1. 01Send the beta header anthropic-beta: mcp-client-2025-11-20, or mcp-client-2026-09-15, which adds pinning of the server’s tool list and replaces the older header.
  2. 02Add an mcp_servers array to the Messages API request: type url, a URL that starts with https://, a name, and an authorization_token if the server needs OAuth.
  3. 03In tools, add one entry of type mcp_toolset with mcp_server_name set to that name. Every server needs exactly one toolset.
  4. 04Limits from the docs: only tool calls are supported, the server must be public over HTTP, local stdio servers cannot connect, and the feature is not eligible for zero data retention.

You run the OAuth flow yourself and pass the token. For testing, the docs point to the MCP Inspector, which walks you through getting one.

claude mcp add --transport http claude-code-docs https://code.claude.com/docs/mcp

Does Claude have MCP support? Where Claude MCP servers work

Yes. MCP, the Model Context Protocol, is the open standard Anthropic created for connecting AI apps to tools and data. Anthropic’s help center says connectors work across Claude, Claude Desktop, Claude Code and the API. Each place has its own setup and its own list of servers, so a server you add in Claude Desktop’s config file is not visible on claude.ai. The table shows where each one is set up. Checked November 8, 2026.

Checked November 8, 2026
WhereHow you add a serverKind of server
Claude on the web, phone, CoworkCustomize, then ConnectorsRemote only
Claude DesktopConnectors, desktop extensions or claude_desktop_config.jsonRemote and local
Claude Codeclaude mcp add, or .mcp.jsonRemote and local
Claude APImcp_servers in the requestRemote, public HTTPS only

A remote server is a URL hosted by the service. A local server is a program on your computer that the app starts for you, usually with npx, uvx or a binary.

Claude MCP in the Claude apps: connectors and custom connectors

In Claude on the web, the desktop app, Cowork and the phone apps, an MCP server is called a connector. From Anthropic’s help center, read November 8, 2026:

From the directory. Go to Customize, then Connectors, select the + button next to Connectors, pick a service and select Connect. Adding connectors on mobile is in beta.

A custom connector. For any other remote server, add a custom connector in the same place: a name, the server URL, Continue, then the sign-in choice (Sign in now, Sign in when needed or No sign in). A server that takes an API key instead of OAuth gets it under Request headers. To change a custom connector later, you remove it and add it again.

Plans. Custom connectors are on Free, Pro, Max, Ultra, Team and Enterprise; Free users are limited to one. On Team only Owners and Primary Owners add them, under Organization settings, then Connectors. Members then select Connect, so each person signs in with their own account. A connector also has to be switched on per chat, from the + button, then Connectors.

Claude Desktop MCP: config file, JSON and desktop extensions

Claude Desktop is the only Claude chat app that also runs local servers. There are two ways to add one.

Desktop extensions (.mcpb). Anthropic’s help center calls them single-click installable packages for local MCP servers. Go to Settings, then Desktop app and select Manage next to Extensions (Settings, then Extensions in the older layout). Browse extensions lists the ones Anthropic reviewed; a .mcpb file you were given goes in through Advanced settings, then Install Extension. Claude Desktop ships with its own Node.js, and API keys are kept in Keychain on a Mac or Credential Manager on Windows.

The config file. For a server that only gives a JSON block in its README, the MCP project’s tutorial says: open the Claude menu in your system menu bar, choose Settings, then Developer, then Edit Config.

claude_desktop_config.json location, checked November 8, 2026
SystemConfig fileMCP logs
macOS~/Library/Application Support/Claude/claude_desktop_config.json~/Library/Logs/Claude
Windows%APPDATA%\Claude\claude_desktop_config.json%APPDATA%\Claude\logs
Linux~/.config/Claude/claude_desktop_config.json~/.config/Claude/logs

Each server is one entry under the mcpServers key: a name, the command that starts it and its args. The tutorial’s Filesystem example looks like this: {"mcpServers": {"filesystem": {"command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/folder"]}}}. Paths must be absolute. Save, then quit Claude Desktop completely and open it again: it only reads the file at startup.

Claude Code MCP: the claude mcp add command, scopes and .mcp.json

In Claude Code everything goes through the claude mcp commands, run in your terminal. These come from the Claude Code docs, read November 8, 2026.

  • Remote HTTP server, the transport the docs recommend: claude mcp add --transport http, a name, the URL. A token goes in with --header “Authorization: Bearer your-token”.
  • SSE server: SSE is deprecated. Recent versions try HTTP first and switch to SSE by themselves; --transport sse still works.
  • Local stdio server: claude mcp add, a name, then -- and the launch command. Everything after the double hyphen goes to the server untouched. Pass keys with --env KEY=value, and put another option such as --transport stdio between --env and the name.
  • A JSON block from a README: claude mcp add-json with a name and the object inside mcpServers, not the wrapper. If the entry has a url, add “type”: “http”, or Claude Code reads it as a local server and fails.
  • Servers you already set up in Claude Desktop: claude mcp add-from-claude-desktop opens a picker. It works on macOS and WSL only and skips names with spaces.

Server names may use only letters, numbers, hyphens and underscores. The scope decides where the server loads:

Claude Code MCP scopes, checked November 8, 2026
ScopeLoads inSaved in
local (default)This project, just you~/.claude.json
projectThis project, whole team via git.mcp.json in the project root
userAll your projects, just you~/.claude.json

Claude Code asks before it uses servers from a .mcp.json it has not seen; claude mcp reset-project-choices clears your earlier answers. A .mcp.json can read secrets from your environment with ${VAR} or ${VAR:-default}, so keys stay out of git. If the same name is in more than one scope, local wins, then project, then user.

Connectors you added on claude.ai also show up in Claude Code when you sign in with your claude.ai account, but not with an API key or a cloud provider such as Amazon Bedrock.

RelatedClaude in Chrome: plans, install and safety$20Anthropic’s browser extension, which also connects to Claude Code and Desktop.

Claude API: the MCP connector beta

The Messages API can call a remote MCP server directly, with no MCP client of your own. Per the MCP connector page of the Claude API docs, read November 8, 2026, it is a beta on the Claude API, Claude Platform on AWS, Google Cloud and Microsoft Foundry. You send the beta header (mcp-client-2025-11-20, or mcp-client-2026-09-15, which also lets you pin a server’s tool list so it cannot change mid-conversation), list servers in mcp_servers and enable each one with an mcp_toolset entry in tools.

What it does not do: only tools work, not prompts or resources; the server has to be public over HTTP; you handle OAuth yourself and pass the access token. The older mcp-client-2025-04-04 header is deprecated.

How to check that a Claude MCP server works

  1. 01Claude Code: run claude mcp list. Each server shows a status: Connected is ready, Needs authentication means sign in through /mcp or claude mcp login with the name, Failed to connect means it did not answer, and Pending approval means a .mcp.json server you have not approved yet. claude mcp get with the name shows the error detail.
  2. 02Inside a session: type /mcp to see each server and its tools, reconnect or sign in. Ask Claude to use the server by name: the tool call in the output carries that name.
  3. 03Claude Desktop and the apps: select the + button in the chat box, then Connectors, and open the server to see its tools.
  4. 04A safe first test: the docs server in the copy box above needs no sign-in.

Claude MCP not working: common errors and fixes

From the troubleshooting sections of the Claude Code quickstart and the MCP project’s Claude Desktop tutorial, read November 8, 2026:

  • No MCP servers configured. You added the server from another folder at local scope, or edited the wrong file. Claude Code reads only ~/.claude.json and the project’s .mcp.json, not files like ~/.claude/mcp.json. Re-add it in this project, or with --scope user.
  • Failed to connect. Read the detail with claude mcp get. Test the URL with curl -I: 404 or 405 means the server is up, 401 or 403 means you must sign in or pass a token, no reply means a wrong URL or network.
  • A local server will not start. Run its command by hand in a terminal. If it works there, compare it with claude mcp get: a missing -- before the command is a common cause.
  • Connection timed out at startup. The default is 30 seconds, and npx can be slow the first time. Start Claude Code with MCP_TIMEOUT=60000 claude.
  • Connected but no tools. Usually a missing environment variable such as an API key. Add it with --env or in the env field.
  • Claude Desktop: server missing. Restart the app fully, check the JSON syntax and that paths are absolute, then read mcp.log and the mcp-server log named after your server. On Windows, an ENOENT error about ${APPDATA} is fixed by adding your expanded APPDATA path to the server’s env.
  • Custom connector will not connect. The server must be reachable from Anthropic’s cloud, not just from your machine.

Are Claude MCP servers safe? Prompt injection and trust

Key pointConnect only servers you trust. Anthropic warns that a malicious MCP server can hide instructions that push Claude into actions you did not ask for, and that a server’s tools can change after an update.

Anthropic’s help center notes custom connectors can reach services it has not verified. Its advice: connect only servers built by organizations you trust, review the permissions a server asks for during sign-in, watch tool inputs and outputs, and choose Allow always only for a server and tool you trust to run unsupervised. The Claude Code docs add that servers which fetch outside content can expose you to prompt injection.

A local server runs with your user account’s permissions, so it can touch any file you can, as the MCP tutorial warns. On Team and Enterprise, owners can set each connector’s tools to Always allow, Needs approval or Blocked.

FAQ

Does Claude have MCP support?

Yes. Claude, Claude Desktop, Cowork and the phone apps use MCP servers as connectors, Claude Code adds them with claude mcp add, and the API has the MCP connector beta.

Is Claude MCP free?

Yes, within limits. Anthropic lists custom connectors on every plan including Free, but Free users are limited to one custom connector. Some servers also need an account or API key from their own service, like the Airtable example in the Claude Code docs.

What is the claude mcp add command?

It registers a server with Claude Code. For a remote server: claude mcp add --transport http, a name and the URL. For a local one: claude mcp add, a name, -- and the launch command. Add --scope user or --scope project to change where it loads.

What does claude mcp list show?

Every server Claude Code knows for this folder, with a status such as Connected, Needs authentication or Failed to connect.

What does claude mcp serve do?

It starts Claude Code as a local MCP server over stdin and stdout, so another MCP app can use Claude Code’s tools. A silent terminal means it is running and waiting for a client.

Where is the Claude Desktop MCP config file?

On a Mac at ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows at %APPDATA%\Claude\claude_desktop_config.json. Open it from Settings, then Developer, then Edit Config.

Can Claude Code use my Claude Desktop MCP servers?

Yes, by copying them: claude mcp add-from-claude-desktop imports the servers from the Desktop config on macOS and WSL. Connectors from claude.ai load in Claude Code automatically when you sign in with that account.

What does MCP stand for?

Model Context Protocol, the open standard Anthropic created for connecting AI apps to tools and data.

Sources

  1. Claude Code Docs, Connect Claude Code to tools via MCP, read November 8, 2026
  2. Claude Code Docs, Connect to MCP servers (MCP quickstart), read November 8, 2026
  3. Claude Help Center, Get started with custom connectors using remote MCP, read November 8, 2026
  4. Claude Help Center, Use connectors to extend Claude’s capabilities, read November 8, 2026
  5. Claude Help Center, Getting started with local MCP servers on Claude Desktop, read November 8, 2026
  6. Model Context Protocol docs, Connect to local MCP servers, read November 8, 2026
  7. Claude API Docs, MCP connector, read November 8, 2026

Spotted a mistake? Write to support@gptx.io and we will check it.

Keep reading