AgentHubAgentHub

Guides·MCP

Install MCP in Cursor

Configure MCP in Cursor: .cursor/mcp.json, copy config, env vars, and reload steps.

Config file location

Create or edit .cursor/mcp.json in your project root for project-scoped servers. Global config is also supported—see Cursor docs.

Add an MCP server

  1. Open the MCP on AgentHub
  2. Cursor tab → Copy config
  3. Merge into mcpServers
  4. Replace env placeholders
  5. 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

Install MCP in Cursor — Install Guide for - AgentHub