rail402 MCP Discovery
Provides tools for discovering and calling paid APIs on the Stellar network using x402 payments, including a spend-capped paid-call tool.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rail402 MCP DiscoverySearch Bazaar for a weather API and make a call with a 5 XLM cap."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Rail402
x402 payments infrastructure for Stellar: a facilitator, a discovery layer (Bazaar), an MCP server for agents, a payments explorer, and the SDKs to build on all of it.
Live facilitator (testnet): https://facilitator.rail402.dev
What's here
Directory | What it is |
| x402 verify / settle / supported service for |
| catalog, automatic cataloging at verify/settle, |
| MCP server exposing search and a spend-capped paid-call tool |
| indexes and classifies x402 settlements from the Stellar ledger, serves a public read API |
| command-line wallet and agent tool ( |
| interactive demo of the discover → pay loop |
| documentation site |
| error registry, seller/agent helpers, the |
| Soroban contracts: |
| end-to-end integrations: paid API + agent, MCP tool seller, smart-account buyer |
Payment schemes: exact and upto (authorize a ceiling, settle actual usage — backed by a small Soroban contract). Buyers can be classic keypairs or smart accounts; network fees are sponsored so buyers need no XLM.
Related MCP server: x402-discovery
Run it
pnpm install
pnpm --filter @rail402.dev/facilitator dev # needs a funded testnet secret, see apps/facilitator/.env.exampleOr with Docker (facilitator + Bazaar in one image):
docker build -t rail402 . && docker run -p 8080:8080 --env-file .env rail402Checks
pnpm verify # lint + typecheck + tests + dependency license gate
pnpm testSettlement evidence (transaction hashes, conformance runs, rejection audits) is generated into docs/status/.
Packages
Published under the @rail402.dev scope on npm.
License
Apache-2.0. See LICENSE and NOTICE.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-quality-maintenanceEnables AI agents to access a marketplace of paid tools by automatically handling Stellar blockchain payments and wallet management. It utilizes the X-402 protocol to facilitate transparent, automated transactions for tool usage through a marketplace backend.
- Alicense-qualityDmaintenanceDiscovers and queries x402-payable APIs at runtime — enables autonomous agents to find, evaluate, and pay for services via USDC micropayments on Base without API keys or subscriptions.MIT
- Alicense-qualityCmaintenanceEnables MCP-compatible agents to discover and call x402 paid services from a directory of over 2,000 APIs.Apache 2.0
- AlicenseAqualityBmaintenanceEnables MCP clients to access all endpoints of an x402 gateway by paying real-time microtransactions (USDC on Base) per API call, with automatic tool discovery and spend guardrails.2389MIT
Related MCP Connectors
x402 payment firewall + Agent Credit Bureau. Invoice/verify/score via RLUSD on XRPL.
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
Pay for HTTP APIs and charge for your own: x402 micropayments in USDC on Base.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tolgayayci/rail402'
If you have feedback or need assistance with the MCP directory API, please join our Discord server