Create or edit .cursor/mcp.json in your project root for project-scoped servers. Global config is also supported—see Cursor docs.
Guides·MCP
Install MCP in Cursor
Configure MCP in Cursor: .cursor/mcp.json, copy config, env vars, and reload steps.
Config file location
Add an MCP server
- Open the MCP on AgentHub
- Cursor tab → Copy config
- Merge into
mcpServers - Replace env placeholders
- Cmd+Shift+P → Reload Window
FAQ
• Not working: validate JSON and reload • Slow npx: first run downloads packages • Trust: MCP may access files/network—install trusted sources only