Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Weavatrix Refactor

by Weavatrixversion 1.0.15i★ 1iRuns on your computer
Registry nameio.github.Weavatrix/weavatrix-refactor

How to install

What it does

Transactional refactoring extension with 12 evidence-backed tools, previews, and rollback.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "weavatrix-refactor": {
          "command": "npx",
          "args": [
            "-y",
            "weavatrix-refactor",
            "mcp",
            "."
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Weavatrix Refactor and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Weavatrix Refactor or shows a Weavatrix Refactor tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WEAVATRIX_ALLOW_SOURCE_EDITS Set to 1 to authorize confirmed apply operations and rollback to write source files; unset, the refactor tools stay preview-only

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Weavatrix Refactor yet

Weavatrix Refactor runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Weavatrix Refactor

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user weavatrix-refactor -- npx -y weavatrix-refactor mcp .
  4. Type /mcp in Claude Code

    You should see Weavatrix Refactor listed as connected

  5. Try it

    Use Weavatrix Refactor and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Weavatrix Refactor or shows a Weavatrix Refactor tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WEAVATRIX_ALLOW_SOURCE_EDITS Set to 1 to authorize confirmed apply operations and rollback to write source files; unset, the refactor tools stay preview-only

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Weavatrix Refactor and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Weavatrix Refactor or shows a Weavatrix Refactor tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WEAVATRIX_ALLOW_SOURCE_EDITS Set to 1 to authorize confirmed apply operations and rollback to write source files; unset, the refactor tools stay preview-only

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Weavatrix Refactor and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Weavatrix Refactor or shows a Weavatrix Refactor tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WEAVATRIX_ALLOW_SOURCE_EDITS Set to 1 to authorize confirmed apply operations and rollback to write source files; unset, the refactor tools stay preview-only

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Weavatrix Refactor💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user weavatrix-refactor -- npx -y weavatrix-refactor mcp .

Claude Desktop (claude_desktop_config.json)

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

Cursor (~/.cursor/mcp.json)

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

VS Code (mcp.json)

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

Values you fill in

  • WEAVATRIX_ALLOW_SOURCE_EDITS env
    Set to 1 to authorize confirmed apply operations and rollback to write source files; unset, the refactor tools stay preview-only

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
123/wk
Connection
Runs on your computer
Latest versioni
1.0.15
Categoryi
Other
Published to registryi
Nov 13, 2026
Code last changedi
Nov 13, 2026
Maker
Weavatrix
Packages
npm: weavatrix-refactor
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 14, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Weavatrix, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Otheri

  • More stars than 86% of the other 19765 servers in this category
  • Published to the registry more recently than 95% of the other 19765 servers in this category
  • Basic checks equal to or better than 100% of the other 19765 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Weavatrix Refactor safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (1.0.15) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: World Monitor, Claude Flow, Windmill

Others in the same category

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 97 tools.

by koala73Widely used★ 90.6KUpdated yesterday

Runs in the cloud✓ service owner · worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

by ruvnetWidely used↓ 13.5K/wk★ 81.7KUpdated 14 months ago

Runs on your computer

Windmill

Run Windmill scripts and flows and manage jobs, schedules, resources and variables.

by windmill-labsWidely used★ 18.6KUpdated 2 days ago

Runs in the cloud

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Weavatrix Refactor

The explicit source-write layer of the Weavatrix ecosystem; Core remains read-only.

Refactor across files without letting the agent guess.

Weavatrix Refactor is a native MCP server for coding agents. It finds a symbol through the repository graph, previews byte-exact edits, reports every same-named occurrence it could not prove, and writes only after an explicit, hash-bound confirmation.

The useful difference is not “AI can rename a word.” It is that the agent gets evidence before the write and a recoverable transaction after it.

Install

Run the native binary through npm:

npx -y weavatrix-refactor mcp /absolute/path/to/repository

Or install it with Cargo:

cargo install weavatrix-refactor --locked

weavatrix-refactor mcp /absolute/path/to/repository

An MCP client can start it directly. Prefer an absolute path, or Cursor's ${workspaceFolder} so the write server never follows the host process cwd:

{

"mcpServers": { "weavatrix-refactor": { "command": "npx", "args": ["-y", "weavatrix-refactor@1.0.15", "mcp", "${workspaceFolder}", "--profile=refactor"], "env": {"WEAVATRIX_ALLOW_SOURCE_EDITS": "1"} } } }

Leave WEAVATRIX_ALLOW_SOURCE_EDITS unset for preview-only sessions. Preview is a read; only a confirmed apply or rollback requires the gate. One process serves many calls at once. A call passes repository to select a child of the launch root; each child has its own graph, confirm token, and rollback, and a token from one child does not apply to another. Readers of one repository share a lock. A writer holds that lock alone, so another process receives REPO_BUSY and keeps its confirm token. Refactor does not expose Core's open_repo. A path outside the launch root needs --allow-retarget.

Install as a plugin

The repository also ships one plugin bundle for Cursor, Codex, Claude Code, and Grok Build. The plugin starts the extension-only profile, so it contributes the 12 Refactor methods without repeating Weavatrix Core's 43 read-only method definitions. Install the separate Weavatrix plugin when both surfaces are needed.

The bundled skill is optional and activates only for explicitly requested refactoring work. Its entry point stays short; each method has an individual reference card that is loaded only when needed.

  • Cursor: search for Weavatrix Refactor after marketplace approval.
  • Codex: add the Weavatrix/weavatrix-refactor marketplace from .agents/plugins, then add weavatrix-refactor@weavatrix-refactor.
  • Claude Code: add the same repository marketplace from .claude-plugin, then install weavatrix-refactor@weavatrix-refactor.
  • Grok Build: run grok plugin marketplace add Weavatrix/weavatrix-refactor, open /marketplace, and install it.

The plugin opens WEAVATRIX_ALLOW_SOURCE_EDITS=1, but every write still needs the exact preview's short-lived, plan-bound single-use token.

For a rename task, expose only the two tools the agent needs:

weavatrix-refactor mcp /absolute/path/to/repository --profile=rename

The rename profile keeps rename_symbol and rollback_last_apply; every unrelated graph and refactor tool is absent and cannot be called. Omit the option (or use --profile=refactor) for all 12 Refactor methods. The narrower catalog reduces repeated agent context; it does not weaken preview hashes, the write gate, the confirmation token, or rollback checks.

When Weavatrix Core is already installed as a separate MCP, expose only the 12 methods that Refactor adds:

weavatrix-refactor mcp /absolute/path/to/repository --profile=refactor

The refactor profile is the default for MCP and list-tools, including the marketplace plugin. The former full compatibility profile has been removed and is rejected by both commands: Refactor no longer republishes Core methods. Install Weavatrix Core as its own MCP when read-only repository intelligence is also needed.

A safe cross-file rename in three calls

Suppose two files declare resolveTarget. A bare name is ambiguous, so the server refuses to pick one and returns exact ids:

// rename_symbol

{"symbol":"resolveTarget","new_name":"locateTarget","output_format":"json"}

{ "status": "NOT_FOUND", "reason": "the name matches more than one symbol; pass one of the candidate ids", "candidates": [ "symbol:src/core.ts#function:resolveTarget@2:1", "symbol:src/shadow.ts#function:resolveTarget@3:1" ] }

Retry with the intended id. The result is still read-only: it contains the edit plan, content hashes, the proven edit count, and the references the backend refused to guess at.

// rename_symbol

{ "symbol": "symbol:src/core.ts#function:resolveTarget@2:1", "new_name": "locateTarget", "output_format": "json" }

{ "status": "PLANNED", "completeness": "PARTIAL", "renamedEdits": 7, "uncertainReferences": ["... three named locations ..."], "confirmToken": "single-use-token", "plan": {"schemaVersion":"weavatrix.edit-plan.v1","files":["..."]} }

After reviewing the plan, repeat the same operation with the same inputs and its token:

// rename_symbol

{ "symbol": "symbol:src/core.ts#function:resolveTarget@2:1", "new_name": "locateTarget", "mode": "apply", "confirm_token": "single-use-token", "output_format": "json" }

{"status":"APPLIED"}

This exact flow is exercised against the real stdio MCP server. The repository fixture requires seven edits across three files, preserves four traps (a longer identifier, string, comment, and unrelated shadow), and must still compile; it scores 12/12.

What is automatic today

The twelve tools do not all claim the same level of automation:

LevelToolsWhat the agent receives
Complete preview/apply workflowrename_symbol, rename_related_symbolsA generated plan and token, then a confirmed write by repeating the same operation
Plan-producingchange_signature, edit_symbol, bulk_replace, organize_imports, move_file, move_symbol, delete_closureByte-exact edits or a review plan; use apply_edit_plan where an edit-plan envelope is returned
Advisorydelete_readinessA deletion verdict. A private unused symbol can be safe: true. The verdict stays REVIEW_REQUIRED and nothing is written
Safety infrastructureapply_edit_plan, rollback_last_applyVerification/application of an edit-plan envelope and drift-safe restoration

Refactor uses the Rust Weavatrix graph internally for evidence but never exports Core methods. Install the separate Weavatrix plugin for read-only repository intelligence. The Refactor MCP owns exactly its 12 extension methods; --profile=rename is an optional narrower two-method workflow.

Safety model and exact limits

  • Ambiguous names fail with candidate ids instead of selecting the first match.
  • PARTIAL means the graph proved the edits in the plan but did not prove that no other semantic references exist. uncertainReferences names the places requiring review.
  • Every file in a plan carries a content hash. A changed working tree makes the preview stale instead of applying the old coordinates.
  • Apply requires WEAVATRIX_ALLOW_SOURCE_EDITS=1 plus a short-lived, single-use token bound to that repository and exact recomputed plan.
  • rollback_last_apply refuses to overwrite files that drifted after the transaction.
  • Multi-file writes are journaled and crash-recoverable. Another Refactor process that is reading or writing the same repository receives REPO_BUSY until the call finishes. The confirm token stays usable.

Only edits with proven provenance are applied. A lexical or graph backend is deliberately more conservative than a language server and must not be read as a claim of full compiler semantics.

MCP methods

The default profile exposes these twelve methods. --profile=rename keeps only rename_symbol and rollback_last_apply. A planning method returns an edit plan. apply_edit_plan is the write for every plan except the two rename methods, which apply themselves when mode is "apply".

rename_symbol

Renames one symbol from the graph. A bare name that matches more than one symbol returns NOT_FOUND and the candidate ids. The preview lists the declaration and every call or reference the graph proves, plus import lines of files the graph proves import the declaring file. A same-named occurrence the graph does not prove stays in uncertainReferences and is left unchanged. Completeness stays PARTIAL. Repeat the same symbol and new_name with mode:"apply" and the preview token to write. A missing source span is NOT_A_SYMBOL. A route label is renamed as a path literal.

rename_related_symbols

Renames several symbols in one transaction. The sites are the same ones rename_symbol can prove, in every indexed language. Two symbols given one new name, or two edits of the same site, return CONFLICT. A chain or a swap is applied together and reported in ordering. Completeness stays PARTIAL. Preview returns the token; mode:"apply" with that token writes the whole batch.

change_signature

Plans an added or removed parameter in every indexed language. Kotlin is read with the Java tokenizer. A typed language copies the previous parameter's type. When the new parameter has a default, existing calls stay. Without a default, proven calls are edited when the call supplies a value. A call the graph missed is edited only when that name is declared once and its argument list can be read; otherwise the call is listed. The result stays PARTIAL. Spread arguments are reported and left unchanged. Apply the returned plan with apply_edit_plan.

edit_symbol

Plans a replacement or insertion inside one declaration. The range runs from the declaration through the matching brace or the indent block. When only the signature line can be located, the plan is PARTIAL and warns DECLARATION_END_UNPROVEN. Every plan warns that syntax was not checked. Apply it with apply_edit_plan.

bulk_replace

Plans a literal or regular-expression replacement over indexed code, in two stages: list the occurrences, then plan the ones you accept. Comments and strings are included only when include_trivia is true. An extension the tokenizer does not know still skips // comments, block comments, quotes, and a # that starts a line. The caps are 5000 files, 500 matches in one file, and 5000 matches in the plan. Apply the plan with apply_edit_plan.

organize_imports

Plans removal of a named binding whose identifier occurs once in the file. A Rust snake_case use, a Python from import or alias, a Go path segment, a Java import, a C# using, a C++ using name, and a Kotlin import are removed when that is true. A CamelCase Rust import such as use std::io::Write, a pub use, a bare Python import, a Go blank or dot import, a star import, a C++ #include, and a using namespace stay. JavaScript and TypeScript default and namespace imports stay uncertain. A file whose extension has no recognised import syntax returns NO_UNUSED_IMPORTS. Apply the plan with apply_edit_plan.

move_file

Plans the filesystem rename and the relative import rewrites in one transaction. A missing parent directory is created at a

Only the beginning is shown; read the rest in the repo