How to add an MCP server to Claude

Where you add an MCP server in Claude depends on where the server runs. A remote server, which is a URL, goes into Claude on the web or the desktop app as a custom connector. A local server, which is a command that runs on your computer, goes into Claude Desktop's config file or into Claude Code. Every step below comes from Anthropic's docs and links to them.

Published Oct 26, 2026By MCP Marketing Hub

First, is your server remote or local?

The vendor's docs tell you. If they give you a URL, usually ending in /mcp, it's remote. If they give you a command such as npx, uvx or docker run, it's local.

ExampleTypeWhere it goes
Klaviyohttps://mcp.klaviyo.com/mcpRemoteClaude connector, or Claude Code with --transport http
Canvahttps://mcp.canva.com/mcpRemoteClaude connector, or Claude Code
Google Search Console (community)npx -y mcp-google-search-console@latestLocalClaude Desktop config, or Claude Code
Google Analytics (Google)LocalClaude Desktop config, or Claude Code

Each server in our directory shows which type it is and links to the vendor's setup page.

Add a remote server in Claude (web and desktop)

Custom connectors work on Free, Pro, Max, Team and Enterprise plans. Free accounts are limited to one.

Pro and Max

  1. Go to Customize > Connectors.
  2. Click + Add, then Add custom connector.
  3. Enter a name and the server URL, then click Continue.
  4. Review the authentication settings Claude detected and click Continue.
  5. Under Authentication, choose to sign in now, sign in when needed, or no sign-in. If the server uses an API key instead of OAuth, add it under Request headers.
  6. Click Add.

Team and Enterprise

An owner adds the connector once for the organization at Organization settings > Connectors: click Add, hover over Custom, select Web, then enter the name and URL. Each member then opens Customize > Connectors, finds the connector and clicks Connect to sign in with their own account.

Use it in a chat

Click the + button at the lower left of the chat, then Connectors, and turn on the ones this conversation needs.

Source: Getting started with custom connectors using remote MCP, Anthropic Help Center.

Add a local server in Claude Desktop

Local servers often need Node.js installed, since most start with npx. Check with node --version in a terminal.

  1. Click the Claude menu in your system's menu bar (not the settings inside the Claude window) and select Settings...
  2. Open the Developer tab and click Edit Config. This opens or creates the config file:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add the server under mcpServers. For the community Google Search Console server, that looks like this:
    {
      "mcpServers": {
        "google-search-console": {
          "command": "npx",
          "args": ["-y", "mcp-google-search-console@latest"]
        }
      }
    }
  4. Save the file, quit Claude Desktop completely, and open it again.
  5. To confirm it loaded, click Add files, connectors, and more at the lower left of the message box, hover over Connectors and click Manage connectors. The server and its tools should be listed.

Servers added this way only exist in the desktop app on that computer. They don't appear on claude.ai or in Cowork.

Source: Connect to local MCP servers, modelcontextprotocol.io.

Add a server in Claude Code

Claude Code handles both types from the command line.

Remote server

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

If the server uses OAuth, start Claude Code, run /mcp and follow the browser sign-in. For a server that takes an API key, add --header "Authorization: Bearer YOUR_KEY".

Local server

claude mcp add --transport stdio --scope user google-search-console \
  -- npx -y mcp-google-search-console@latest

Everything after -- is the command that starts the server. Pass keys with --env NAME=value.

Pick a scope

ScopeWho can use itStored in
local (default)You, in the current project~/.claude.json
projectEveryone working in the project.mcp.json in the project, meant to be committed
userYou, in every project~/.claude.json

Check and remove servers

claude mcp list
claude mcp get klaviyo
claude mcp remove klaviyo

Inside a session, /mcp shows each server's status.

Source: Connect Claude Code to tools via MCP, Claude Code docs.

Where ChatGPT and Cursor differ

ChatGPT

ChatGPT connects to remote servers only, over streamable HTTP or OpenAI's Secure MCP Tunnel. OpenAI's developer docs describe the flow: in ChatGPT Plugins, select the plus button, then Add custom MCP server, enter a name, a description and the URL including /mcp, set up authentication, accept the risk warning, and select Create as a plugin.

Which plans can do this has changed several times. OpenAI's help center describes it for Business and Enterprise/Edu workspaces, where admins and owners add the server. Check the current help article for your plan before you start.

Source: Connect and test your plugin, OpenAI developer docs.

Cursor

Cursor reads servers from mcp.json: .cursor/mcp.json in a project, or ~/.cursor/mcp.json for every project. Remote servers take a url, local ones a command and args:

{
  "mcpServers": {
    "klaviyo": { "url": "https://mcp.klaviyo.com/mcp" },
    "google-search-console": {
      "command": "npx",
      "args": ["-y", "mcp-google-search-console@latest"]
    }
  }
}

Official plugins from the Cursor Marketplace install from the Customize page with one click and sign in with OAuth.

Source: Model Context Protocol, Cursor docs.

If the server doesn't connect

  • Claude Desktop: check the config file for a missing comma or bracket, and use absolute paths. Then read the logs in ~/Library/Logs/Claude on macOS or %APPDATA%\Claude\logs on Windows. mcp.log covers connections; mcp-server-NAME.log holds the server's own errors.
  • Run the command yourself. Paste the server's command into a terminal. If it fails there, the problem is the server or Node.js, not Claude.
  • Claude Code: run claude mcp list or /mcp to see which servers failed, and claude mcp get NAME for the details.

Once it works, the Claude for marketing guide has prompts to try with SEO, ads, email and analytics servers.

Questions

Can I add an MCP server on the free Claude plan?

Yes. Anthropic's help center says Free users can add one custom connector. Paid plans can add more.

Why doesn't my local server show up on claude.ai?

Servers in claude_desktop_config.json run on your computer and only appear in the Claude Desktop app. Claude on the web and Cowork only see remote servers added as connectors to your account.

What is the difference between a connector and an MCP server?

A connector is Claude's name for a remote MCP server added to your Claude account. The server is the same thing; the connector is your saved link to it, with its sign-in.

Is SSE still supported in Claude Code?

Anthropic's Claude Code docs mark the SSE transport as deprecated and recommend HTTP servers where available. Use --transport http unless the vendor only offers SSE.

More guides

All guides

An MCP server is a layer an AI assistant uses to call an API. What that changes for reporting, ad accounts and email data, and when a script still wins.

Six marketing workflows that need Claude to read your accounts, the MCP servers behind each, and what to check before you let it write.