Koskamo

Weavatrix Refactor MCP

A transactional refactoring layer for AI coding agents that provides 11 MCP methods for evidence-backed planning, write-gated application, and drift-checked rollback. It operates over a Rust evidence engine to ensure safe, previewable, and recoverable source code modifications.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Weavatrix Refactor MCP logo, by WeavatrixCommunity listingLocal stdioSource reviewed; not executedPublished by Weavatrix
Vendor documentation

What you can do with it

  • Preview byte-exact edits before applying changes
  • Rename symbols across files with impact analysis
  • Rollback last applied changes to restore state
  • Analyze change impact and blast radius

Source and maintenance

Community listingRegistry 1.0.8
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

weavatrix-refactor 1.0.8

npmnpx
weavatrix-refactor package definition
{
  "version": "1.0.8",
  "transport": "stdio",
  "identifier": "weavatrix-refactor",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "packageArguments": [
    {
      "type": "positional",
      "value": "mcp"
    },
    {
      "type": "positional",
      "format": "filepath",
      "default": ".",
      "valueHint": "repoRoot",
      "description": "Absolute path to the initial local repository; defaults to the current directory"
    }
  ],
  "environmentVariables": [
    {
      "name": "WEAVATRIX_ALLOW_SOURCE_EDITS",
      "format": "string",
      "description": "Set to 1 to authorize confirmed apply operations and rollback to write source files; unset, the refactor tools stay preview-only"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "weavatrix-refactor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor@1.0.8",
        "mcp"
      ],
      "env": {
        "WEAVATRIX_ALLOW_SOURCE_EDITS": "<YOUR_WEAVATRIX_ALLOW_SOURCE_EDITS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "weavatrix-refactor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor@1.0.8",
        "mcp"
      ],
      "env": {
        "WEAVATRIX_ALLOW_SOURCE_EDITS": "<YOUR_WEAVATRIX_ALLOW_SOURCE_EDITS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "weavatrix-refactor-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor@1.0.8",
        "mcp"
      ],
      "env": {
        "WEAVATRIX_ALLOW_SOURCE_EDITS": "<YOUR_WEAVATRIX_ALLOW_SOURCE_EDITS>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "weavatrix-refactor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor@1.0.8",
        "mcp"
      ],
      "env": {
        "WEAVATRIX_ALLOW_SOURCE_EDITS": "<YOUR_WEAVATRIX_ALLOW_SOURCE_EDITS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Weavatrix Refactor MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.