railrouter-lite
Compatible integration allowing CrewAI-based AI agents to use intelligent cross-rail payment routing for real-time payment processing.
Project repository hosting and source code management for the RailRouter Lite MCP server implementation.
Routes payments through Google's AP2 (Advanced Payments 2) rail for intelligent payment processing based on cost, latency, and success rate optimization.
Compatible integration allowing LangChain-based AI agents to use intelligent cross-rail payment routing for real-time payment processing.
Compatible integration allowing LangGraph-based AI agents to use intelligent cross-rail payment routing for real-time payment processing.
Routes payments through Stripe's MPP (Multi-Party Payments) rail for intelligent payment processing based on cost, latency, and success rate optimization.
RailRouter Lite
Intelligent real-time payment rail router for AI agents.
Live MCP Endpointhttps://railrouter-lite.sgdata.workers.dev/mcp
Tool: route_payment
Routes a payment request to the optimal rail (Stripe MPP, x402, or Google AP2) in real time based on cost, latency, and success rate.
Input Schema
{
"amount_sgd": { "type": "number", "description": "Amount in SGD" },
"target_server_url": { "type": "string", "description": "The MCP server that needs payment" },
"tool_name": { "type": "string", "description": "Name of the tool being paid for" },
"preferred_rail": { "type": "string", "enum": ["mpp", "x402", "ap2", "auto"] }
}
Response Example
JSON{
"success": true,
"chosen_rail": "mpp",
"payment_intent": "rr_1744641123456",
"estimated_fee_sgd": 0.13,
"message": "Routed via MPP in 12ms"
}
Every routing decision is automatically logged to D1, creating compounding intelligence (cost, latency, success rate per category). No other MCP server offers intelligent cross-rail routing.
Compatible with LangChain, LangGraph, CrewAI, AutoGen and any MCP client.
GitHub: https://github.com/vdineshk/railrouter-lite
Pricing
Free: 10 routes/day
Starter: S$29/month (unlimited + analytics)
Pro: S$99/month (priority routing + Observatory trust integration)Latest Blog Posts
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/vdineshk/railrouter-lite'
If you have feedback or need assistance with the MCP directory API, please join our Discord server