Cursor doesn't detect MCP tools with `-` in name

This is the same issue surfaced in Cursor refuses to use my MCP server but I want to make it a clear bug report.

When using my MCP server, Cursor correctly picks up the two tools it provides in the settings: nx-workspace and nx-docs. However, no matter what I try, the agent will not use them.
After renaming the tools to nx_workspace and nx_docs, it works just fine.

This limitation should either be removed or clearly documented on the MCP page.
It’s not a general limitation with the protocol as the nx-workspace tool with a dash works just fine in Claude Desktop.

OS: MacOS 14.4
Cursor Version: 0.45.15

1 Like

Thank you! I was really struggling finding out why my MCP server was not being called. I replaced it with spaces, and it worked!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.