MCP connection guide

Connect your agent to Relay Cloud.

One remote MCP endpoint for Claude, ChatGPT, Codex, Cursor, Grok, DeepSeek and any MCP-capable client. Authentication is a customer API key or OAuth when the client requires it.

Streamable HTTPOAuth discoveryAPI-key bearerNo local install

Your private connection URL

One URL, no header and no key entry in the client. Anyone with this link can act as this customer, so share it like a password.

Stays in this browser. Fills every snippet below; never sent to this page.

Install in Cursor ↗

Claude Code

CLI, HTTP transport

claude mcp add --transport http relay-cloud \ https://cloud-mcp.duitpoket.fun/mcp \ --header "Authorization: Bearer <customer-api-key>"

Claude (web and phone app)

Add once on claude.ai from your phone browser; then use it in the Claude iPhone and Android apps.

  1. Tap Add to Claude below; it opens Claude with the name and URL prefilled.
  2. Tap Connect, paste your Relay Cloud API key once, and approve.
  3. Open the Claude iPhone or Android app, tap +, then Connectors, and turn Relay on.
Add to Claude ↗
https://cloud-mcp.duitpoket.fun/mcp

The Claude phone apps can use the connector but cannot add it. Free Claude plans allow one custom connector.

ChatGPT

Developer mode → Add MCP connector

https://cloud-mcp.duitpoket.fun/mcp

Use OAuth. Enter the customer API key on the Relay authorization page.

Cursor

mcp.json, HTTP with headers

{ "mcpServers": { "relay-cloud": { "url": "https://cloud-mcp.duitpoket.fun/mcp", "headers": { "Authorization": "Bearer <customer-api-key>" } } } }

Codex

config.toml, HTTP MCP server

[mcp_servers.relay_cloud] url = "https://cloud-mcp.duitpoket.fun/mcp" http_headers = { Authorization = "Bearer <customer-api-key>" }

Grok Bot

Remote MCP connector

URL: https://cloud-mcp.duitpoket.fun/mcp Header: Authorization: Bearer <customer-api-key>

Use OAuth if the Grok connector UI does not expose request headers.

Hermes, OpenClaw, DeepSeek, Muse

Any MCP client with HTTP transport

Transport: Streamable HTTP URL: https://cloud-mcp.duitpoket.fun/mcp Auth: Bearer <customer-api-key>

Any stdio-only client

Use mcp-remote as a bridge

npx -y mcp-remote \ https://cloud-mcp.duitpoket.fun/mcp \ --header "Authorization: Bearer <customer-api-key>"
Your API key is the password. Generate or copy it from the Relay console under Settings, then Profile and API key. Do not put it in a public URL or commit it. The /mcp URL is an API endpoint; opening it in a browser returns 401 by design. Use /health for a browser check.
1. Get your keySign in to Relay, open Settings → Profile & API key, add your email and phone, save, then generate a key.
2. ConnectAdd the endpoint in your MCP client using the API key or OAuth.
3. VerifyCall relay_balance or relay_accounts to confirm the connection and see your state.