Transactional refactoring extension with 12 evidence-backed tools, previews, and rollback.
Connect Runs on your machine
claude mcp add weavatrix-refactor -e WEAVATRIX_ALLOW_SOURCE_EDITS=<WEAVATRIX_ALLOW_SOURCE_EDITS> -- npx -y [email protected]
{
"mcpServers": {
"weavatrix-refactor": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"WEAVATRIX_ALLOW_SOURCE_EDITS": "<WEAVATRIX_ALLOW_SOURCE_EDITS>"
}
}
}
}
{
"mcpServers": {
"weavatrix-refactor": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"WEAVATRIX_ALLOW_SOURCE_EDITS": "<WEAVATRIX_ALLOW_SOURCE_EDITS>"
}
}
}
}
{
"servers": {
"weavatrix-refactor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"WEAVATRIX_ALLOW_SOURCE_EDITS": "<WEAVATRIX_ALLOW_SOURCE_EDITS>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
WEAVATRIX_ALLOW_SOURCE_EDITSOptional | Set to 1 to authorize confirmed apply operations and rollback to write source files; unset, the refactor tools stay preview-only |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 13 Nov 2026 |
| Last updated | 13 Nov 2026 |
| Registry name | io.github.Weavatrix/weavatrix-refactor |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
