# Tokenectomy Labs Razor MCP server

Source: https://glimind.com/server/mcp-registry%2Fio.github.tokenectomy-labs%2Frazor
Registry id: `mcp-registry/io.github.tokenectomy-labs/razor`
Status: unknown

## Install

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

Claude Code:

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

## Tools (5)

- `analyze_code`: Performs static AST code analysis to detect resource leaks, unclosed handles, and security vulnerabilities with bounded execution limits and precise LSP UTF-16 
- `apply_code_patch`: Applies atomic file modifications with post-write language syntax verification and automated zero-dirty-diff rollback on validation failure.
- `audit_context_health`: Proactively audits error logs, prompt payloads, or code snippets for token bloat, framework noise, and credential leaks. Returns actionable M2M telemetry and co
- `get_error_context`: Performs deep polyglot trace surgery on error dumps, removes 90%+ framework noise, redacts credentials, and extracts local source context bounded to the workspa
- `search_stack_overflow`: Queries Stack Exchange API for relevant error signatures using sanitized search terms.

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
