MCP Server
MCP
io.github.sergii-ziborov/weavatrix-refactor-js
Transactional refactoring MCP with 11 evidence-backed tools, hash-bound previews, and rollback.
Install
npx -y [email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "weavatrix-refactor-js",
"version": "0.1.6",
"runtimeHint": "npx",
"transport": {
"type": "stdio"
},
"packageArguments": [
{
"description": "Absolute path to the initial local Git repository",
"isRequired": true,
"type": "positional",
"valueHint": "repoRoot"
}
],
"environmentVariables": [
{
"description": "Set to 1 to authorize apply_edit_plan and rollback to write source files; unset, the refactor tools stay preview-only",
"format": "string",
"name": "WEAVATRIX_ALLOW_SOURCE_EDITS"
},
{
"description": "Optional directory for the rollback snapshot store; defaults to a per-repo location",
"format": "string",
"name": "WEAVATRIX_REFACTOR_HOME"
},
{
"description": "Core semantic precision: lsp (default) or off",
"format": "string",
"name": "WEAVATRIX_PRECISION"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment