- Home
- MCP servers
- AI Calls
AI Calls
- typescript
2
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You expose an MCP server over HTTP so AI assistants can perform IDE-powered refactoring operations on your codebase. This setup lets tools like rename_symbol be triggered from natural language instructions, enabling seamless integration between your editor and AI assistants.
How to use
Start the MCP server by running the extension in your editor. The server listens on port 7272 by default, and you can change the port with the MCP_PORT environment variable. Use an MCP client to connect to http://localhost:7272/mcp and invoke available tools.
Example workflow with an MCP client like Claude Code is to register the HTTP transport and then issue a command that maps to a tool, such as renaming a symbol. The server exposes a rename_symbol tool that you can call with natural language instructions like: Rename the function foo in path src/utils.ts to bar.
How to install
Prerequisites: you need Node.js and a package manager installed on your system. This guide uses pnpm for dependencies.
# Clone the project
git clone https://github.com/rokstrnisa/ai-calls-editor.git
# Change into the project directory
cd ai-calls-editor
# Install dependencies
pnpm install
# Build/compile the extension
pnpm compile
How to use after install
Open your editor and start the Extension Development Host (press F5). The MCP server will start automatically and listen on port 7272 by default. If you want to run on a different port, set MCP_PORT before launching the host.
Connect your AI assistant to the MCP server using the HTTP endpoint: http://localhost:7272/mcp and use the available tools such as rename_symbol to perform edits. For example, you can tell Claude Code to rename a function, and it will call the corresponding MCP tool on your behalf.
Notes and tips
The server port is configurable via the MCP_PORT environment variable. If you set it to a different value, ensure your MCP client uses the matching URL, for example http://localhost:<PORT>/mcp.
Available tools
rename_symbol
Renames a symbol across a file or project, as invoked by AI assistants through the MCP server.