Loading...
Loading...
Integrate GrepAI with Cursor IDE via MCP. Use this skill to enable semantic code search in Cursor.
npx skill4agent add yoanbernabeu/grepai-skills grepai-mcp-cursorgrepai watch.cursor/mcp.json{
"mcpServers": {
"grepai": {
"command": "grepai",
"args": ["mcp-serve"]
}
}
}"Search the codebase for authentication"
grepai_search~/.cursor/mcp.json~/.cursor/mcp.json%APPDATA%\Cursor\mcp.json{
"mcpServers": {
"grepai": {
"command": "grepai",
"args": ["mcp-serve"]
}
}
}{
"mcpServers": {
"grepai": {
"command": "grepai",
"args": ["mcp-serve"],
"cwd": "/absolute/path/to/project"
}
}
}| Tool | Description |
|---|---|
| Semantic code search |
| Find function callers |
| Find function callees |
| Build call graphs |
| Check index health |
"Find code that handles user login"
grepai_search"What functions call validateToken?"
grepai_trace_callers"Show me the call graph for processPayment"
grepai_trace_graphCmd+,Ctrl+,Cmd+Shift+PCtrl+Shift+P.windsurf/mcp.json{
"mcpServers": {
"grepai": {
"command": "grepai",
"args": ["mcp-serve"]
}
}
}.cursor/mcp.jsoncwd# Create workspace
grepai workspace create dev
grepai workspace add dev /path/to/project1
grepai workspace add dev /path/to/project2{
"mcpServers": {
"grepai": {
"command": "grepai",
"args": ["mcp-serve", "--workspace", "dev"]
}
}
}{
"mcpServers": {
"grepai": {
"command": "grepai",
"args": ["mcp-serve"],
"env": {
"OPENAI_API_KEY": "sk-..."
}
}
}
}.cursor/mcp.jsongrepaigrepai statusgrepai watchgrepai mcp-servecurl http://localhost:11434/api/tagscwdgrepai_index_statusgrepai watch --background| Feature | Cursor | Claude Code |
|---|---|---|
| Config location | | |
| Setup command | Manual JSON | |
| Project scope | Per-project or global | Global |
| IDE integration | Native | Terminal |
.cursor/mcp.jsongrepai mcp-serve.cursor/mcp.json{
"mcpServers": {
// Remove grepai entry
}
}✅ GrepAI MCP Integration for Cursor
Config: .cursor/mcp.json
Server: grepai mcp-serve
Status: Ready
Available tools:
- grepai_search
- grepai_trace_callers
- grepai_trace_callees
- grepai_trace_graph
- grepai_index_status
Cursor AI can now search your code semantically!
Test: Ask Cursor "search for authentication code"