# Tokenectomy Razor

> Tokenectomy Razor is an open-source MCP server. Autonomous log surgery & secret redaction MCP server for AI coding agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/daffa2555/tokenectomy
- **MCP Registry name:** io.github.daffa2555/razor
- **Listing updated:** 2026-09-07

## About

Autonomous log surgery & secret redaction MCP server for AI coding agents.

## Install

### Claude Code (Terminal)

```sh
claude mcp add razor -- npx -y tokenectomy
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "razor": {
      "command": "npx",
      "args": [
        "-y",
        "tokenectomy"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "razor": {
      "command": "npx",
      "args": [
        "-y",
        "tokenectomy"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "razor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tokenectomy"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "razor": {
      "command": "npx",
      "args": [
        "-y",
        "tokenectomy"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "razor": {
      "command": "npx",
      "args": [
        "-y",
        "tokenectomy"
      ]
    }
  }
}
```

## FAQ

### Is Tokenectomy Razor free?

Yes. Tokenectomy Razor is open source, so you can use and self-host it for free.

### How do I add Tokenectomy Razor to Claude Code?

Run this command in your terminal: claude mcp add razor -- npx -y tokenectomy

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/tokenectomy-razor
