Agent Relay

v0.2.0
io.github.mmmikael/arelay Checked 11 hours ago Published 3 months ago

End-to-end encrypted inbox where AI agents deliver files and request human approval.

Values you need

VariableWhat it is
ARELAY_TOKENrequired secret Agent token created in the Agent Relay portal under Account → Agent tokens.
ARELAY_URLoptional Base URL of the Agent Relay deployment. Defaults to https://arelay.app.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add arelay -e 'ARELAY_TOKEN=<ARELAY_TOKEN>' -- npx -y --package=@arelay/cli@0.2.0 arelay mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "arelay": {
      "args": [
        "-y",
        "--package=@arelay/cli@0.2.0",
        "arelay",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "ARELAY_TOKEN": "<ARELAY_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "arelay": {
      "args": [
        "-y",
        "--package=@arelay/cli@0.2.0",
        "arelay",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "ARELAY_TOKEN": "<ARELAY_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ARELAY_TOKEN",
      "id": "arelay-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "arelay": {
      "args": [
        "-y",
        "--package=@arelay/cli@0.2.0",
        "arelay",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "ARELAY_TOKEN": "${input:arelay-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.arelay]
command = "npx"
args = ["-y", "--package=@arelay/cli@0.2.0", "arelay", "mcp"]
env = { "ARELAY_TOKEN" = "<ARELAY_TOKEN>" }

For AI agents

  1. Ask the user for: ARELAY_TOKEN. 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: deliver_to_inbox, list_inbox_sessions, submit_email_draft, submit_spend_request.
  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