← Back to Integrations

Agentic IDEs

Give Cursor (primary), Windsurf, Antigravity, VS Code (via GitHub Copilot), Zed, and Cline deep structural codebase awareness. Other MCP-aware editors with a generic stdio MCP config can also connect.

When an editor supports the Model Context Protocol (MCP), it means the AI can defer complex codebase searches to a specialized indexer like SourcePrep. The AI agent explicitly calls SourcePrep's tools (like prep, prep_search, or prep_impact) behind the scenes, reading the results before composing an answer for you.

Welcome×
1
// Ask the agent to open or edit a file.
SourcePrep Projectmain*TypeScript
AGENT
Ask the agent anything...

Integration Setup

Choose your preferred editor below and copy-paste the configuration. Then restart the window. Ensure the SourcePrep backend is running locally (prep serve) before making requests in the IDE.

Cursor

.cursor/mcp.json (Project root or ~/.cursor/)

{
  "mcpServers": {
    "prep": {
      "command": "prep",
      "args": [
        "mcp"
      ]
    }
  }
}

Enable auto-run in Settings > Features > MCP.

Windsurf

~/.codeium/windsurf/mcp_config.json (Global config (applies to all projects))

{
  "mcpServers": {
    "prep": {
      "command": "prep",
      "args": [
        "mcp"
      ],
      "disabled": false
    }
  }
}

Antigravity

~/.gemini/antigravity/mcp_config.json (Global Antigravity config (Google))

{
  "mcpServers": {
    "prep": {
      "command": "prep",
      "args": [
        "mcp"
      ]
    }
  }
}

Google Antigravity uses a Gemini-style nested config under ~/.gemini/antigravity/.

GitHub Copilot

.vscode/mcp.json (Project root)

{
  "servers": {
    "prep": {
      "command": "prep",
      "args": [
        "mcp"
      ]
    }
  }
}

Note: Uses "servers" key, NOT "mcpServers".

Zed

~/.config/zed/settings.json (Global or project .zed/settings.json)

{
  "context_servers": {
    "prep": {
      "command": "prep",
      "args": [
        "mcp"
      ]
    }
  }
}

Zed uses "context_servers", not "mcpServers".

Cline

cline_mcp_settings.json (Open Cline sidebar > MCP Servers > Configure (VS Code extension))

{
  "mcpServers": {
    "prep": {
      "command": "prep",
      "args": [
        "mcp"
      ]
    }
  }
}