[BUG] Not possible to create global mcp server

Resolved 💬 2 comments Opened Jan 23, 2026 by kmikola21 Closed Jan 23, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Hi, I want to create a global definition of the mcp server that is available from every directory on my computer. I added a mcp server using the command:
claude mcp add <mcp-server-name> -- mcp-server-name --scope user
When I am in the directory where the server was added, running the command:
claude mcp list
returns information that the server is defined and connected.
I am changing to the other directory and running the command:
claude mcp list
and getting the following message:
No MCP servers configured. Use claude mcp add to add a server.
It means that there is no possible to define a mcp server in Claude Code that is available globally from every directory.
Claude Code v.2.1.17
Linux
Regards

What Should Happen?

I would like to define a mcp server in Claude Code that is available from every directory, not only project directories.

Error Messages/Logs

Steps to Reproduce

Described in the "What's wrong?"

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.17

Platform

Other

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗