Weavatrix Refactor Js
Transactional refactoring MCP with 11 evidence-backed tools, hash-bound previews, and rollback.
Connector by sergii-ziborov · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/sergii-ziborov-weavatrix-refactor-js
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 0 read · 7 write · 4 delete
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 11
Read from the source code; the running server may list different tools.
Write 7 · Create, change, send or run things.
apply_edit_planbulk_replaceedit_symbolmove_filemove_symbolrename_related_symbolsrename_symbol
Delete 4 · Delete, drop, revoke or wipe things.
change_signaturedelete_readinessorganize_importsrollback_last_apply
Secrets and settings it asks for
Other settings (environment variables or headers).
WEAVATRIX_ALLOW_SOURCE_EDITSWEAVATRIX_PRECISIONWEAVATRIX_REFACTOR_HOME
Files it touches
- Any path the agent passes to its tools
Tools (11)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
apply_edit_planApply a weavatrix.edit-plan.v1 envelope (from a weavatrix-refactor-js plan producer or weavatrix-online plan_refactor) to the active repository. mode="preview" (default) verifies hashes and before-texts and issues a single-use confirm_token; mode="apply" consumes the token and writes atomically with an automatic rollback bundle. Requires WEAVATRIX_ALLOW_SOURCE_EDITS=1 to write. Only EXACT_LSP/RESOLVED/EXTRACTED/LEXICAL_EXACT edits are ever applied; uncertain references are reported, never guessed.
bulk_replaceTwo-stage occurrence-selective pattern replace over the indexed universe. Preview (no selection) returns stable occurrence ids; then pass occurrence_ids or expected_count to plan. literal:true by default.
change_signatureAdd or remove a function/method parameter (JS/TS) with byte-exact call-site argument surgery. Always PARTIAL (call sites from graph edges); spread/value-add reported UNCERTAIN. operation: {kind:"add_parameter",name,default?} | {kind:"remove_parameter",index}.
delete_readinessPer-symbol deletion verdict {safe: true|false|UNPROVEN, knownReferences, unknownDynamicUsages, confidence, reason} plus the deletion span. Exported symbols cap at UNPROVEN; always REVIEW_REQUIRED, never auto-delete.
edit_symbolSymbol-anchored edit over the parser source range (all languages): replace_symbol_body | insert_before_symbol | insert_after_symbol. JS/TS results are parse-gated.
move_fileRelocate a JS/TS file: rewrites the moved file own imports and every importer specifier, and reports the architecture dry-run (WOULD_VIOLATE/WOULD_IMPROVE). A review plan the agent applies (it renames a file), not an apply envelope.
move_symbolDry-run for moving a declaration to another file: predicts introduced/removed runtime cycles and architecture violations plus the blast radius. PROJECTED from graph edges — no byte-exact edits; apply the mechanical move yourself and run verified_change.
organize_importsRemoves provably-unused named imports from a JS/TS file (a binding is removed only when its name occurs once in the file). Default/namespace imports are reported UNCERTAIN, never removed; sorting is left to the formatter.
rename_related_symbolsComplete coordinated JS/TS multi-symbol rename as ONE atomic workflow with conflict/chain/swap detection. Default mode="preview" returns a plan-bound confirm_token; repeat with identical renames, mode="apply", and that token to write atomically with rollback. Blocks entirely if any sub-rename fails.
rename_symbolComplete cross-language rename workflow: EXACT LSP backend for JS/TS, SQL schema backend for .sql, graph+lexical backend for Rust/Python/Go/Java/C#/Solidity. Default mode="preview" proves the byte-exact edits and returns a single-use confirm_token; repeat the same call with mode="apply" and that token for an atomic write with rollback. Requires WEAVATRIX_ALLOW_SOURCE_EDITS=1 only for apply.
rollback_last_applyRestore the repository files from the most recent apply_edit_plan rollback bundle. All-or-nothing: if any target file changed after the apply, nothing is restored and the drifted files are reported. Requires WEAVATRIX_ALLOW_SOURCE_EDITS=1.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit
- Aug 24, 2026 (2 months ago)
- Last release
- Aug 10, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.sergii-ziborov/weavatrix-refactor-js- Version
- 0.1.6
- Auth
- No auth
- Packages
- npm weavatrix-refactor-js
- License
- MIT
- Website
- weavatrix.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from sergii-ziborov
- 0.591score
Weavatrix
sergii-ziborov
Native Weavatrix MCP: 43 read-only repository tools across 24 code and configuration surfaces.
ConnectorBFreshness: BLocal★ 4Claude Code +5 - 0.573score
Hostwatch
sergii-ziborov
Observe and safely control sites, TLS, containers, traffic, databases and jobs with Hostwatch.
ConnectorAFreshness: ARemoteClaude Code +3 - 0.567score
RadioChron
sergii-ziborov
Local-first Wi-Fi incident diagnostics with native BLE scan, history, and risk evidence.
ConnectorBFreshness: BLocal★ 1Claude Code +5 - 0.562score
Weavatrix Online
sergii-ziborov
Weavatrix Online extension: guarded sync, advisories, malware review, architecture contracts.
ConnectorBFreshness: BLocal★ 1Claude Code +5 - 0.562score
Weavatrix Refactor
sergii-ziborov
Transactional refactoring extension with 11 evidence-backed tools, previews, and rollback.
ConnectorBFreshness: BLocal★ 1Claude Code +5 - 0.543score
Weavatrix Git
sergii-ziborov
Fast, bounded, read-only Git evidence for local AI coding agents.
ConnectorBFreshness: BLocalClaude Code +5
Cite this page
Weavatrix Refactor Js MCP server. Agent Mart. https://agentmart.dev/connectors/sergii-ziborov-weavatrix-refactor-js (last updated 2026-10-24)