{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.sergii-ziborov/weavatrix-refactor-js",
  "slug": "io.github.sergii-ziborov.weavatrix-refactor-js",
  "title": "weavatrix-refactor-js",
  "summary": "Transactional refactoring MCP with 11 evidence-backed tools, hash-bound previews, and rollback.",
  "version": "0.1.6",
  "serverKey": "weavatrix-refactor-js",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.sergii-ziborov.weavatrix-refactor-js",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.sergii-ziborov.weavatrix-refactor-js/install.md",
  "trust": {
    "score": 83,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T01:30:44.73623785Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=weavatrix-refactor-js@0.1.6",
        "weavatrix-refactor-js-mcp",
        "<repoRoot>"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add weavatrix-refactor-js -- npx -y --package=weavatrix-refactor-js@0.1.6 weavatrix-refactor-js-mcp '<repoRoot>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"weavatrix-refactor-js\": {\n      \"args\": [\n        \"-y\",\n        \"--package=weavatrix-refactor-js@0.1.6\",\n        \"weavatrix-refactor-js-mcp\",\n        \"<repoRoot>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"weavatrix-refactor-js\": {\n      \"args\": [\n        \"-y\",\n        \"--package=weavatrix-refactor-js@0.1.6\",\n        \"weavatrix-refactor-js-mcp\",\n        \"<repoRoot>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"weavatrix-refactor-js\": {\n      \"args\": [\n        \"-y\",\n        \"--package=weavatrix-refactor-js@0.1.6\",\n        \"weavatrix-refactor-js-mcp\",\n        \"<repoRoot>\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.weavatrix-refactor-js]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=weavatrix-refactor-js@0.1.6\", \"weavatrix-refactor-js-mcp\", \"<repoRoot>\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "WEAVATRIX_ALLOW_SOURCE_EDITS",
      "required": false,
      "secret": false,
      "description": "Set to 1 to authorize apply_edit_plan and rollback to write source files; unset, the refactor tools stay preview-only",
      "help": "Set to 1 to authorize apply_edit_plan and rollback to write source files; unset, the refactor tools stay preview-only",
      "placeholder": "<WEAVATRIX_ALLOW_SOURCE_EDITS>"
    },
    {
      "name": "WEAVATRIX_REFACTOR_HOME",
      "required": false,
      "secret": false,
      "description": "Optional directory for the rollback snapshot store; defaults to a per-repo location",
      "help": "Optional directory for the rollback snapshot store; defaults to a per-repo location",
      "placeholder": "<WEAVATRIX_REFACTOR_HOME>"
    },
    {
      "name": "WEAVATRIX_PRECISION",
      "required": false,
      "secret": false,
      "description": "Core semantic precision: lsp (default) or off",
      "help": "Core semantic precision: lsp (default) or off",
      "placeholder": "<WEAVATRIX_PRECISION>"
    }
  ],
  "expectedTools": [
    "graph_stats",
    "get_node",
    "get_neighbors",
    "query_graph",
    "god_nodes",
    "shortest_path",
    "get_dependents",
    "change_impact",
    "git_history",
    "verified_change",
    "trace_api_contract",
    "get_community",
    "search_code",
    "read_source",
    "inspect_symbol",
    "context_bundle",
    "find_duplicates",
    "find_dead_code",
    "run_audit",
    "coverage_map",
    "hot_path_review",
    "list_communities",
    "module_map",
    "list_endpoints",
    "trace_endpoint",
    "rebuild_graph",
    "graph_diff",
    "get_architecture_contract",
    "prepare_change",
    "verify_architecture",
    "explain_architecture_violation",
    "propose_architecture_exception",
    "open_repo",
    "list_known_repos",
    "apply_edit_plan",
    "rollback_last_apply",
    "rename_symbol",
    "rename_related_symbols",
    "move_file",
    "move_symbol",
    "delete_readiness",
    "change_signature",
    "edit_symbol",
    "bulk_replace",
    "organize_imports"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: graph_stats, get_node, get_neighbors, query_graph, god_nodes, shortest_path, get_dependents, change_impact, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T01:30:44.73623785Z"
}
