I have an mcp.json file set up for my project, and I am able to get the in-IDE agent to use the tools. However, the CLI doesn’t seem to be able to use them.
Steps to Reproduce
Create mcp.json file, launch cursor-agent, try to ask it to use the tools
Expected Behavior
cursor-agent can use MCP tools (ideally with a /mcp command to view connected servers, and/or a --mcp flag to pass when launching to specify which servers it should use, like Claude Code has)
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
I have this same issue. One MCP (Serena) launches a web browser when I start Cursor CLI so it appears to be “registered” but it will not find any or use any MCP server when asked.
Ok now it seems able to use MCP tools with a new update, but I’m encountering lots of weird bugs. It will run the same tool several times in a row (not acknowledging the previous call’s output), and it seems that using a tool immediately stops the agent from proceeding onto additional steps and awaits a user message.
A bit disappointed by the experience so far, because in general I’m very excited about this product! I don’t mind bugginess for new features, but I’d love some type of ack / update in this thread to at least acknowledge that you’re aware of this or working on it… Fwiw, the CLI is basically unusable for me unless I can connect it with MCP tools
what update do you talk about please ?
I installed cusror cli today (version = 2025.08.09-d8191f3) and have the same issue : mcp servers are not automatically discovered/started and when I ask the agent to use an mcp server listed in the global config file (~/.cursor/mcp.json) it does not seem aware about it and try to write a curl command to interact with the API of the tool the MCP is supposed to interact with
Note: i only installed ”cursor CLI” and do not have any previous cursor installation
I’m encountering the same issue with both project settings (./.cursor/mcp.json) and global settings (~/.cursor/mcp.json). When using project settings, I get the following error:
Error: MCP error -32000: Connection closed
When using global settings, there’s no error, but the file isn’t recognized.
However, if I change ./.cursor/mcp.json to ./.mcp.json, ClaudeCode recognizes it correctly, so it’s probably not a formatting issue.
Thank you.