This is an experimental MCP implementation using ast-grep CLI.
- Installing
ast-grep
anduv
- Installing MCP client, preferably Cursor
- Clone this repo, install via
uv
- Configure MCP json
{
"mcpServers": {
"server-name": {
"command": "uv",
"args": ["--directory", "/path/to/repo", "run", "main.py"],
"env": {}
}
}
}
- Ask cursor ai to search your codebase!