You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to enable/disable mcp server per project #5013
I have an mcp server that only applies to some projects. I tried adding its config to my global config file but with it disabled by default so that I could override that at project level.
I'm assuming your project level config is considered invalid as you are missing the required keys in the my-mcp-server section.
Perhaps an easier way to achieve the same result would be to leave it enabled in your global config, but disabled/not allowed in the tool section. Then in your project config, enable/allow the tool to be used.
Activity
atkr commentedon Dec 3, 2025
I'm assuming your project level config is considered invalid as you are missing the required keys in the
my-mcp-serversection.Perhaps an easier way to achieve the same result would be to leave it enabled in your global config, but disabled/not allowed in the tool section. Then in your project config, enable/allow the tool to be used.
meatballs commentedon Dec 3, 2025
I just didn't bother showing the entire config. It's valid. If I enable that global config and get rid of the project config, it all works fine