NestDaddy

Weavatrix Refactor Js

io.github.sergii-ziborov/weavatrix-refactor-js · v0.1.6

Transactional refactoring MCP with 11 evidence-backed tools, hash-bound previews, and rollback.

Connect Runs on your machine

Terminal
claude mcp add weavatrix-refactor-js -e WEAVATRIX_ALLOW_SOURCE_EDITS=<WEAVATRIX_ALLOW_SOURCE_EDITS> -e WEAVATRIX_REFACTOR_HOME=<WEAVATRIX_REFACTOR_HOME> -e WEAVATRIX_PRECISION=<WEAVATRIX_PRECISION> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "weavatrix-refactor-js": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WEAVATRIX_ALLOW_SOURCE_EDITS": "<WEAVATRIX_ALLOW_SOURCE_EDITS>",
        "WEAVATRIX_REFACTOR_HOME": "<WEAVATRIX_REFACTOR_HOME>",
        "WEAVATRIX_PRECISION": "<WEAVATRIX_PRECISION>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "weavatrix-refactor-js": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WEAVATRIX_ALLOW_SOURCE_EDITS": "<WEAVATRIX_ALLOW_SOURCE_EDITS>",
        "WEAVATRIX_REFACTOR_HOME": "<WEAVATRIX_REFACTOR_HOME>",
        "WEAVATRIX_PRECISION": "<WEAVATRIX_PRECISION>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "weavatrix-refactor-js": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WEAVATRIX_ALLOW_SOURCE_EDITS": "<WEAVATRIX_ALLOW_SOURCE_EDITS>",
        "WEAVATRIX_REFACTOR_HOME": "<WEAVATRIX_REFACTOR_HOME>",
        "WEAVATRIX_PRECISION": "<WEAVATRIX_PRECISION>"
      }
    }
  }
}

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

NameDescription
WEAVATRIX_ALLOW_SOURCE_EDITS
Optional
Set to 1 to authorize apply_edit_plan and rollback to write source files; unset, the refactor tools stay preview-only
WEAVATRIX_REFACTOR_HOME
Optional
Optional directory for the rollback snapshot store; defaults to a per-repo location
WEAVATRIX_PRECISION
Optional
Core semantic precision: lsp (default) or off

Details

Package[email protected] (NPM, stdio)
First published10 Aug 2026
Last updated10 Aug 2026
Registry nameio.github.sergii-ziborov/weavatrix-refactor-js

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.