x=hub

your toolset

    build deployment
    sign in

    Tokenectomy Razor

    mcpother
    io.github.daffa2555/razor · v1.1.1
    deploy just this

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

    run it

    on your own machines, one way per deploy method
    generated from the record, not tested yet
    # once, as root:
    cargo install --locked tokenectomy --version 1.1.1 --root /usr/local
    
    #!/usr/bin/env bash
    # razor (io.github.daffa2555/razor), recipe baremetal (generated).
    # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-razor.service.
    set -euo pipefail
    export HOST=127.0.0.1 PORT=8101
    exec uvx mcp-proxy --host 127.0.0.1 --port 8101 --pass-environment -- tokenectomy
    
    [Unit]
    Description=MCP server razor (toolset my-agent), generated by Hub
    After=network-online.target
    Wants=network-online.target
    
    [Service]
    Type=simple
    User=mcp
    Group=mcp
    EnvironmentFile=/etc/mcp/my-agent.env
    Environment=HOME=/var/lib/mcp/razor
    WorkingDirectory=/var/lib/mcp/razor
    ExecStart=/opt/mcp/my-agent/bin/razor.sh
    Restart=on-failure
    RestartSec=5
    NoNewPrivileges=true
    ProtectSystem=strict
    ProtectHome=true
    PrivateTmp=true
    ReadWritePaths=/var/lib/mcp/razor
    
    [Install]
    WantedBy=multi-user.target
    

    connect to it

    copy what your client needs
    tokenectomy
    {
      "mcpServers": {
        "razor": {
          "command": "tokenectomy",
          "args": []
        }
      }
    }
    #!/usr/bin/env bash
    # Registers every server with Claude Code (run once; `claude mcp list` to check).
    set -euo pipefail
    set -a; [ -f .env ] && source .env; set +a
    claude mcp add razor -- tokenectomy
    
    {
      "mcpServers": {
        "razor": {
          "command": "tokenectomy",
          "args": []
        }
      }
    }
    {
      "servers": {
        "razor": {
          "type": "stdio",
          "command": "tokenectomy",
          "args": []
        }
      }
    }
    name: my-agent
    target: local
    servers:
    - hub: io.github.daffa2555/razor
    
    • not probed yet: tools unpinned, ingest lists them

    tools

    Not probed yetThe tools appear once the hub or its worker has listed this entry. Running it still works: your client lists them on first start.