AI呼叫编辑
VS Code扩展的原型,通过HTTP公开MCP(模型上下文协议)服务器,允许AI助手(如Claude Code)执行IDE驱动的重构操作。
安装
git clone https://github.com/rokstrnisa/ai-calls-editor.git
cd ai-calls-editor
pnpm install
pnpm compile按 F5 在VS Code中启动扩展开发主机。服务器在端口7272上自动启动(可通过以下方式配置 MCP_PORT 环境变量)。打开您希望AI助手处理的项目。
设置
克劳德代码
claude mcp add --transport http ai-calls-editor http://localhost:7272/mcp现在Claude Code将调用MCP服务器的 rename_symbol 当收到以下指令时,工具:
Rename the function foo in path src/utils.ts to bar.贡献
看 贡献.md.
许可证
麻省理工学院-见 许可证.
