
Grepai Mcp Cursor
This walks you through connecting GrepAI's semantic code search to Cursor IDE using MCP. You drop a JSON config file in `.cursor/mcp.json`, point it at `grepai mcp-serve`, and restart Cursor. After that, Cursor's AI can do semantic searches beyond grep, trace call graphs, and navigate your codebase using GrepAI's index. The guide covers both per-project and global setups, includes Windsurf configuration, and has solid troubleshooting for common issues like empty results or connection errors. If you're already running GrepAI with Ollama and want your IDE's AI to actually understand your code structure, this is the integration step you need.
- skills.sh installs
- 601
- GitHub stars
- 20
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-mcp-cursor --agent claude-codeInstalls into .claude/skills of the current project.
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
- GrepAI installed
- Ollama running (or other embedding provider)
- Project indexed (
grepai watch) - 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
Sponsors
Details
- Repository
- github.com/yoanbernabeu/grepai-skills
- Category
- AI & Agent Building
- First seen
- Jun 3, 2026
More from yoanbernabeu/grepai-skills
All 27- Grepai Quickstart600
- Grepai Installation598
- Grepai Storage Qdrant570
- Grepai Embeddings Lmstudio568
- Grepai Embeddings Openai560
- Grepai Storage Postgres560
- Grepai Search Basics936
- Grepai Search Advanced855
- Grepai Trace Graph831
- Grepai Trace Callers812
- Grepai Ollama Setup808
- Grepai Search Tips807
- Grepai Trace Callees790
- Grepai Search Boosting778
- Grepai Embeddings Ollama770
- Grepai Mcp Tools744
- Grepai Languages732
- Grepai Chunking729
- Grepai Init724
- Grepai Watch Daemon723
- Grepai Config Reference717
- Grepai Troubleshooting717
- Grepai Workspaces711
- Grepai Ignore Patterns703