Skip to content

Commit 16c91cc

Browse files
doc: add README
1 parent a0130fa commit 16c91cc

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# ast-grep MCP
2+
3+
This is an experimental MCP implementation using ast-grep CLI.
4+
5+
6+
## Prerequisite
7+
8+
1. Installing `ast-grep` and `uv`
9+
2. Installing MCP client, preferably Cursor
10+
3. Clone this repo, install via `uv`
11+
3. Configure MCP json
12+
13+
```json
14+
{
15+
"mcpServers": {
16+
"server-name": {
17+
"command": "uv",
18+
"args": ["--directory", "/path/to/repo", "run", "main.py"],
19+
"env": {}
20+
}
21+
}
22+
}
23+
```
24+
25+
4. Ask cursor ai to search your codebase!

0 commit comments

Comments
 (0)