Weavatrix Refactor JS MCP Server
by sergii-ziborovio.github.sergii-ziborov/weavatrix-refactor-jsv0.1.6
Transactional refactoring MCP with 11 evidence-backed tools, hash-bound previews, and rollback.
context tax
queued
security
queued
cold start
queued
freshness
Maintained47d ago
Install Weavatrix Refactor JS MCP server
Install in Claude Code
claude mcp add weavatrix-refactor-js -- npx -y weavatrix-refactor-js '<reporoot>'Install in Cursor
{
"mcpServers": {
"weavatrix-refactor-js": {
"command": "npx",
"args": [
"-y",
"weavatrix-refactor-js",
"<reporoot>"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"weavatrix-refactor-js": {
"command": "npx",
"args": [
"-y",
"weavatrix-refactor-js",
"<reporoot>"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"weavatrix-refactor-js": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"weavatrix-refactor-js",
"<reporoot>"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"weavatrix-refactor-js": {
"command": "npx",
"args": [
"-y",
"weavatrix-refactor-js",
"<reporoot>"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| WEAVATRIX_ALLOW_SOURCE_EDITS | — | — | 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 directory for the rollback snapshot store; defaults to a per-repo location |
| WEAVATRIX_PRECISION | — | — | Core semantic precision: lsp (default) or off |
Freshness
Maintained — last maintenance signal 47d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-24 · 47d ago · GitHub
Latest release
2026-08-10 · 2mo ago · GitHub · v0.1.6
Package published
no data · npm/PyPI
Registry entry updated
2026-08-10 · 2mo ago · official registry · v0.1.6
FAQ
›How do I install the Weavatrix Refactor JS MCP server in Claude Code?
Run: claude mcp add weavatrix-refactor-js -- npx -y weavatrix-refactor-js '<reporoot>'. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Weavatrix Refactor JS require an API key?
No required environment variables are declared in its published metadata.
›Can I use Weavatrix Refactor JS as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Weavatrix Refactor JS in the official MCP registry?
Yes, as io.github.sergii-ziborov/weavatrix-refactor-js.