← All articles
MCP7 min read

Claude MCP Add: How to Add an MCP Server to Claude (Step by Step)

The exact steps to add an MCP server to Claude Desktop, Claude Code, or Claude.ai — plus what to check if the connection does not show up.

Adding an MCP server to Claude takes a few minutes once you know which Claude client you are using, since the setup differs slightly between Claude Desktop, Claude Code, and Claude.ai. This guide covers all three paths plus the most common reasons a connection fails to show up.
WalkthroughShort demo video slot

Upload your short product demo to /static/videos/what-is-mcp-article.mp4 and this section will show it on the page.

Add an MCP server in Claude Desktop, Claude Code, or Claude.ai
The exact command for claude mcp add
What to check if tools do not appear

Adding an MCP server in Claude Code

Claude Code adds MCP servers through a CLI command. For a remote server, the basic form is:

  • claude mcp add <name> --transport http <server-url>
  • For a local/stdio server: claude mcp add <name> -- <command> <args>
  • Claude Code stores the configuration in ~/.claude.json
  • Restart any open Claude Code sessions after adding a server for the tools to appear

Adding an MCP server in Claude Desktop

Claude Desktop reads MCP server configuration from a JSON config file rather than a CLI command. Open Claude Desktop settings, find the Developer or MCP section, and either edit the config file directly or use the in-app "Add connector" flow if the server supports remote connections.

For remote MCP servers specifically, most providers — including MCP Ads — support adding the server as a custom connector by URL directly inside Claude Desktop or Claude.ai, without touching a config file at all.

Adding a remote MCP server in Claude.ai

In Claude.ai, go to Settings → Connectors → Add custom connector, paste the MCP server URL, and approve the connection. For servers that require account authorization (like ad platforms), you will be prompted to connect each underlying account through browser-based OAuth after the server itself is added.

If the MCP server tools do not show up

This is the most common point of confusion after running claude mcp add or adding a connector. A few checks resolve most cases.

  • Restart the Claude session completely — a simple reload sometimes is not enough
  • Check that the server URL or command has no typos and that any required environment variables are set
  • For remote servers, confirm the OAuth/account-connection step was completed, not just the server-add step
  • Run claude mcp list (Claude Code) to confirm the server is registered before troubleshooting further

FAQ

What is the exact claude mcp add command?

For a remote server: claude mcp add <name> --transport http <server-url>. For a local command-based server: claude mcp add <name> -- <command> <args>. Run claude mcp add --help for the full option list.

Do I need to repeat claude mcp add every time I start Claude Code?

No. The configuration is saved to ~/.claude.json and persists across sessions — you only need to add it once per machine.

Is the setup different for Claude.ai versus Claude Desktop?

Both generally support adding a remote MCP server as a custom connector by URL through Settings. Claude Code is the outlier, using a CLI command instead of a settings UI.

Ready to connect your marketing stack?

Connect Google Ads, Meta Ads, GA4, and Search Console. Ask Claude anything about your accounts.