How to Set Up MCP Servers in Claude (2026): Step-by-Step for Beginners

How to set up MCP servers in Claude – Daily Dose Of AI

Quick answer: there are three ways to add an MCP server to Claude in 2026. Click-install a desktop extension (easiest, no code), add a custom connector with a URL (for online tools), or edit claude_desktop_config.json (for any local server). Claude Code users get a one-line claude mcp add command. This guide walks through all four, with copy-paste examples and fixes for the usual errors.

New to MCP itself? Read our explainer first: Model Context Protocol (MCP) Architecture – The New AI Standard. In one line: MCP is the “USB-C port for AI”. It’s one standard plug that lets Claude talk to your files, apps and databases.

What is an MCP server, in plain English?

Think of Claude as a very smart new employee who sits in a locked room. It can think, but it can’t open your folders, check your Notion or read your database. An MCP server is a small program that hands Claude a set of tools, like “read file”, “search pages” or “create issue”. Claude can then use those tools when you ask, and only with your approval.

  • Local MCP server: runs on your own computer (for example, access to your Desktop folder).
  • Remote MCP server: runs on the internet, usually from the app’s company (for example, Notion, Stripe, HubSpot). You connect with a URL and a login.

Which method should you use?

MethodBest forNeeds coding?Where
1. Desktop extension (.mcpb)Beginners, popular local toolsNoClaude Desktop
2. Custom connector (URL)Online apps with a remote MCP serverNoClaude web + Desktop
3. claude_desktop_config.jsonAny local server not in the directoryA little JSONClaude Desktop
4. claude mcp addDevelopers using Claude CodeTerminalClaude Code

Method 1: Install a desktop extension (one click, no code)

Desktop extensions are ready-made bundles of an MCP server. They use the .mcpb file extension, which replaced the older .dxt in September 2025. Claude Desktop ships with its own Node.js, so you don’t need to install anything else.

  1. Install or update Claude Desktop (macOS, Windows or Linux).
  2. Open Settings → Desktop app and click Manage next to Extensions. In older versions this is Settings → Extensions.
  3. Click Browse extensions, pick an Anthropic-reviewed tool and click Install.
  4. Fill in any settings it asks for, such as an API key or the folder it may access. Fields marked sensitive are stored encrypted.
  5. Start a new chat. The tools are available right away.

Got a .mcpb file from a developer you trust? Double-click it, or use Advanced settings → Install Extension… on the same page.

Method 2: Add a custom connector (remote MCP server)

Many apps now host their own MCP server at a URL (it usually ends in /mcp). Custom connectors work in Claude on the web and in the desktop app.

  1. Open Settings → Connectors.
  2. Click Add → Add custom connector.
  3. Paste the server URL. To practise, use the official demo server: https://example-server.modelcontextprotocol.io/mcp.
  4. Click Add, then finish the login (usually OAuth, the “Sign in with…” screen).
  5. Click the connector again to switch individual tools on or off. Keep “delete” or “send” tools off until you trust the connector.

To use it, click the + button in the chat box and open Connectors. Your server and its tools appear there.

Method 3: Edit claude_desktop_config.json (any local server)

This is the classic method, and it still works for any server, including ones you build yourself. Here we connect the official Filesystem server so Claude can read and organise two folders.

Step 1: check Node.js. Open a terminal and run the command below. If it fails, install the LTS version from nodejs.org.

node --version

Step 2: open the config file. In Claude Desktop, go to Settings → Developer → Edit Config. If the file doesn’t exist yet, this creates it. It lives here:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Step 3: paste this, replacing username with your computer’s username:

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

On Windows, write the paths like this: "C:\\Users\\username\\Desktop" (double backslashes).

What each part means: "filesystem" is just a nickname. npx -y downloads and runs the server package. The folders at the end are the only places Claude may touch.

Step 4: fully quit and reopen Claude Desktop. Closing the window isn’t enough; quit from the menu bar or system tray.

Step 5: test it. Try: “List the PDFs in my Downloads folder and suggest how to organise them.” Claude will ask your permission before each action.

Adding a second server? Add another entry inside mcpServers, separated by a comma. API keys go in an "env" block, never in the args:

{
  "mcpServers": {
    "filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/username/Desktop"] },
    "airtable": {
      "command": "npx",
      "args": ["-y", "airtable-mcp-server"],
      "env": { "AIRTABLE_API_KEY": "paste-your-key-here" }
    }
  }
}

Method 4: Claude Code, the one-line way

If you use Claude Code in the terminal, you don’t edit JSON. You run one command:

# Remote server (HTTP)
claude mcp add --transport http notion https://mcp.notion.com/mcp

# Local server (stdio) – everything after -- is the command that starts it
claude mcp add --env AIRTABLE_API_KEY=YOUR_KEY --transport stdio airtable -- npx -y airtable-mcp-server

# Check, inspect, remove
claude mcp list
claude mcp get notion
claude mcp remove notion

Scopes decide who sees the server. They’re set with --scope:

  • local (default): only you, only this project.
  • project: saved in .mcp.json so your whole team gets it through Git.
  • user: you, in every project.

Inside Claude Code, type /mcp. From there you can see connection status, log in to OAuth servers, or switch a server off.

5 useful MCP servers to start with

  • Filesystem: organise, search and summarise local files.
  • GitHub: read issues and pull requests, and review code.
  • Notion / Google Drive: ask questions across your notes and docs.
  • A database server (Postgres, SQLite): ask questions about your data in plain English.
  • A browser tool (Playwright, etc.): let Claude test web pages.

Browse more in the official MCP Registry.

Troubleshooting: “my MCP server isn’t showing up”

  1. Quit Claude Desktop completely and reopen it. This fixes most cases.
  2. Check your JSON. A missing comma or an extra bracket breaks the whole file. Paste it into any JSON validator.
  3. Use absolute paths, such as /Users/ashish/Desktop, not ~/Desktop or ./Desktop.
  4. Run the server by hand in a terminal to see its real error:
    npx -y @modelcontextprotocol/server-filesystem /Users/username/Desktop
  5. Read the logs. On macOS they’re in ~/Library/Logs/Claude, and on Windows in %APPDATA%\Claude\logs. mcp.log covers connection problems, and mcp-server-NAME.log shows that server’s own output.
  6. Windows ENOENT error mentioning APPDATA? Add an "env": {"APPDATA": "C:\\Users\\username\\AppData\\Roaming"} block to that server and install npm globally (npm install -g npm).

Stay safe: 4 rules before you connect anything

  • Trust the source. A local MCP server runs with your user permissions. Only install servers from official vendors or the reviewed directory.
  • Give the smallest access. Share one project folder, not your whole drive.
  • Read every approval prompt. Claude asks before acting, so don’t click “Allow” on autopilot.
  • Keep keys out of shared files. Never commit API keys inside .mcp.json to GitHub.

FAQ

Is MCP free? Yes. MCP is an open standard and most servers are open source. Some connected services (a paid SaaS, for example) need their own account.

Do I need to know coding? No, not for Methods 1 and 2. Method 3 needs basic JSON copy-paste, and Method 4 needs the terminal.

MCP vs Skills: what’s the difference? MCP gives Claude access to tools and data. Skills teach Claude how to do a task well. Together they make Claude act like a real agent.

Does MCP work with ChatGPT or other tools? Yes. MCP is supported by many AI apps and editors, so a server you set up once can be reused elsewhere.

Your next step

Do it today: install Claude Desktop, add the Filesystem server with Method 3, and ask Claude to tidy your Downloads folder. Ten minutes from now you’ll have your first working AI agent. Want the bigger picture? Read Building blocks of AI Agents next.

2 thoughts on “How to Set Up MCP Servers in Claude (2026): Step-by-Step for Beginners”

Leave a Reply

Your email address will not be published. Required fields are marked *