kohaku-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KOHAKU_MCP_KEY_FILE | No | Path to the relay key file (keep it at mode 600). | ~/.config/kohaku-mcp/relay_key |
| KOHAKU_MCP_LOG_FILE | No | Optional call log (JSON Lines): time, tool, destination, outcome, message id, and a 40-character summary of the text. Full text and the key are never logged. | |
| KOHAKU_MCP_RELAY_KEY | No | Fallback key, used only when no key file exists (intended for tests). | |
| KOHAKU_MCP_RELAY_BASE | No | Relay base URL override. The host must pass the allowlist check. | https://relay.dgtl-base.com |
| KOHAKU_MCP_ALLOW_INSECURE_BASE | No | Set to 1 to allow a localhost base URL (tests only). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| relay_readA | Read from the Muse Relay. target: "messages" | "threads" | "signal". limit: only used for target="messages" (default 5, range 1-100). Returns {outcome, status, body}. HTTP errors are returned as-is (outcome="http_error"); the server never retries on its own. |
| relay_postA | Send a message through the Muse Relay. read_sources is mandatory: at least one entry naming what was read before sending. An empty list is a server-side error and nothing is sent. Sends are not idempotent: on timeout the result has outcome="unknown" (送信不明) and the server never retries; confirm the state with relay_read instead. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools split cleanly along write vs. read lines: relay_post sends, relay_read fetches state. The descriptions even cross-reference each other (use relay_read to confirm an unknown send outcome), so there is no risk of misselection.
Both tools follow the same `relay_<verb>` pattern (relay_post, relay_read), giving a predictable namespace with a clear action suffix.
Two tools is thin for a messaging surface, even a narrow relay; much of the functionality is multiplexed into relay_read's target parameter rather than expressed as separate well-scoped tools. It is defensible for a minimal relay client but sits at the low end of appropriate.
Send and read (including messages, threads, and signal state) cover the core relay lifecycle, and the timeout/idempotency guidance closes the main failure-mode gap. However, there is no way to acknowledge, delete, or otherwise manage messages/threads, leaving a few dead ends.