AI courses in English and Dutch, with certificate AI literacy you can evidence under the EU AI Act Invoice in your employer's name, also for teams

Claude MCP: how to add MCP servers and connectors to Claude

Claude MCP: how to add MCP servers and connectors to Claude

Claude MCP refers to the connections that give Claude access to your files, email or software. Every connection runs on MCP (Model Context Protocol), the open standard for linking AI applications to other systems. How you add an MCP server to Claude depends on which Claude environment you use.

In claude.ai and the Claude apps, an MCP connection is called a connector. You can add a connector from the directory straight from that list. Your own remote MCP server goes in as a custom connector.

Claude Desktop can also run local MCP servers on your own computer, either through a desktop extension or through the claude_desktop_config.json configuration file. Claude Code adds both local and remote servers with the claude mcp add command in the terminal.

Developers connect a remote MCP server directly to the Claude API with the MCP connector. Each environment has its own plan requirements, connection permissions and ways to check that a connection works.

Which Claude MCP setup fits each Claude environment?

Each Claude environment supports its own type of MCP connection, and the difference between remote and local determines which route you take. A remote MCP server runs on the internet, and Claude connects to it from Anthropic’s cloud. A local MCP server runs as a program on your own computer.

The table below shows, for each Claude environment, the server type, where you set up the connection and who can add it.

EnvironmentMCP server typeWhere you set it upWho adds it
claude.ai, Claude Desktop chat, mobile appsRemotePlugins (formerly Customize), Connectors filterUser; on Team and Enterprise, the Owner
Claude DesktopLocalSettings > Extensions or claude_desktop_config.jsonUser
Claude CodeRemote and localclaude mcp add in the terminalUser
Claude APIRemotemcp_servers in the API requestDeveloper

A remote connection is tied to your account, so it works in every Claude app you sign in to. A local connection only works on the computer where the server runs.

How do you add an MCP connector in claude.ai?

You add an MCP connector in claude.ai through the Plugins page, on every plan from Free to Enterprise. Directory connectors can be connected directly, while your own remote MCP server is added as a custom connector. Since late November 2026 the former Customize page carries that name, and you filter the list there on Connectors; on Team and Enterprise, Anthropic is rolling the change out gradually from 30 November 2026.

On a Team or Enterprise plan, only an Owner or Primary Owner can add a custom connector for the whole organisation, through the Connectors page in the Plugins group of Organization settings. Members then find the connector on the Plugins page and click “Connect” to sign in with their own account.

How do you add a connector from the directory?

According to the Claude help centre, adding a connector from the directory takes five steps:

  1. Go to Plugins in the sidebar.
  2. Filter the list on Connectors.
  3. Open the connector you want to use and read the description.
  4. Click “Connect” or “Install”.
  5. Sign in to the service and complete the authorisation.

From a conversation, you reach the same directory through the “+” at the bottom left or by typing “/”. Then go to Connectors and choose “Manage connectors”. Connectors labelled Interactive show a live interface in the chat instead of plain text.

The directory only lists connectors that Anthropic has included, but the choice of MCP servers suited to different tasks is broader than that list. A custom connector fills the gap for services that offer their own remote MCP server.

How do you add a custom connector with a remote MCP server?

You add a custom connector using the URL of the remote MCP server. The steps, according to the Claude help centre:

  1. Go to Plugins, filter on Connectors and choose “Add custom connector”.
  2. Enter a name, which will appear in your list of connectors.
  3. Paste the URL of the remote MCP server and click “Continue”.
  4. Under Authentication, choose “Sign in now”, “Sign in when needed” or “No sign in”.
  5. Choose an option under OAuth client, or add an API key under Request headers if the server does not use OAuth.
  6. Click “Add”.

On the Free plan you can have one custom connector at most. Claude can only reach a remote MCP server that is publicly available on the internet, because the connection comes from Anthropic’s cloud rather than your own laptop. Anthropic does not verify custom connectors, so checking that the provider is trustworthy is up to you.

How do you turn on a connector in a chat?

You turn on a connector for each chat with the “+” at the bottom left of the input field, or by typing “/”. Then hover over Connectors and switch on each service you want Claude to use in that conversation.

Once you sign in, the connectors you have already connected are also available in the Claude mobile apps. According to the help centre, installing a new connector on mobile is still in beta, so the web and desktop versions remain the standard way to add one.

How do you add a local MCP server to Claude Desktop?

You connect a local MCP server to Claude Desktop with a desktop extension or with the claude_desktop_config.json configuration file. A desktop extension is the simplest route: no JSON, and it comes with a built-in Node.js environment. A configuration file gives you full control and suits servers that are not available as an extension.

Of the Claude apps, only Claude Desktop can start a local server on your computer, because the browser version of claude.ai does not run programs on your own system. Claude Code can do this too, through the terminal.

Sensitive extension settings, such as an API key, are stored in your operating system’s credential store: Keychain on macOS and Credential Manager on Windows.

How do you install a desktop extension?

You install a desktop extension in Claude Desktop through Settings > Extensions, in four steps:

  1. Open Settings > Extensions.
  2. Click “Browse extensions” and choose an extension that Anthropic has reviewed.
  3. Click “Install”.
  4. Fill in the requested settings, such as an API key.

A custom extension comes as a .mcpb file. You install it through Settings > Extensions, “Advanced settings”, the Extension Developer section and the “Install Extension…” button. On Team and Enterprise, Owners decide whether members may install public extensions, and they can upload custom extensions for the organisation.

How do you add a server through claude_desktop_config.json?

To add a server through claude_desktop_config.json, you open the file from the developer settings in Claude Desktop. The guide on modelcontextprotocol.io describes this route:

  1. Click the Claude menu in your system’s menu bar (not the settings inside the Claude window) and choose “Settings…”.
  2. Open the Developer tab and click “Edit Config”.
  3. Add the server under mcpServers and save the file.
  4. Quit Claude Desktop completely and restart the app.

On macOS the configuration file is at ~/Library/Application Support/Claude/claude_desktop_config.json, and on Windows at %APPDATA%\Claude\claude_desktop_config.json. The example below starts the filesystem server with access to two folders on a Mac:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/username/Desktop",
        "/Users/username/Downloads"
      ]
    }
  }
}

The name “filesystem” appears in Claude Desktop, “command” and “args” determine which program starts, and the paths are the folders the server can access. Replace username with the name of your own user account and always use absolute paths.

Servers that start with npx, such as this filesystem server, need Node.js installed on your computer. After the restart, you will find the server under “+” > Connectors > “Manage connectors”.

How do you add an MCP server in Claude Code?

You add an MCP server in Claude Code with the claude mcp add command in the terminal. Claude Code supports remote servers over HTTP and local servers over stdio. It saves each connection in a scope that determines where the server is available.

To use claude mcp add, you need a terminal where Claude Code is already installed and you are signed in. Every command below comes from the Claude Code MCP documentation.

How do you add a remote server with claude mcp add?

You add a remote server with claude mcp add and the –transport http option, followed by a name and the server URL:

claude mcp add --transport http notion https://mcp.notion.com/mcp

If the server needs a fixed key instead of OAuth, pass it with –header:

claude mcp add --transport http my-api https://api.example.com/mcp --header "Authorization: Bearer your-token"

For a server that uses OAuth, type /mcp in a Claude Code session and complete the sign-in step in your browser. The documentation describes the SSE transport as deprecated, so choose HTTP for remote servers wherever possible.

How do you add a local stdio server?

You add a local stdio server with claude mcp add, a name, two dashes and then the command that starts the server:

claude mcp add --env AIRTABLE_API_KEY=your-key --transport stdio airtable -- npx -y airtable-mcp-server

The two dashes separate the Claude Code options from the server command. Everything after -- goes to the server unchanged, so the server’s own options are not read as Claude Code options. After –env, always put another option, such as –transport stdio, before the server name. Otherwise Claude Code reads the name as an extra environment variable and rejects the command.

Which scope should you choose for an MCP server in Claude Code?

The scope of an MCP server in Claude Code determines which projects the server works in and who can see it. You set it with –scope:

  • local is the default: the server only works in the current project and is stored in ~/.claude.json.
  • project shares the server with your team through a .mcp.json file in the project root, which goes into version control.
  • user makes the server available in all your projects and is also stored in ~/.claude.json.

In an interactive session, Claude Code asks for approval before it uses a server from a shared .mcp.json. Keep API keys out of that shared .mcp.json by using a reference such as ${API_KEY}, which Claude Code fills in from the environment variable on your own computer.

How do you check that an MCP server works in Claude Code?

You check an MCP server in Claude Code with four commands:

  • claude mcp list shows all servers with their connection status.
  • claude mcp get name shows the details of a single server.
  • claude mcp remove name removes a server, including any stored OAuth tokens.
  • /mcp shows the status within a session and starts the sign-in for remote servers.

Claude Code warns you when the output of an MCP tool exceeds 10,000 tokens and applies a default maximum of 25,000 tokens. You can change that maximum with the MAX_MCP_OUTPUT_TOKENS environment variable, for example to 50000.

How do you use MCP through the Claude API?

You use MCP through the Claude API with the MCP connector, a beta feature of the Messages API. It connects a remote MCP server without you having to build your own MCP client. You specify the server in an mcp_servers list, reference it with an mcp_toolset in tools and send the beta header.

The MCP connector is part of the Claude API, so the connection runs through an API key and API usage rather than a claude.ai plan. A minimal request in Python looks like this:

import anthropic

client = anthropic.Anthropic()

response = client.beta.messages.create(
    model="claude-opus-5-5",
    max_tokens=1000,
    messages=[{"role": "user", "content": "Which tools do you have?"}],
    mcp_servers=[{
        "type": "url",
        "url": "https://example-server.modelcontextprotocol.io/sse",
        "name": "example-mcp",
        "authorization_token": "YOUR_TOKEN"
    }],
    tools=[{"type": "mcp_toolset", "mcp_server_name": "example-mcp"}],
    betas=["mcp-client-2025-11-20"]
)

According to Anthropic’s documentation, checked on 16 October 2026, the examples use the mcp-client-2025-11-20 header. The newer mcp-client-2026-09-15 header includes the same features plus the option to pin a server’s tool list. Anthropic recommends sending the newer header instead of the older one.

The MCP connector only supports tool calls, only works with servers that are publicly reachable over HTTPS and is not covered by zero data retention. You obtain and refresh any OAuth token for the server yourself.

Which Claude plan do you need for MCP?

You do not need a paid Claude plan for MCP connectors in claude.ai and Claude Desktop, but you do for Claude Code. The plan requirements, according to Anthropic:

  • Directory connectors work for all users in claude.ai, Claude Desktop, Cowork and the mobile apps.
  • Desktop extensions work for all Claude Desktop users.
  • Custom connectors work on Free, Pro, Max, Team and Enterprise, with one custom connector at most on Free.
  • Claude Code requires a Pro, Max, Team, Enterprise or Console account; the Free plan does not include access.
  • The MCP connector in the Claude API runs on API usage, separate from a claude.ai plan.

On Team and Enterprise, Owners decide which connectors and extensions are available, so a member may see fewer connections than the plan allows.

How do you control what an MCP connection in Claude can do?

What an MCP connection in Claude can do depends on your account permissions in the connected service and on the approvals you give in Claude. In a conversation, Claude asks for approval before a connector tool runs. The help centre advises clicking “Allow always” only for servers and tools you trust to run unsupervised.

On Team and Enterprise, an Owner sets tool permissions per connector for the whole organisation, under Plugins, in the connector’s “Tool permissions”. Claude groups the tools into categories there, such as read-only tools and tools that write or delete. For each category or tool, the Owner chooses “Always allow”, “Needs approval” or “Blocked”.

Members cannot override that choice. The restriction in Claude only narrows what Claude does and never grants more access than the account already has in the connected service. Setting tools that write or delete to “Needs approval” means Claude asks you to approve every change first.

In Claude Code, you are asked for permission before an MCP tool runs, unless you allow it in advance with a rule such as mcp__name in your permissions. The Claude help centre warns that a malicious server can hide instructions in its responses, so check what a tool receives and returns.

Why is my MCP server not showing up in Claude?

An MCP server usually fails to show up in Claude because of a configuration error, a server that cannot be reached or a missing restart. The cause differs by environment:

  • In Claude Desktop, check the JSON syntax of claude_desktop_config.json, use only absolute paths and quit the app completely before restarting.
  • Claude Desktop writes MCP logs to ~/Library/Logs/Claude on macOS and to %APPDATA%\Claude\logs on Windows; mcp.log contains connection errors, and mcp-server-name.log contains the output of a single server.
  • In Claude Code, claude mcp list shows which server is failing, and a server from .mcp.json only works after you approve it.
  • A custom connector in claude.ai only works with a publicly reachable server; a server on an internal network needs an allowlist of Anthropic’s IP addresses.
  • On Team and Enterprise, only an Owner adds custom connectors and decides which connections are available, so a missing connector may come down to admin settings.

Do claude.ai connectors also work in Claude Code?

Yes, your claude.ai connectors also work in Claude Code once you sign in to it with your claude.ai plan. Connectors you have connected under Plugins then appear automatically in /mcp, with no extra command.

If you sign in with an API key, Claude Code does not load these connectors. To turn them off, set disableClaudeAiConnectors to true, or start Claude Code with the ENABLE_CLAUDEAI_MCP_SERVERS environment variable set to false.

Can you import MCP servers from Claude Desktop into Claude Code?

Yes, you can move MCP servers from Claude Desktop to Claude Code with the claude mcp add-from-claude-desktop command. A dialogue then lets you choose which servers to import, and you check the result with claude mcp list.

According to the documentation, the import only works on macOS and in Windows Subsystem for Linux. Claude Code skips server names containing characters other than letters, numbers, hyphens and underscores, such as a space. The other selected servers are still imported.

Does a local MCP server work in Claude Cowork?

No, a local MCP server from claude_desktop_config.json does not work in Claude Cowork, nor in claude.ai. According to the Claude help centre, these local servers use your own network, so Cowork and claude.ai cannot reach them.

Remote connectors do work in Cowork, just as they do in claude.ai, Claude Desktop and the mobile apps. If you want a connection in every Claude environment, add it as a custom connector on a publicly reachable remote MCP server.

How do you learn to use Claude MCP connections for your work?

To use MCP connections in Claude for your work, start with one read-only connector and only expand once the answers are accurate. A connector to your email or documents lets Claude work with your actual files instead of text you paste into the chat.

The Claude Course shows you how to set up Claude with Projects, Skills and connectors for your own work, with a practical assignment in each module and a certificate in your name. A Claude MCP connection with a remote MCP server as a connector then works in claude.ai, Claude Desktop and, once you sign in with your plan, Claude Code.

Related articles