Skip to Content
🚀 {xpay✦} is building the future of x402 payments - Join the developer beta →
Publishers (Agent-Ready)Overview

Agent-Ready: Content Monetization for Publishers

Turn your RSS feed or sitemap into a monetized MCP endpoint that AI agents discover and pay to query.

Non-technical? Start with the publisher guide on xpay.sh/docs/publishers  for a visual walkthrough. This section covers the technical integration details.

How It Works

  1. Paste your RSS/sitemap URL into the dashboard  or call the Content Server API
  2. Content is indexed into DynamoDB — titles, descriptions, full article markdown
  3. MCP endpoint goes live at {your-slug}.mcp.xpay.sh
  4. AI agents query your content via 3 MCP tools: search-content, get-article, list-recent
  5. You earn 95% of every query payment (5% platform fee)

Architecture

Publisher RSS Feed → Content Server API (introspect + index) DynamoDB (content index) AI Agent → MCP Proxy → Content Server (MCP tools) → Return markdown Billing: lock → deduct → log execution

The Content Server is an internal MCP server that the MCP Proxy routes to. Billing, auth, and execution logging are handled by the proxy — the content server only handles content retrieval.

Key Concepts

ConceptDescription
Content ServerLambda service that indexes RSS/sitemap content and serves it via MCP tools
MCP ProxyBilling + routing layer at *.mcp.xpay.sh — handles auth, fund lock/deduct, logging
Content IndexDynamoDB table storing indexed articles per publisher (PK: serverId, SK: articleId)
Feed RefreshScheduled every 6 hours — detects new articles, updates index
upstreamType: contentServer record flag that routes MCP proxy to the content server instead of an external URL

API Endpoints

EndpointMethodPurpose
/introspectPOSTValidate and preview RSS/sitemap feed
/indexPOSTIndex feed content into DynamoDB
/mcpPOSTMCP JSON-RPC (tools/list, tools/call)
/healthGETHealth check

Production base: https://6wot6b04te.execute-api.us-east-1.amazonaws.com/prod Dev base: https://e3ssbx7b1f.execute-api.us-east-1.amazonaws.com/dev

Guides

Last updated on: