ast-grep is a fast and polyglot tool for code structural search, lint, rewriting at large scale.
930
1 Tool
Version 4.43 or later needs to be installed to add the server automatically
Connect the MCP Toolkit gateway to Claude Desktop using:
Once connected, you can install this MCP server using:
Note: You should still configure the server and specify required secrets after installing it.
Restart Claude Desktop for the changes to take effect.
ast-grep
to the mcpServers
section:{
"mcpServers": {
"ast-grep": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/local-directory:/local-directory",
- mcp/ast-grep@sha256:5fc3f2e9dcf2c019e92662f608b8d89e12134ed6d91e6f5461de6efd506a1e72
]
}
}
}
Connect the MCP Toolkit gateway to Continue.dev using:
Once connected, you can install this MCP server using:
Note: You should still configure the server and specify required secrets after installing it.
name: Docker MCP ast-grep
version: 1.0.1
schema: v1
mcpServers:
- name: ast-grep
command: docker
args:
- run
- --rm
- -i
- -v
- /local-directory:/local-directory
- mcp/ast-grep@sha256:5fc3f2e9dcf2c019e92662f608b8d89e12134ed6d91e6f5461de6efd506a1e72
Connect the MCP Toolkit gateway to Cursor using:
Once connected, you can install this MCP server using:
Note: You should still configure the server and specify required secrets after installing it.
ast-grep
to the mcpServers
section:{
"mcpServers": {
"ast-grep": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/local-directory:/local-directory",
- mcp/ast-grep@sha256:5fc3f2e9dcf2c019e92662f608b8d89e12134ed6d91e6f5461de6efd506a1e72
]
}
}
}
Define the MCP Toolkit gateway as a server in the MCP Visual Studio Code user settings. Learn more
"mcp": {
"servers": {
"MCP_DOCKER": {
"command": "docker",
"args": [
"mcp",
"gateway",
"run"
],
"type": "stdio"
}
}
}
Once connected, you can install this MCP server using:
Note: You should still configure the server and specify required secrets after installing it.
Connect the MCP Toolkit gateway to Gordon using:
Once connected, you can install this MCP server using:
Note: You should still configure the server and specify required secrets after installing it.
Manual installation
You can install the MCP server using:
Installation for