Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The Cursor does not close MCP server process when it is disabled
Steps to Reproduce
-
I want to use MCP server that is NPM based. Let’s say @modelcontextprotocol/server-everything
-
I configure it in mcp.json:
“Server everything”: {
“command”: “npx”,
“args”: [“@modelcontextprotocol/server-everything”]
} -
I open MCP Setting > Tools
-
I enable and disable the server a few times
-
Processes are still present, they are not terminated
It is critical for MCP servers that consumes a lot of memory. And it is critical for MCP servers that use some context. Or use some resources like file or port. Another instance of the MCP server fails due to not properly closed previous ones.
Expected Behavior
The MCP server process should be terminated once you disable it in the Cursor configuration
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.0.75 (user setup)
VSCode Version: 1.99.3
Commit: 9e7a27b76730ca7fe4aecaeafc58bac1e2c82120
Date: 2025-11-12T17:34:21.472Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
N/A
Does this stop you from using Cursor
Yes - Cursor is unusable
