New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Configuration guide for connecting GrepAI semantic code search to Cursor IDE over MCP.

skills.sh installs
601
GitHub stars
20
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers project-level .cursor/mcp.json, global config paths for macOS, Linux, and Windows, and Windsurf's matching format
  • Includes setup steps, five exposed tools (grepai_search, grepai_trace_callers, grepai_trace_callees, grepai_trace_graph, grepai_index_status), and example prompts
  • Provides a troubleshooting section for unrecognized tools, empty results, connection errors, and wrong-project results
  • Designed for developers who already run GrepAI with Ollama or another embedding provider and want Cursor's AI to use it

Install

$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-mcp-cursor -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GrepAI MCP Integration with Cursor

This skill covers integrating GrepAI with Cursor IDE using the Model Context Protocol (MCP).

When to Use This Skill

  • Setting up GrepAI in Cursor
  • Enabling semantic search for Cursor AI
  • Configuring MCP for Cursor
  • Troubleshooting Cursor integration

What is Cursor?

Cursor is an AI-powered IDE that supports MCP for external tools. GrepAI integration gives Cursor's AI:

  • Semantic code search beyond simple text matching
  • Call graph analysis for understanding dependencies
  • Index-based code navigation

Prerequisites

  1. GrepAI installed
  2. Ollama running (or other embedding provider)
  3. Project indexed (grepai watch)
  4. Cursor IDE installed

Configuration

Step 1: Create MCP Config File

Create .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "grepai": {
      "command": "grepai",
      "args": ["mcp-serve"]
    }
  }
}

Step 2: Restart Cursor

Close and reopen Cursor for the config to take effect.

Step 3: Verify

Ask Cursor's AI:

"Search the codebase for authentication"

Cursor should use the grepai_search tool.

Global Configuration

Details

Repository
github.com/yoanbernabeu/grepai-skills
Category
Agent Workflow & Planning
First seen
Jun 3, 2026

More from yoanbernabeu/grepai-skills

All 27

Similar to Grepai Mcp Cursor

More Agent Workflow & Planning