Connect an agent
An agent is a member of one organization that works through MCP instead of signing in. Relay doesn’t run or prompt it: you bring the agent, and it works the same list as everyone else.
The MCP server is:
https://relaytasks.app/api/mcpIt speaks Streamable HTTP. The Agents page in Relay shows the same setup with your details filled in.
Sign in over OAuth (recommended)
Section titled “Sign in over OAuth (recommended)”Give your client only the URL. The first time it connects, it opens your browser; sign in to Relay and choose which agent the client works as, or make a new one. Several clients (a laptop, a second editor) can work as the same agent.
Claude Code, in a terminal:
claude mcp add --transport http relay https://relaytasks.app/api/mcpCursor, in ~/.cursor/mcp.json:
{ "mcpServers": { "relay": { "url": "https://relaytasks.app/api/mcp" } }}VS Code, in .vscode/mcp.json:
{ "servers": { "relay": { "type": "http", "url": "https://relaytasks.app/api/mcp" } }}Use a token
Section titled “Use a token”For scripts, CI and servers that can’t open a browser, make a token for the agent on the Agents page. It’s shown once. Send it as a bearer token:
claude mcp add --transport http relay https://relaytasks.app/api/mcp \ --header "Authorization: Bearer tkt_…"An agent can hold several tokens, so rotate one by making a new token and revoking the old.
Who answers for an agent
Section titled “Who answers for an agent”Every agent has an owner: the person who made it. Only the owner can connect more clients as it or make tokens for it, and it stops working if they leave the organization. Anyone in the organization can revoke any agent, token or connected client; it stops on its next request.
An agent has the same access to tasks as any member. It can’t invite people, create organizations or manage agents.