DavidHDev/react-bits

[BUG]: React Bits MCP Cloudflare Worker `/sse` endpoint broken – works only with `/mcp` direct URL in Cursor

Closed this issue · 1 comments

Describe the issue

When I add the React Bits MCP server to Cursor using the docs example:

{ "mcpServers": { "react-bits-mcp": { "command": "npx", "args": ["mcp-remote", "https://react-bits-mcp.davidhzdev.workers.dev/sse"] } } }

Cursor detects the server but no tools are available.
Running npx mcp-remote https://react-bits-mcp.davidhzdev.workers.dev/sse gives:

Error POSTing to endpoint (HTTP 404): Not Found SSE error: Could not convert argument of type symbol to string.

So the /sse endpoint does not work as expected.

However, when I switch to using a direct URL:

{ "mcpServers": { "react-bits-mcp": { "url": "https://react-bits-mcp.davidhzdev.workers.dev/mcp", "headers": {} } } }
it works perfectly, and Cursor loads all tools.

Expected:
The /sse endpoint should work with mcp-remote (as described in the docs), or the documentation should be updated to show the /mcp direct URL method which currently works.

Reproduction Link

No response

Steps to reproduce

Clone latest Cursor.

1- Add MCP server with /sse endpoint.

2- Restart Cursor.

3- Try to access tools.

4- Observe empty tool list.

Validations

  • I have checked other issues to see if my issue was already reported or addressed

It won't work for long on either paths. The daily limits are hit, that's why no tools are available. Please don't open issues for this.