Feature request for product/service
Cursor IDE
Describe the request
Description: With the deprecation of Custom Modes in favor of Slash Commands/Rules, we have lost the ability to physically unload MCP tools from the context window per chat.
The Problem: Slash commands (/backend) only provide prompt instructions to ignore a tool. They do not remove the tool’s schema from the system prompt.
-
Token Cost: I have heavy MCP servers (Postgres, Figma) that consume significant context just by being enabled.
-
Hallucinations: The Agent still “sees” the tools and sometimes tries to call them despite instructions.
-
Friction: The only workaround currently is to manually toggle MCP servers On/Off in global settings every time I switch tasks.
The Request: Please allow Slash Commands or .cursorrules to programmatically enable/disable specific MCP servers.
- Example: A config in .cursor/commands/backend.md like mcp_enabled: [‘postgres’] that ensures ONLY Postgres tools are loaded into the context window for that chat.