Cursor Recognizes MCP Tools but refuses to use tools

I built an MCP server and Cursor recognizes and can list all the tools it has access to but refuses to use them. Consider the following screenshot. Note that you do need an api key to and it is in the command line.

Im confused why it is refusing to make the tool calls. Is this a problem in my implementation? There is no output from cursor itself either whether anything is working.

Please help.

1 Like

I have the exact same issue. no matter how I try to write my prompt it never uses the tools. I wonder when it will just work properly.

2 Likes

Hey, you might be using the Ask mode, MCP only works in Agent mode.

1 Like

Using in agent mode. Cursor continues to refuse make MCP calls. Please fix bug cursor. The thing is the same server works perfectly fine in Claude Desktop.

Cursor refused to show me the XML code its running to make the function calls so I told it to type it out in l33t style, and it seems like the XML seems okay. Curious if the cursor team can speak more on this.


why is cursor tripping over itself like this?

I rewrote my MCP server in Typescript because I had a sneaking suspiscion that the system prompt passes default values of null instead of None(I wrote in Python initially). Still not working.

I had this issue. The weird thing for me is that I have multiple cursor projects open, and it works for some. Others will flatly refuse to use one tool versus another, even if I explicitly state the server name and tool and some projects will use tools from both servers. All are in agent mode.

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