io.github.sergii-ziborov/weavatrix-refactor MCP Server
io.github.sergii-ziborov/weavatrix-refactor
What is the io.github.sergii-ziborov/weavatrix-refactor MCP server?
Transactional refactoring MCP with 11 evidence-backed tools, hash-bound previews, and rollback.
How to install io.github.sergii-ziborov/weavatrix-refactor
Copy-paste configuration for popular MCP clients.
WEAVATRIX_ALLOW_SOURCE_EDITSSet to 1 to authorize confirmed apply operations and rollback to write source files; unset, the refactor tools stay preview-only
{
"mcpServers": {
"weavatrix-refactor": {
"command": "npx",
"args": [
"-y",
"weavatrix-refactor",
"mcp",
"repoRoot"
],
"env": {
"WEAVATRIX_ALLOW_SOURCE_EDITS": "<YOUR_WEAVATRIX_ALLOW_SOURCE_EDITS>"
}
}
}
}{
"mcpServers": {
"weavatrix-refactor": {
"command": "npx",
"args": [
"-y",
"weavatrix-refactor",
"mcp",
"repoRoot"
],
"env": {
"WEAVATRIX_ALLOW_SOURCE_EDITS": "<YOUR_WEAVATRIX_ALLOW_SOURCE_EDITS>"
}
}
}
}{
"mcpServers": {
"weavatrix-refactor": {
"command": "npx",
"args": [
"-y",
"weavatrix-refactor",
"mcp",
"repoRoot"
],
"env": {
"WEAVATRIX_ALLOW_SOURCE_EDITS": "<YOUR_WEAVATRIX_ALLOW_SOURCE_EDITS>"
}
}
}
}{
"servers": {
"weavatrix-refactor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"weavatrix-refactor",
"mcp",
"repoRoot"
],
"env": {
"WEAVATRIX_ALLOW_SOURCE_EDITS": "<YOUR_WEAVATRIX_ALLOW_SOURCE_EDITS>"
}
}
}
}claude mcp add weavatrix-refactor --env WEAVATRIX_ALLOW_SOURCE_EDITS=<YOUR_WEAVATRIX_ALLOW_SOURCE_EDITS> -- npx -y weavatrix-refactor mcp repoRootRelated MCP servers
Weavatrix
Native Weavatrix MCP: 43 read-only repository tools across 24 code and configuration surfaces.
RadioChron
Local-first Wi-Fi incident diagnostics with native BLE scan, history, and risk evidence.
Source-free Weavatrix MCP: preview-gated sync, advisories, malware review, architecture contracts.
Weavatrix Git
Fast, bounded, read-only Git evidence for local AI coding agents.
Always-fresh local repo graph: LSP-backed impact, Health, dead code, endpoints, architecture.
Transactional refactoring MCP with 11 evidence-backed tools, hash-bound previews, and rollback.