Disable MCP tools via code config

Feature request for product/service

Cursor IDE

Describe the request

I know we can disable MCP tools by manually clicking in the ui, but this makes it impossible to share in a team some MCP servers that have wayyy more things than needed for our regular work, either for security reasons or for context management reasons.

Of course, the actual solution might be self managed/discovered servers more lire claude «Tools», but I still feel like having more code config around MCP would be a big improvement.

Goes for IDE but also cursor CLI and background agent, don’t know their support of mcp but it would apply the same: I want config as code !

VS Code sort of has this with ability to group tools saved as code configs, and also I believe disable as well saves as a code config.

Feels like this Disabled tools in MCP might allow hackily disabling as code by directly modifying cursor database but that is no proper way to do it :sweat_smile: