Skip to content
KIRAT ●●○
How it works Evidence Pricing FAQ
EN
  • English
  • Deutsch
  • Español
  • Français
  • Português
Get Kirat
  1. Kirat
  2. Guides
  3. Install MCP servers
Answer A.10

How do I install an MCP server in Claude Desktop or Claude Code?

Short answer

In the Chat tab of the Claude app, a server packaged as a .mcpb file installs as a Claude Desktop extension: open Settings → Extensions, click Advanced settings, then Install Extension…, choose the file and enter its settings. In Claude Code, add a server with one command: claude mcp add <name> -- <command> for a program on your computer, or claude mcp add --transport http <name> <url> for a server on the internet. Then check it with /mcp. An extension in the Chat tab does not show up in Claude Code, so set up the server everywhere you use it.

Last checked: 2 November 2026 · By the Kirat team

Video: install an MCP server in Claude

Facts at a glance

Claude app, Chat tab
Settings → Extensions → Advanced settings → Install Extension…, then choose the .mcpb file
Claude Code, local server
claude mcp add <name> -- <command> [args…]
Claude Code, remote server
claude mcp add --transport http <name> <url>
Check
Claude Code: /mcp or claude mcp list; Claude app: Settings → Extensions
Remove
Claude Code: claude mcp remove <name>; Claude app: Settings → Extensions → the extension → Uninstall
Node.js
Not needed for .mcpb extensions, because the Claude app includes it; needed for npx commands in Claude Code
Checked
Against the Claude Help Center, the Claude Code documentation and the MCPB specification, 2 November 2026

Which way fits what you have

  • A .mcpb file (or an older .dxt file): a packaged extension for the Chat tab of the Claude app on macOS and Windows. Install it through the extension dialog, no terminal.
  • A command such as npx -y @example/mcp-server: a server that runs on your computer. In Claude Code, put the command after claude mcp add <name> --.
  • A URL such as https://mcp.example.com/mcp: a server on the internet. In Claude Code, use claude mcp add --transport http. In the Claude app you can add it as a custom connector at claude.ai/customize/connectors instead.
  • A JSON block under mcpServers, written for another app: in Claude Code, take the server's own entry, the part inside mcpServers, and pass it to claude mcp add-json <name> '<json>'.

Claude app: install a .mcpb file

  1. Update the Claude app, so you get the current extension dialog.
  2. Open Settings → Extensions. In newer versions of the app the same page is under Settings → Desktop app, then Manage next to Extensions.
  3. Click Advanced settings and, under Extension Developer, Install Extension…. Choose the .mcpb file. Dragging the file onto the Extensions page also works.
  4. The dialog shows what the extension is and which settings it needs. Fill them in, for example an API key, and click Install. Fields the extension marks as sensitive are stored in your operating system's secure storage: Keychain on macOS, Credential Manager on Windows.
  5. Start a new chat and ask Claude to use one of the extension's tools.

Extensions from the built-in directory (Browse extensions on the same page) update automatically. An extension installed from a file does not: for a new version, install the new .mcpb file.

The warning when you install from a file

For an extension installed from a file, the app warns that it is not verified by Anthropic. That is normal for every file outside the directory: it means Anthropic has not checked the extension, not that it is unsafe. An extension runs on your computer with the same permissions as your user account. Install files only from a source you trust, and check the settings it asks for before you continue. In companies, an administrator can switch file installs off or allow only listed extensions; then the dialog is missing or refuses the file.

Claude app without a .mcpb file

If a server comes only as a command or a JSON block, the Chat tab can still load it from its configuration file: in the app, open Settings → Developer → Edit Config, add the server under mcpServers, save, then quit the app completely and start it again. The file is claude_desktop_config.json, on macOS in ~/Library/Application Support/Claude/, on Windows in %APPDATA%\Claude\. Servers in this file also reach local sessions in the Code tab; a .mcpb extension does not. Unlike a .mcpb file, this needs the runtime the command uses, for example Node.js for npx.

Claude Code: claude mcp add for a local server

  1. Open a terminal and check that claude --version answers. The Claude app does not add this command; the setup guide shows how to install it.
  2. Add the server: claude mcp add example -- npx -y @example/mcp-server. Everything after -- is the command that starts the server, passed on untouched; without --, Claude Code would read the server's own flags as its options.
  3. Does the server need a key? Add it with --env after the name and before --: claude mcp add example --env API_KEY=your-key -- npx -y @example/mcp-server. If the name comes straight after --env, Claude Code reads it as another variable and refuses it. The key is saved in Claude Code's configuration file and can end up in your terminal's history. Never add a server with a key at project scope (below), because .mcp.json is often shared.
  4. On success Claude Code prints a line starting with Added. Start a new session and type /mcp to see the server and its tools.

Server names may contain only letters, numbers, hyphens and underscores.

Claude Code: a remote server

For a server on the internet, add its URL: claude mcp add --transport http notes https://mcp.example.com/mcp. If it signs in with your account, type /mcp in Claude Code, choose the server and follow the sign-in in the browser. If it uses a fixed token instead, add --header "Authorization: Bearer your-token"; the same caution as for keys applies. The older SSE transport is deprecated; current versions of Claude Code switch to it on their own when a server offers nothing else.

Where Claude Code stores the server

  • local (the default): only for you, and only in the project of the folder where you ran the command. Stored in ~/.claude.json.
  • user (--scope user): in all your projects, only for you. Also in ~/.claude.json.
  • project (--scope project): in the file .mcp.json in the project folder. Commit the file to share the server with everyone who works on the project. Claude Code asks each person to approve these servers before it uses them.

Servers in the Claude app's claude_desktop_config.json also load in local sessions of the Code tab, but not in Claude Code in a terminal; .mcpb extensions load in neither. On macOS and in WSL, claude mcp add-from-claude-desktop copies servers from that file into Claude Code.

Check, update and remove

  • claude mcp list shows every server with a status: Connected, Needs authentication or Failed to connect. claude mcp get <name> shows the details of one.
  • /mcp inside a session shows the tools of each server and lets you reconnect, sign in or switch a server off for the project.
  • claude mcp remove <name> deletes the server. For a remote server, claude mcp logout <name> beforehand also revokes the sign-in where the server supports it.
  • In the Claude app, open the extension under Settings → Extensions to change its settings or uninstall it.

Common problems

  • Claude doesn't know the tools: check where you installed the server. A .mcpb extension works in the Chat tab, not in Claude Code; a server added with claude mcp add works in Claude Code, not in the Chat tab. Start a new chat or session after installing.
  • Failed to connect: run the command after -- on its own in the terminal. If it fails there too, check the command itself, a missing runtime such as Node.js, and the keys or variables the server needs.
  • Pending approval: a server from a project's .mcp.json waits for your consent. Start claude in that folder and approve it.
  • A server in claude_desktop_config.json doesn't appear: the app reads the file only at start. Quit it completely, not just the window. Its logs are in ~/Library/Logs/Claude on macOS and in %APPDATA%\Claude\logs on Windows.
  • The extension dialog is missing: update the app, or ask your administrator whether extensions are switched off.

And Kirat?

The Kirat download contains both forms. In the Chat tab of the Claude app, you install the .mcpb file from the download exactly as described above. In Claude Code, you install Kirat as a Claude Code plugin rather than with claude mcp add: the plugin brings the same tools plus the templates such as /kirat:decide, and you enter your keys with /plugin configure instead of on the command line. The setup guide has separate steps for the Claude app, Claude Code on your computer and Claude Code cloud sessions.

Sources on this site

  • Setup guide: which Claude do you use?
  • Setup: Claude app, Chat tab
  • Setup: Claude Code on your computer
  • Where Kirat runs, and where it does not

Outside sources

  • Claude Help Center: getting started with local MCP servers on Claude Desktop
  • Claude Code documentation: connect Claude Code to tools via MCP
  • MCP Bundles (.mcpb): format and specification
  • Model Context Protocol: connect to local MCP servers
Get Kirat Watch a real decision →

More questions

  • How do I get a second opinion from ChatGPT and Gemini inside Claude?
  • What is an AI council, and when is it worth using one?
  • What is LLM Council, and how can you use one inside Claude?
  • Claude Code review: built-in skill, PR review, or a plugin that adds ChatGPT and Gemini?
  • What does it cost to let ChatGPT, Gemini and Claude vote on a question?
  • Does Kirat work in claude.ai, the Claude mobile app or Claude Code on the web?
  • Claude Desktop vs Claude Code: what is the difference, and which one do you need?
  • Where do my API keys and questions go when Claude asks ChatGPT and Gemini through Kirat?
  • How do I get an OpenAI API key and a Gemini API key?
  • Kirat, llm-council or PAL MCP: which multi-model tool fits?
  • How can I check an AI answer when I can't tell whether it is right?
  • How reliable is ChatGPT, and when should you check its answers?
  • Which AI is the best, and how do you choose one?
  • Claude vs ChatGPT vs Gemini: which is better? Our test with the same 10 tasks

Terms in this answer: Claude Desktop extension (.mcpb) · API key (bring your own) · Claude Code plugin · Claude Code cloud session

Terms explained in the glossary →

KIRAT ●●○

●●○ — two for, one against. Dissent, recorded.

Kirat — Listed on ToolPotion.ai

Who it's for

  • Agencies
  • Consultants
  • Freelance & solo
  • Research
  • Engineering leads
  • Small business
  • Personal decisions

Product

  • How it works
  • Pricing
  • FAQ
  • Guides
  • Glossary
  • Affiliates

Legal

  • Imprint
  • Privacy
  • Terms

© 2026 Kirat · This website was designed and built by Claude and Kirat 1.0.0

Claude is a trademark of Anthropic, ChatGPT and GPT are trademarks of OpenAI, and Gemini is a trademark of Google. Kirat is an independent product and is not affiliated with or endorsed by these companies.

  • English
  • Deutsch
  • Español
  • Français
  • Português