I connected an MCP server (mcp-pyzotero) in Cursor (succesfully connected according to Settings → MCP page). But when tools are called with parameters, Cursor reports an error of type
Invalid type for parameter '<>' in tool <>
Removing type hints in the tool definitions in the MCP server implementations solved the issue for me, suggesting a mismatch in how Cursor is calling the tools with how the MCP implementations does the type check. See this issue for details for my case: Type error during tool call in Cursor IDE · Issue #3 · gyger/mcp-pyzotero · GitHub
The problem has been reported on the forum here before and seems to be specific to Cursor (no reports with Claude Desktop and this post also shows the tools work in MCP Inspector): Cursor cannot handle MCP server params
The issue was closed without response due to inactivity.
And a related post on the MCP GitHub:
I’m wondering why there are so few reports of this. Could it be a server implementation issue? Or is this actually an issue in how Cursor calls tools?