Submit

X402 A2a Hub

@garyedgington

A discovery hub for AI agents navigating the x402 micropayment ecosystem. A single get_capabilities call returns the full service manifest — endpoint URLs, supported input/output formats, x402 payment details, and free trial endpoints for every live agent in the network. Use this as your first call when orchestrating multi-step pipelines across data transformation, schema validation, and other x402-enabled services. Free — no payment required.
Overview

x402 A2A Hub

Capability discovery hub for the x402 micropayment task market. Exposes a unified manifest of all live services so agents can discover, price-check, and chain calls without hardcoded URLs.

Live service: https://project-a2a-production.up.railway.app


Discovery endpoints

EndpointDescription
GET /v1/capabilitiesFull JSON capability manifest — all services, endpoints, payment details, trial URLs
GET /.well-known/x402x402 protocol discovery document
GET /llms.txtPlain-text service descriptions optimised for LLM/agent semantic search
GET /healthHealth check — {"status":"ok","service":"a2a-hub"}

Capability manifest

GET /v1/capabilities returns a structured manifest of every service in the pipeline:

{
  "version": "1.0",
  "provider": "Gary Edgington",
  "description": "x402 micropayment task market — data transformation and validation pipeline.",
  "services": [
    {
      "id": "formatter",
      "name": "Data Formatter",
      "description": "Converts CSV to JSON, XML to JSON, or Markdown to HTML.",
      "endpoint": "https://project-formatter-production.up.railway.app/v1/format",
      "trial_endpoint": "https://project-formatter-production.up.railway.app/v1/format/trial",
      "payment": { "scheme": "x402", "network": "eip155:8453", "price_usd": 0.005 }
    },
    {
      "id": "schema-checker",
      "name": "JSON Schema Checker",
      "description": "Validates JSON payloads against JSON Schema Draft 7.",
      "endpoint": "https://projectx402-production.up.railway.app/v1/schema-check",
      "trial_endpoint": "https://projectx402-production.up.railway.app/v1/schema-check/trial",
      "payment": { "scheme": "x402", "network": "eip155:8453", "price_usd": 0.005 }
    }
  ]
}

Pipeline

Agents can chain services discovered via this hub:

Raw Input → Formatter (/v1/format) → Schema Checker (/v1/schema-check)

Each hop settles independently on Base mainnet via x402. The A2A hub itself has no payment gate — it is permanently free to query.


Stack

  • FastAPI + Uvicorn
  • No Claude API dependency (pure manifest/routing logic)
  • Deployed on Railway

  • Data Formatter: https://project-formatter-production.up.railway.app
    • MCP SSE: /mcp/sse — listed on Smithery
  • Schema Checker: https://projectx402-production.up.railway.app

Server Config

{
  "mcpServers": {
    "x402-a2a-hub": {
      "url": "https://project-a2a-production.up.railway.app/mcp/sse"
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.