Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Relayto

FreeNot checked

RELAYTO MCP servers, SDK and CLI, agent skills and agent plugin

GitHubEmbed

About

RELAYTO MCP servers, SDK and CLI, agent skills and agent plugin

README

Connect AI agents and developers to RELAYTO, the platform that turns PDFs, decks, reports and web pages into interactive content, organizes it into hubs, publishes it on *.relayto.com or your own domain and measures it page by page.

Developer docs: RELAYTO API, MCP server & SDK.

This repository has the servers' entries and the packages agents connect with:

  • Every site published with RELAYTO serves a public, read-only MCP server at https://<site>/mcp and a REST API at https://<site>/api/site/v1, with no sign-in. See Read any site published with RELAYTO.
  • The RELAYTO platform MCP server: https://mcp.relayto.com/mcp, hosted by RELAYTO. Sign in with your RELAYTO account and work in your workspace.
  • relayto-mcp on npm: both servers for clients that only start local servers (npx -y relayto-mcp --site <host>, or npx -y relayto-mcp).
  • relayto on npm: the SDK and CLI for the site API (npx relayto search "<query>" --site <host>).

The Agent Skills, the RELAYTO plugin (for Claude Code, ChatGPT and other Agent Plugin clients) and the agent rules for coding tools live in relayto/agent-skills.

Read any site published with RELAYTO

Every site published with RELAYTO, on a *.relayto.com address or on the publisher's own domain, offers the same public, read-only ways in. Replace <site> with its host name, for example benefits.relayto.com. They return only what any visitor can open without signing in.

MCP server https://<site>/mcp (Streamable HTTP, no sign-in). Tools: search_content, list_hubs, get_content
MCP Registry com.relayto/site-content (remote URL template https://{site}/mcp)
Stdio bridge npx -y relayto-mcp --site <site>
REST API https://<site>/api/site/v1, OpenAPI at https://<site>/openapi.json, reference at https://<site>/developers
CLI npx relayto search "<query>" --site <site>, relayto hubs, relayto get <url-or-slug>
SDK npm install relayto, then new RelaytoSite('<site>')
For LLMs https://<site>/llms.txt, and any page as Markdown at <page URL>.md
# Claude Code: one site's MCP server
claude mcp add --transport http benefits https://benefits.relayto.com/mcp

# A stdio-only client
npx -y relayto-mcp --site benefits.relayto.com

# The terminal
npx relayto search "open enrollment" --site benefits.relayto.com
npx relayto get https://benefits.relayto.com/e/what-is-open-enrollment-4uoe8tjxhumq6
import { RelaytoSite } from 'relayto';

const site = new RelaytoSite('benefits.relayto.com');
for await (const hub of site.allHubs()) console.log(hub.title, hub.url);

See packages/relayto for the full CLI and SDK reference.

RELAYTO platform MCP server

Endpoint https://mcp.relayto.com/mcp
Transport Streamable HTTP
Sign-in OAuth 2.1 with PKCE (S256) and dynamic client registration; you pick the workspace when you sign in
MCP Registry com.relayto/mcp
npm relayto-mcp

What it can do, as the signed-in user and within that user's permissions:

  • 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, locations.

The tools never delete contents or hubs.

Connect

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 (~/.cursor/mcp.json)

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

VS Code (.vscode/mcp.json)

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

Any client that starts local (stdio) servers (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.

Skills and plugin

The skills, the plugin that bundles them with the platform server, and the agent rules are in relayto/agent-skills:

npx skills add relayto/agent-skills

Repository layout

Path What
servers/mcp/server.json MCP Registry entry com.relayto/mcp: the platform server, remote only
servers/mcp/server-card.json Its server card, served at https://mcp.relayto.com/mcp/server-card
servers/site-content/server.json MCP Registry entry com.relayto/site-content: every site's server (https://{site}/mcp) and the relayto-mcp package with --site
packages/relayto-mcp/ npm relayto-mcp: stdio bridge (--site: built in, no dependencies; sign-in mode: mcp-remote)
packages/relayto/ npm relayto: TypeScript SDK and CLI for the site API, no runtime dependencies
scripts/validate.mjs Checks every manifest against its schema and the files against each other
scripts/smoke.mjs Smoke test of the SDK against live sites
npm install
npm run check        # validate.mjs, build, then both packages' unit tests
npm run smoke        # SDK against benefits.relayto.com (RELAYTO_SMOKE_SITES for others)

Security

  • The MCP server only acts for a signed-in RELAYTO user, in the workspace they chose, with their permissions. Sign-in happens on RELAYTO's own page; agents never see your password.
  • In sign-in mode, relayto-mcp caches OAuth tokens in ~/.mcp-auth on your machine. Delete that folder to sign out. With --site it stores nothing and sends no credentials.
  • The site servers, the site API, relayto and relayto-mcp --site only ever return what a site's visitors can open without signing in.
  • Report security issues to [email protected].

Links

License

MIT

from github.com/relayto/relayto-mcp

Installing Relayto

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/relayto/relayto-mcp

FAQ

Is Relayto MCP free?

Yes, Relayto MCP is free — one-click install via Unyly at no cost.

Does Relayto need an API key?

No, Relayto runs without API keys or environment variables.

Is Relayto hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Relayto in Claude Desktop, Claude Code or Cursor?

Open Relayto on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Relayto with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs