Back to Browse

Raen MCP Server

Developer ToolsUse Caution2.4MCP RegistryRemote
Free

Server data from the Official MCP Registry

RAEN paid x402 MCP tools: law lookup, dispute letters, image gen, contract analysis. USDC on Base.

About

RAEN paid x402 MCP tools: law lookup, dispute letters, image gen, contract analysis. USDC on Base.

Remote endpoints: streamable-http: https://raen-mcp-gateway.fly.dev/mcp

Security Report

2.4
Use Caution2.4Critical Risk

This x402 gateway for paid RAEN services handles payer keys correctly, but the boot-fetch.js shim downloads and executes unverified code from GitHub main on every start, falling back to baked-in code on failure. Issued self-serve dev keys can also trigger unlimited tool calls that spend the operator's USDC, and email verification links are reusable within their 15-minute window. These issues keep the score in the fair range despite the server's otherwise legitimate purpose. Supply chain analysis found 7 known vulnerabilities in dependencies (0 critical, 4 high severity).

11 files analyzed · 17 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Applies to the server that hosts this plugin, not to your machine.

File System Read

Reads files on the server that hosts it, not on your machine.

File System Write

Writes files on the server that hosts it, not on your machine.

wallet_sign

Applies to the server that hosts this plugin, not to your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-github-bshelby88-raen-mcp": {
      "url": "https://raen-mcp-gateway.fly.dev/mcp"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

raen-mcp

Model Context Protocol server for RAEN's paid x402 services. One MCP tool per service; each call settles a USDC micropayment on Base mainnet via the x402 protocol.

Live gateway (streamable HTTP): https://raen-mcp-gateway.fly.dev/mcp Auth: Authorization: Bearer <MCP_GATEWAY_KEY> (gateway key required — tool calls spend real USDC).

New to RAEN? New wallets get their first call free (charge-and-rebate, net $0). Want a free gateway dev key? Clear the x402 Dev Quest — decode a live 402, read the price, settle a real $0.01 payment on Base, redeem the claim code at raen-bounties.

Paid but got nothing? The claims desk

A settled call that returned no payload is recoverable — do not pay again.

# look up your payment by tx hash OR by your wallet address
curl -s "https://settlement-collector.fly.dev/storefront/claims?tx=<your-tx-hash>"
curl -s "https://settlement-collector.fly.dev/storefront/claims?payer=<your-address>"
# then register for (re)delivery — email, or callback_url for machine buyers:
curl -s -X POST https://settlement-collector.fly.dev/storefront/register \
  -H "Content-Type: application/json" \
  -d '{"tx_or_intent":"<tx or address>","email":"you@example.com"}'

Your claim code is RAEN-<sha256(tx)[:10]> (uppercase, derivable from your own tx hash); verify a prepaid credit at GET /storefront/credits/<code>. This also covers payments to the retired payee 0x7861db4efc14a1ed5dd8c96c528a3796560f1393 — that wallet is still served and watched: every USDC transfer to it auto-creates an order + claim code (status: /storefront/legacy-watch). Full walkthrough: cookbook recipe 22. Human: ops@royalruby.io.

Tools

ToolServicePrice (USDC, Base)Input
raen_law_lookuproyal-ruby$0.05{topic} — FCRA/FDCPA/TILA/state-UDAP citations
raen_ticker_analysistradingagents$0.05{ticker, date?} — synthetic market-consensus demo (not financial advice)
raen_dispute_letterdispute-forge$0.10{creditor, reason} — FCRA dispute letter + SVG certificate
raen_image_generatenanobanana$0.01{prompt, aspectRatio?} — AI image, base64 PNG
raen_contract_analysiscontract-eye$0.05{text, focus?} — contract risk score + flagged clauses

Run it

Stdio (local MCP clients / Smithery)

{
  "mcpServers": {
    "raen-mcp": {
      "command": "node",
      "args": ["src/index.js"],
      "env": { "RAEN_PAYER_KEY": "0x...private key of a Base-mainnet USDC wallet..." }
    }
  }
}

Streamable HTTP (remote)

RAEN_PAYER_KEY=0x... MCP_GATEWAY_KEY=<random-secret> node src/http.js   # :8080/mcp

Connect from any MCP client: POST https://raen-mcp-gateway.fly.dev/mcp with Authorization: Bearer <key>.

Fly.io deploy

flyctl apps create raen-mcp-gateway
flyctl secrets set -a raen-mcp-gateway RAEN_PAYER_KEY=- MCP_GATEWAY_KEY=<secret>
flyctl deploy --remote-only

How payment works

Tool handlers call wrapFetchWithPayment(fetch, x402Client) from @x402/fetch + @x402/evm (v2). First request → HTTP 402 with a PAYMENT-REQUIRED challenge header → client signs EIP-3009 transferWithAuthorization → settled via facilitator → final HTTP 200 with the product payload. Payer key comes only from RAEN_PAYER_KEY (env), never logged or committed.

Endpoints (live manifests)

Repo family

  • Earn a free dev key: the x402 Dev Quest — 3 live levels, verified on-chain.
  • Templates for agents: raen-agent-kit — LangChain/LangGraph + CrewAI, plug into this gateway in minutes.
  • Integration recipes for every endpoint: the x402-cookbook — copy-paste curl/Python recipes for the 402-challenge flow, free-first-call charge-and-rebate, and gateway config.

Each endpoint's path and schema are verified against the service's /.well-known/x402.json:

Test evidence (Nov 9 2026)

  • npm run test:paid → HTTP 200, real citations (15 U.S.C. § 1681i, 15 U.S.C. § 1692g) for a $0.05 law-lookup.
  • MCP client (SDK) over streamable HTTP → tools/list returns all 5 tools; tools/call raen_law_lookup → HTTP 200 with citations via the deployed gateway.

Information only — not legal or financial advice.

Reviews

No reviews yet

Be the first to review this server!