Skip to main content
Relay publishes every page as Markdown, the full site as one file, and the API contract as OpenAPI.

Machine-readable docs

Use the text files when feeding Relay docs into a build pipeline, RAG system, or system prompt: fetch llms-full.txt at build time or runtime. Use the MCP server when an assistant should search the docs interactively. The page menu on every doc can also copy the page as Markdown or open it in ChatGPT, Claude, or Cursor.

Install the Relay skill

One command teaches Claude Code, Cursor, Codex, or any skills-aware agent the complete Relay integration, offline:
The skill covers the quickstart loop, Agent Tokens, signed webhooks, typed message parts, streaming, interactive components, groups, receipts, limits, and errors. Its topic files are generated from these docs, so the two never disagree.

Connect the MCP server

The server at https://docs.relayapp.im/mcp speaks streamable HTTP and exposes docs search and retrieval tools. No authentication is required.
Once connected, ask the assistant to search Relay docs before writing integration code; the server returns current page content with source links.

The integration brief

Paste this into a coding agent or save it beside an existing integration. It covers the current v0 HTTPS contract.
The quickstart is intentionally curl-first, and the streaming guide shows the direct AI SDK handoff without introducing a Relay SDK or a second agent runtime.

Next steps