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.
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.
| Example | Type | Where it goes |
|---|---|---|
Klaviyohttps://mcp.klaviyo.com/mcp | Remote | Claude connector, or Claude Code with --transport http |
Canvahttps://mcp.canva.com/mcp | Remote | Claude connector, or Claude Code |
Google Search Console (community)npx -y mcp-google-search-console@latest | Local | Claude Desktop config, or Claude Code |
| Google Analytics (Google) | Local | Claude 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
- Go to Customize > Connectors.
- Click + Add, then Add custom connector.
- Enter a name and the server URL, then click Continue.
- Review the authentication settings Claude detected and click Continue.
- 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.
- 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.
- Click the Claude menu in your system's menu bar (not the settings inside the Claude window) and select Settings...
- 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
- macOS:
- 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"] } } } - Save the file, quit Claude Desktop completely, and open it again.
- 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
| Scope | Who can use it | Stored in |
|---|---|---|
local (default) | You, in the current project | ~/.claude.json |
project | Everyone working in the project | .mcp.json in the project, meant to be committed |
user | You, 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/Claudeon macOS or%APPDATA%\Claude\logson Windows.mcp.logcovers connections;mcp-server-NAME.logholds 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 listor/mcpto see which servers failed, andclaude mcp get NAMEfor 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.