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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Verify and settle x402 stablecoin payments; browse the PayAI Bazaar of x402-payable resources.
Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial.
Pay for APIs with USDC. Read-only x402 payment discovery, verification, evidence, and status.
Pay-per-action access to APIs and MCP tools over Lightning L402 and Base USDC x402.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables 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.-
- AlicenseNot gradedqualityDmaintenanceDiscovers 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
- AlicenseAqualityFmaintenanceEnables 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.23248MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to discover, query, and pay for HTTP endpoints and MCP tools using Stellar USDC/SEP-41 stablecoins through a federated P2P bazaar catalog and x402 payment facilitator.Apache 2.0
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