Skip to content
MCP server

Weavatrix Refactor Js

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.6
Listing updated
4 days ago

About Weavatrix Refactor Js

Weavatrix Refactor Js is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add weavatrix-refactor-js -- npx -y weavatrix-refactor-js

Add to claude_desktop_config.json

{
  "mcpServers": {
    "weavatrix-refactor-js": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor-js"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "weavatrix-refactor-js": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor-js"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "weavatrix-refactor-js": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor-js"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "weavatrix-refactor-js": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor-js"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "weavatrix-refactor-js": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor-js"
      ]
    }
  }
}

Configuration

  • WEAVATRIX_ALLOW_SOURCE_EDITSSet to 1 to authorize apply_edit_plan and rollback to write source files; unset, the refactor tools stay preview-only
  • WEAVATRIX_REFACTOR_HOMEOptional directory for the rollback snapshot store; defaults to a per-repo location
  • WEAVATRIX_PRECISIONCore semantic precision: lsp (default) or off

Pricing

Open source

Prices change. Check weavatrix.com before you buy.

Weavatrix Refactor Js FAQ

Is Weavatrix Refactor Js free?

Yes. Weavatrix Refactor Js is open source, so you can use and self-host it for free.

How do I add Weavatrix Refactor Js to Claude Code?

Run this command in your terminal: claude mcp add weavatrix-refactor-js -- npx -y weavatrix-refactor-js