baton-proxy

good-timing/baton-proxy
★ 2 stars Python AI/LLM Updated 9d ago
Subprocess-wrap MCP proxy: wraps a stdio MCP server, injects an annotation tool into the handshake, and emits friction events to a Baton Console. Apache 2.0.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "baton-proxy": {
      "command": "uvx",
      "args": [
        "baton-proxy"
      ]
    }
  }
}

Or install with pip: pip install baton-proxy

README Excerpt

Subprocess-wrap MCP proxy. Wraps a stdio MCP server, injects an annotation tool into the handshake, and emits friction events to one or more sinks (stderr, a JSONL file, or a Baton Console). Zero changes to the underlying MCP server. The proxy *is* the MCP server from Claude's perspective; the real server is its child process.

Tools (9)

BATON_API_KEYBATON_CONSENT_TOKENBATON_EVENT_SINKBATON_PROXY_LOG_FILEBATON_TENANT_IDBATON_VENDOR_IDtool_call_endtool_call_errortool_call_start