Skip to content

Plugin sequential-thinking fails with "Client closed" when launched in Cursor #1163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sszdhlh opened this issue Mar 31, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@sszdhlh
Copy link

sszdhlh commented Mar 31, 2025


Describe the bug
When using the @modelcontextprotocol/server-sequential-thinking plugin in Cursor, it fails to run and shows Client closed. The same JSON configuration and command work fine in VSCode. This indicates the plugin server process may be exiting immediately after starting.

To Reproduce
Steps to reproduce the behavior:

  1. Enable the sequential-thinking plugin in Cursor
  2. Cursor attempts to run the command:
    cmd /c npx -y @modelcontextprotocol/server-sequential-thinking
  3. The plugin briefly shows "Enabled" and then fails with Client closed

Expected behavior
The plugin should start a persistent MCP server that Cursor can connect to and interact with, just like other MCP plugins such as browser-tool-mcp.

Logs
Cursor log message:

Client closed

Manually running the command in a terminal does not produce errors and the server starts as expected.

Additional context
This issue only happens with the sequential-thinking plugin. Other MCP plugins (e.g., browser-tool-mcp) work correctly in Cursor using the same setup and command structure.
It’s possible the server script does not block the main thread (e.g., missing await app.listen() or server.listen()), causing the process to exit immediately in non-interactive environments like Cursor.

Environment

  • Cursor version: 0.47.8 (user setup)
  • VSCode version: 1.96.2
  • Node.js: 20.18.1
  • OS: Windows 11 (Windows_NT x64 10.0.26100)

@sszdhlh sszdhlh added the bug Something isn't working label Mar 31, 2025
@sszdhlh
Copy link
Author

sszdhlh commented Mar 31, 2025

Image

Image

Image

Here are some screenshots showing the difference between cursor and vscode.

@AnandBhasme
Copy link

I faced with same issue. Did anyone find any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants