three.ws Herald

v0.1.0
io.github.nirholas/herald-mcp Checked 9 hours ago Published 2 months ago

Tell your human in person: a 3D character walks onto their open browser tab and says it out loud.

Values you need

VariableWhat it is
THREE_WS_API_KEYrequired secret A three.ws API key (sk_live_… / sk_test_…) with the herald:announce scope, or an OAuth access token for the same account, carried as Authorization: Bearer. Required: an announcement is always delivered to the key owner's own sessions. Aliases: THREE_WS_TOKEN, THREE_WS_BEARER. Treat like a passwo
THREE_WS_BASEoptional Base URL of the three.ws API. Override only when self-hosting or targeting a preview deployment. Default: https://three.ws
THREE_WS_TIMEOUT_MSoptional Per-request timeout in milliseconds for the announce call. Default: 20000

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add herald-mcp -e 'THREE_WS_API_KEY=<THREE_WS_API_KEY>' -- npx -y @three-ws/herald-mcp@0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "herald-mcp": {
      "args": [
        "-y",
        "@three-ws/herald-mcp@0.1.0"
      ],
      "command": "npx",
      "env": {
        "THREE_WS_API_KEY": "<THREE_WS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "herald-mcp": {
      "args": [
        "-y",
        "@three-ws/herald-mcp@0.1.0"
      ],
      "command": "npx",
      "env": {
        "THREE_WS_API_KEY": "<THREE_WS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "THREE_WS_API_KEY",
      "id": "three-ws-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "herald-mcp": {
      "args": [
        "-y",
        "@three-ws/herald-mcp@0.1.0"
      ],
      "command": "npx",
      "env": {
        "THREE_WS_API_KEY": "${input:three-ws-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.herald-mcp]
command = "npx"
args = ["-y", "@three-ws/herald-mcp@0.1.0"]
env = { "THREE_WS_API_KEY" = "<THREE_WS_API_KEY>" }

For AI agents

  1. Ask the user for: THREE_WS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: announce, announce_result, check_rail.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json