Skip to main content
WORDPRESS PLUGIN

Relay

Turn any WordPress site into an agent node.

Standardized REST tool manifest. Claude, GPT, and custom orchestrators discover and invoke site capabilities securely.

What it does

Tool manifest

Public /wp-json/relay/v1/manifest publishes what your site exposes — no client code changes needed.

Bearer-token auth

Constant-time token comparison via hash_equals. One token, rotatable from Settings → Relay.

Three core tools

list_posts, get_post, search_posts — covers 80% of agent reads on a content site.

Zero config to install

Activate the plugin, copy the auto-generated token, point your agent at the manifest URL.

How it works

  1. 1

    Install Relay

    Upload the .zip in wp-admin → Plugins → Add New. Activate. Copy the token from Settings → Relay.

  2. 2

    Point your agent at the manifest

    Agents fetch /wp-json/relay/v1/manifest. They learn what tools exist + how to call them. No SDK required.

  3. 3

    Invoke tools with Bearer auth

    Authorization: Bearer <token> on every tool call. Tools return JSON. Site stays in control.

Discover capabilities, then call a tool

# Public manifest — no auth\ncurl https://yoursite.com/wp-json/relay/v1/manifest\n\n# Authenticated tool call\ncurl -H "Authorization: Bearer <token>" \\\n  "https://yoursite.com/wp-json/relay/v1/tools/list_posts?per_page=5"

Try Relay

Open source. Self-hosted. No SaaS lock-in.