Relay
v0.1.9Run any Relay model (image, video, audio, LLM), poll tasks, upload files and search Relay's docs.
Values you need
| Variable | What it is | |
|---|---|---|
RELAY_API_KEY | required secret | Your Relay API key (relay_sk_...) from dashboard.relaygpu.com/keys. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -e 'RELAY_API_KEY=<RELAY_API_KEY>' -- npx -y --package=@relaygpu/mcp@0.1.9 relaygpu-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@relaygpu/mcp@0.1.9",
"relaygpu-mcp"
],
"command": "npx",
"env": {
"RELAY_API_KEY": "<RELAY_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@relaygpu/mcp@0.1.9",
"relaygpu-mcp"
],
"command": "npx",
"env": {
"RELAY_API_KEY": "<RELAY_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "RELAY_API_KEY",
"id": "relay-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"-y",
"--package=@relaygpu/mcp@0.1.9",
"relaygpu-mcp"
],
"command": "npx",
"env": {
"RELAY_API_KEY": "${input:relay-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@relaygpu/mcp@0.1.9", "relaygpu-mcp"]
env = { "RELAY_API_KEY" = "<RELAY_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http mcp https://mcp.relaygpu.com/mcp --header 'X-API-Key: <X-API-Key>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mcp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.relaygpu.com/mcp",
"--header",
"X-API-Key: <X-API-Key>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"headers": {
"X-API-Key": "<X-API-Key>"
},
"url": "https://mcp.relaygpu.com/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp": {
"headers": {
"X-API-Key": "<X-API-Key>"
},
"type": "http",
"url": "https://mcp.relaygpu.com/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.relaygpu.com/mcp", "--header", "X-API-Key: <X-API-Key>"]For AI agents
- Ask the user for: RELAY_API_KEY. 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: search_models, get_model, get_pricing, estimate_cost, run_model, check_task, upload_file, list_workflows, ….
- 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