How to reproduce
- Add an MCP server via mcp.json, either project managed/global will have the problem
- Switch to Agent mode, select any model that support tool calling, i.e.
claude-3.5-sonnet
- Try telling the agent to trigger the MCP tool, it will always fail to do so.
Example of an MCP server SSE endpoint:
Any endpoint served remotely via https, i.e. https://example.com/mcp-endpoint/sse
Debugging shows that the method isServerEnabled
will always result in the logic returned false
, and logging [MCPService] Server ${e.identifier} not approved, disabling
Environment
- macOS
- Cursor 0.47.5