Tools to revise and refactor code via MCP
Tools to revise and refactor code via MCP. That is what the revise mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
Tools to revise and refactor code via MCP (Model Context Protocol).
The server publishes 4 tools. What each one is for:
move_string_in_file — Moves a contiguous range of lines from one location to another within a file (or between files). Uses substring matching with a ⬥ marker to identifyindent_dedent — Indents or unindents a contiguous range of lines by a specified number of levels. Uses substring matching with a ⬥ marker to identify the rangeoutline_file — Returns a high-level outline of a file, similar to VS Code's folded view. Useful for quickly understanding the structure of a large file beforeSteps — No additional configuration of Revise MCP itself is required — rename_symbol will automatically connect to the VSC as MCP server on localhost:4000@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Revise's toolset — move_string_in_file, indent_dedent, outline_file and 1 more — is a fair guide to whether it matches your workflow.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| move_string_in_file | Moves a contiguous range of lines from one location to another within a file (or between files). Uses substring matching with a ⬥ marker to identify cut boundaries and paste location — no line counting or coordinate math |
| indent_dedent | Indents or unindents a contiguous range of lines by a specified number of levels. Uses substring matching with a ⬥ marker to identify the range boundaries — no line counting required. |
| outline_file | Returns a high-level outline of a file, similar to VS Code's folded view. Useful for quickly understanding the structure of a large file before reading it in full. |
| Steps | No additional configuration of Revise MCP itself is required — rename_symbol will automatically connect to the VSC as MCP server on localhost:4000. |
{
"mcpServers": {
"revise": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/inspector"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.