weavatrix refactor for Cursor
io.github.weavatrix/weavatrix-refactor
Transactional refactoring extension with 11 evidence-backed tools, previews, and rollback.
client:Cursor
transport:stdio
runtime:npm
Install weavatrix refactor in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"weavatrix-refactor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"weavatrix-refactor"
],
"env": {
"WEAVATRIX_ALLOW_SOURCE_EDITS": "<WEAVATRIX_ALLOW_SOURCE_EDITS>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs