加载中…
ast-grep is a fast and polyglot tool for code structural search, lint, rewriting at large scale.
ast-grep 是 ChatHome Skills 收录的 MCP 条目,来源为 Docker MCP Registry,质量分 100/100。 作为 Model Context Protocol 服务器,它向 Claude、Cursor、Copilot 等兼容 MCP 的 LLM 客户端暴露可直接调用的工具,让 agent 的能力超出模型内置范围。 该条目由 ChatHome Skills 的每日抓取从官方 registry 和 GitHub 发现查询中收录,每次运行都会重新核验仓库事实、新鲜度信号和安装元数据。 质量分综合了官方 registry 收录情况、可用安装命令、许可证完整性、仓库活跃度和 GitHub star 趋势,完整算法说明见来源页。安装命令已列于上方,可直接复制使用。 在将 ast-grep 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
docker run -i --rm mcp/ast-grep运行此命令前,请先核对上游源码。
{
"raw": "name: ast-grep\nimage: mcp/ast-grep\ntype: server\nmeta:\n category: code\n tags:\n - code\n - refactoring\n - grep\nabout:\n title: ast-grep\n description: ast-grep is a fast and polyglot tool for code structural search, lint, rewriting at large scale.\n icon: https://avatars.githubusercontent.com/u/114017360?s=200&v=4\nsource:\n project: https://github.com/dgageot/mcp-ast-grep\n commit: c0a1edaf9cd6b168f2b59bc5a0161ad49a793099\nrun:\n volumes:\n - \"{{ast-grep.path|volume-target}}:/src\"\n disableNetwork: true\nconfig:\n description: The MCP server is allowed to access this directory\n parameters:\n type: object\n properties:\n path:\n type: string\n default: /Users/demo/sources\n required:\n - path\n",
"path": "servers/ast-grep/server.yaml"
}