Who is this for?
Cursor users who need the correct MCP config path before installing servers.
Config path and example
~/.cursor/mcp.json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "./"]
}
}
}Installation steps
1
Open Cursor settings
Use Cursor settings to open the MCP config when possible.
2
Back up mcp.json
Copy the existing file before changing it.
3
Paste generated config
Use the generator to avoid malformed JSON.
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "./"]
}
}
}4
Restart Cursor
Reload MCP servers after saving.
Common setup issues
Wrong profile
Make sure you edit the config for the Cursor profile you are using.
FAQ
Can I edit the file manually?
Yes, but validate JSON before restarting Cursor.