Black Friday: 30% off Pro for life · until Tue 1 DecBlack Friday 30% off Pro · until 1 Dec
For creatorsMake videos about AI coding? Earn 50% for life.Earn 50% for life.Become a Morphy creatorJoin →
morphy

Claude Code MCP servers missing in some chats? Three fixes

MCP servers work in one Claude Code session and are gone in another? It's the folder. Local, project and user scope explained, how to check, and three fixes.

Short answer: Claude Code ties most MCP servers to a folder. claude mcp add without --scope adds a local server, which "loads only in the project where you added it", and a repository's .mcp.json only loads in that repository. Start Claude Code anywhere else and those servers aren't there. Run claude mcp list in the folder where it's missing to see what loads there. Then fix it one of three ways: work in the project's folder (or /cd into it), add the server with --scope user so every folder has it, or share it in the project's .mcp.json.

Everything about Claude Code here is from Anthropic's docs, checked on December 1, 2026. (I build Morphy, an app that runs Claude Code chats side by side, and this came up there first; its part is near the end.)

How I ran into it

On November 23, a user told me their MCP servers had stopped working in Morphy after an update, while Claude Code in their terminal still had them. They had also told the agent again and again to use one of them as standard, and it kept forgetting.

I didn't want to guess, so I asked my agent to start a check chat that only investigates and writes a report. It set up one tiny test server for each scope, plus one from a plugin, and compared a Morphy chat with plain Claude Code. In the project's folder, both had exactly the same servers. In a chat working in another folder, the local servers and the project's .mcp.json servers were gone, just as Claude Code's docs say they would be in a terminal started there. The servers added for every folder were still there.

So the servers themselves were fine. That update had changed which folder new chats start in, and in Claude Code, the folder decides which servers you get. It decides what Claude remembers too, which is why "use it as standard" didn't stick.

Check what loads in this folder

In the folder where the server is missing, run:

claude mcp list

Or, inside a session, type /mcp. Then match what you see:

What you seeWhat it meansWhat to do
The server isn't listedIt's a local or project server of another folderOne of the three fixes below
⏸ Pending approval (run `claude` to approve)A .mcp.json server you haven't approved yetRun claude in that folder and approve it. Dismissed it before? claude mcp reset-project-choices, then restart
⊘ Disabled for this project (re-enable via /mcp)Turned off for this projectTurn it back on in /mcp
! Needs authenticationIt needs you to sign inSign in from /mcp
✘ Failed to connectClaude Code couldn't reach or start itclaude mcp get <name> shows the reason on its Issue: line
Connected, but 0 toolsIt started but sends no toolsReconnect in /mcp, then claude --debug=mcp

A common cause of Failed to connect that also depends on the folder: a relative path in the server's command. Anthropic notes that it resolves "against the directory you launched Claude Code from rather than the location of .mcp.json". Use absolute paths, or a program on your PATH like npx.

Why: three scopes, and the folder you start in

Every MCP server you add lives in one of three scopes:

ScopeLoads inStored inHow you add it
Local (the default)Only the folder you added it in~/.claude.json, under that folder's pathclaude mcp add …
ProjectOnly that repository, for everyone who clones it.mcp.json at the repository's topclaude mcp add --scope project …
UserEvery folder on your computer~/.claude.jsonclaude mcp add --scope user …

The trap is the default. Most guides tell you to run claude mcp add, and without --scope that's a local server. It works perfectly in the folder you were in, and only there.

Servers from claude.ai connectors and from plugins you installed for yourself aren't tied to a folder, so they keep working, which makes the missing ones more confusing. When the same name is defined in several scopes, Claude Code uses one: local first, then project, then user.

The three fixes

1. Work in the project's folder

Start Claude Code in the folder where you added the server:

cd ~/code/shop
claude

Already in a session somewhere else? /cd ~/code/shop moves it there and keeps the conversation. As soon as you move, Claude Code loads that folder's .mcp.json servers and the local servers you registered in it, and disconnects the old folder's.

Best when the server only makes sense for one project.

2. Add it for every folder (user scope)

For a server you want everywhere, like GitHub or a docs search, add it at user scope:

claude mcp add --scope user <name> -- <command>

Already added it locally somewhere? Run claude mcp get <name> in that folder to see its command, add it again with --scope user, and remove the local copy there with claude mcp remove <name> --scope local, so the two don't differ.

Best for your personal tools.

3. Share it in the project (.mcp.json)

For a server everyone working on a repository needs, add it at project scope:

claude mcp add --transport http shared-server --scope project https://example.com/mcp

Claude Code writes it to .mcp.json at the top of the repository. Commit that file, and every session in that repository has the server after a one-time approval. Two mistakes Anthropic lists that make these servers never load: putting the file inside .claude/, and writing the servers under a servers key, as VS Code's mcp.json does, instead of mcpServers. And settings.json doesn't read an mcpServers key at all.

Best for team servers. Leave keys out of the file: Claude Code can read them from environment variables instead.

"Use it as standard" isn't remembered everywhere

When you tell Claude in a chat to always use a server, the only place it can keep that is its auto memory. That memory is kept per repository: "Each project gets its own memory directory", named after the git repository. A session in another folder never sees it.

Write it down instead, in a file every session reads:

  • ~/.claude/CLAUDE.md for every folder on your computer;
  • the project's CLAUDE.md for everyone working in that repository.

In Morphy

Morphy is my app, so take this part with that in mind. A Claude chat in Morphy loads your Claude Code setup the way claude does in a terminal, MCP servers included, so the folder rule above applies to it too. A chat works in the nearest linked working folder, else in your vault's own folder, where your project's local servers and .mcp.json aren't. A Morphy chat loads none of your Claude Code setup.

The fixes are the same three, plus one: Settings → Connections → Found in your other apps lists your Claude Code servers, each folder's local ones and .mcp.json included, and Add brings one into Morphy for the chats you choose, on any AI. The full how-to is Your Claude Code MCP servers in Morphy.

Questions

Why does my MCP server work in one folder but not another? You most likely added it with claude mcp add without --scope, which makes it a local server: it loads only in the folder you added it in. Add it again with --scope user to have it everywhere.

Where does Claude Code store MCP servers? Local and user servers are in ~/.claude.json in your home folder. Project servers are in .mcp.json at the top of the repository.

Why doesn't my .mcp.json server load? Usually it's waiting for approval: claude mcp list says Pending approval. Run claude there and approve it. Also check that the file is at the top of the repository, not in .claude/, with the servers under mcpServers.

Does claude mcp list show every server? It shows the servers that load in the folder you run it in, with a status for each. A local server of another folder isn't in the list.

References