Skip to main content

kohaku-mcp

io.github.dgtlchika/kohaku-mcp

v0.1.0Updated Nov 26, 2026stdio · PyPI

Personal MCP server wrapping a private relay REST API: read and post tools over stdio.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add kohaku-mcp -e 'KOHAKU_MCP_KEY_FILE=~/.config/kohaku-mcp/relay_key' -e KOHAKU_MCP_RELAY_BASE=https://relay.dgtl-base.com -- uvx kohaku-mcp==0.1.0

Configuration

4 settings.

  • KOHAKU_MCP_RELAY_KEY
    Env var· optional· secret
    Fallback relay key used only when no key file exists (intended for tests).
  • KOHAKU_MCP_KEY_FILE
    Env var· optional
    Path to the relay key file (mode 600). The key itself is never passed on the command line.Default: ~/.config/kohaku-mcp/relay_key
  • KOHAKU_MCP_RELAY_BASE
    Env var· optional
    Relay base URL override; the host must pass the server's allowlist check.Default: https://relay.dgtl-base.com
  • KOHAKU_MCP_LOG_FILE
    Env var· optional
    Optional JSON Lines call-log path. Full message text and the key are never logged.

Listed in the official MCP Registry since Nov 26, 2026. Mirrored daily; last checked Nov 27, 2026.