weavatrix refactor for VS Code
io.github.sergii-ziborov/weavatrix-refactor
Transactional refactoring extension with 11 evidence-backed tools, previews, and rollback.
client:VS Code
transport:stdio
runtime:npm
Install weavatrix refactor in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "weavatrix-allow-source-edits",
"description": "WEAVATRIX_ALLOW_SOURCE_EDITS",
"password": true
}
],
"servers": {
"weavatrix-refactor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"weavatrix-refactor"
],
"env": {
"WEAVATRIX_ALLOW_SOURCE_EDITS": "${input:weavatrix-allow-source-edits}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs