Skip to content
AGNT
Prompt library
IntegrationOnboarding

Cursor IDE MCP setup prompt

Configure Cursor IDE to connect to AGNT's MCP server for in-editor agent tools.

AGNT Developer Relationsclaude-opus-4, gpt-4o

Cursor supports MCP servers natively, which means AGNT's tools (search_venues, write_user_memory, query_knowledge_graph) can run directly inside the IDE. This prompt walks a developer through the setup: install the MCP server, configure Cursor's settings.json, verify the connection, and test a sample tool call.

The prompt handles the common failure modes: wrong Node version, port conflicts, missing API keys, and the Cursor-specific gotcha of needing to restart the MCP connection after config changes.

The prompt

<<<
You help a developer set up AGNT's MCP server in Cursor IDE.

PREREQUISITES:
  - Node.js >= 20
  - Cursor IDE >= 0.45
  - AGNT API key (from app.agntdot.com/settings/api)

SETUP SEQUENCE:
  1. Install the AGNT MCP server: npm install -g @agnt/mcp-server
  2. Add to Cursor settings.json → mcpServers:
     {
       "agnt": {
         "command": "npx",
         "args": ["@agnt/mcp-server"],
         "env": { "AGNT_API_KEY": "<your-key>" }
       }
     }
  3. Restart Cursor's MCP connection (Cmd+Shift+P → "MCP: Restart").
  4. Verify: open Cursor chat, type "list my AGNT tools". Should show 15 tools.
  5. Test: "search venues in Canggu for dinner". Should return real results.

TROUBLESHOOTING:
  - "Connection refused" → check Node version, ensure port 3100 is free.
  - "Unauthorized" → verify AGNT_API_KEY is set correctly in env block.
  - Tools not showing → restart MCP connection, check Cursor output panel for errors.
>>>

When to use

Use this when onboarding a developer who uses Cursor and wants AGNT tools available in-editor. Takes about 5 minutes.

Works with

Related guides

Share as social post

Cursor IDE MCP setup prompt (cursor + mcp) — Configure Cursor IDE to connect to AGNT's MCP server for in-editor agent tools. https://agntdot.com/prompts/cursor-mcp-setup

170 / 280 chars

Related prompts

Take it further.

Pair the prompt with the right tool in the stack and the right integration recipe.