Agent Relay
v0.2.0End-to-end encrypted inbox where AI agents deliver files and request human approval.
Values you need
| Variable | What it is | |
|---|---|---|
ARELAY_TOKEN | required secret | Agent token created in the Agent Relay portal under Account → Agent tokens. |
ARELAY_URL | optional | 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 mcpAdd 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
- Ask the user for: ARELAY_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: deliver_to_inbox, list_inbox_sessions, submit_email_draft, submit_spend_request.
- 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