RELAYTO logo

RELAYTO MCP server: connect Claude, Cursor and AI agents to RELAYTO

Connect Claude, Cursor, VS Code and other AI agents to RELAYTO with the hosted MCP server at mcp.relayto.com/mcp: OAuth sign-in, about 30 tools, setup for every client.

The RELAYTO MCP server connects AI agents such as Claude, ChatGPT, Cursor and VS Code to your RELAYTO workspace. It is hosted by RELAYTO at https://mcp.relayto.com/mcp, speaks the Model Context Protocol over Streamable HTTP, and acts as the signed-in RELAYTO user, in the workspace they choose, with that user's permissions.

What the RELAYTO MCP server can do

  • Find: search contents by title or by topic, search hubs, list a hub's items.
  • Publish: create content from a PDF link, a web link, raw HTML, an image, a video or a written post; edit pages, titles, slugs and settings.
  • Organize: create hubs; add, nest, reorder and rename items; remove items from a hub.
  • Control access: public, unlisted, private, password or email gate, per content or hub; invite people to a hub by email.
  • Build pages: host CSS, JS, fonts and images on the RELAYTO CDN; create forms and read their submissions.
  • Measure: content, hub and workspace analytics: visitors, pages read, referrers, devices and locations.

About 30 tools in total. The tools never delete contents or hubs.

Connect your AI client

Claude Code

claude mcp add --transport http relayto https://mcp.relayto.com/mcp

Claude (web and desktop)

Settings → Connectors → Add custom connector → https://mcp.relayto.com/mcp.

Cursor

In ~/.cursor/mcp.json:

{ "mcpServers": { "relayto": { "url": "https://mcp.relayto.com/mcp" } } }

VS Code

In .vscode/mcp.json:

{ "servers": { "relayto": { "type": "http", "url": "https://mcp.relayto.com/mcp" } } }

Clients that only start local (stdio) servers

Use the relayto-mcp npm package (Node.js 20.18.1 or later):

{ "mcpServers": { "relayto": { "command": "npx", "args": ["-y", "relayto-mcp"] } } }

The first connection opens RELAYTO's sign-in page in your browser.

Sign-in and security

  • OAuth 2.1 with PKCE (S256) and dynamic client registration: no client secret to manage. You pick the workspace when you sign in.
  • Sign-in happens on RELAYTO's own page; the agent never sees your password.
  • The agent can only do what your RELAYTO user is allowed to do in that workspace.
  • In sign-in mode, relayto-mcp caches tokens in ~/.mcp-auth on your machine. Delete that folder to sign out.

Agent skills and plugin

Teach your agent the common RELAYTO jobs (publishing, hubs and access, analytics, reading a published site):

npx skills add relayto/relayto-mcp

In Claude Code, install the server and the skills together as a plugin:

/plugin install relayto --marketplace relayto/relayto-mcp

Listed in the MCP Registry

The server is listed in the official MCP Registry as com.relayto/mcp. Every site published with RELAYTO also runs its own read-only MCP server, listed as com.relayto/site-content; see the RELAYTO Site API guide.

Links