ScriptMaster Agentic Vending Router
@Timwal78
About ScriptMaster Agentic Vending Router
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-x402-xrpl": {
"command": "node",
"args": [
"examples/pay-per-tool.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is ScriptMaster Agentic Vending Router?
mcp-x402-xrpl is a Node.js/TypeScript middleware library for Model Context Protocol (MCP) servers that implements the x402 HTTP payment protocol using the XRP Ledger or Xahau as the payment rail. It enables AI agents to autonomously pay for each tool call – no API keys, subscriptions, or human involvement required.
How to use ScriptMaster Agentic Vending Router?
Install the package @scriptmasterlabs/mcp-x402 with npm. On the server side, use createPaymentGate() to gate an Express route, or wrapMcpServer() to spin up a complete MCP server with per-tool pricing. On the client (agent) side, use createX402Middleware() to automatically fulfill payment requirements. A testnet demo is available by cloning the repository and running node examples/pay-per-tool.js.
Key features of ScriptMaster Agentic Vending Router
- First and only x402 implementation for XRPL and Xahau.
- Supports XRP, RLUSD, and XAH currencies.
- ~3 second settlement finality with fees below $0.00001.
- No external node required – connects to public clusters.
- Safety cap prevents runaway payments per request.
- Drop-in Express middleware for both server and client.
Use cases of ScriptMaster Agentic Vending Router
- AI agents paying per-call for premium MCP tools.
- Autonomous data feeds (e.g., market prices) gated by micro-payments.
- Decentralized pay-as-you-go APIs without custodians or human signup.
- Integrating x402 payment rails into any existing Express-based MCP server.
FAQ from ScriptMaster Agentic Vending Router
What is mcp-x402-xrpl?
It is a library that adds HTTP 402 payment gating to MCP servers using XRPL or Xahau. AI agents pay per tool call autonomously – no human intervention needed.
Does this support Xahau and XAH?
Yes. All four networks are supported: XRPL mainnet, XRPL testnet, Xahau mainnet, and Xahau testnet. XAH can be used for tool payments.
How is x402 different from an API key?
API keys require human signup and billing setup – incompatible with fully autonomous agents. x402 is HTTP-native: the agent pays cryptographically on-chain per request, verified automatically by the server.
Do I need an XRPL node?
No. The library connects to public XRPL cluster nodes automatically (xrplcluster.com for mainnet, s.altnet.rippletest.net for testnet).
What is the npm package name?
@scriptmasterlabs/mcp-x402. Install with npm install @scriptmasterlabs/mcp-x402.
Frequently asked questions
What is mcp-x402-xrpl?
It is a library that adds HTTP 402 payment gating to MCP servers using XRPL or Xahau. AI agents pay per tool call autonomously – no human intervention needed.
Does this support Xahau and XAH?
Yes. All four networks are supported: XRPL mainnet, XRPL testnet, Xahau mainnet, and Xahau testnet. XAH can be used for tool payments.
How is x402 different from an API key?
API keys require human signup and billing setup – incompatible with fully autonomous agents. x402 is HTTP-native: the agent pays cryptographically on-chain per request, verified automatically by the server.
Do I need an XRPL node?
No. The library connects to public XRPL cluster nodes automatically (xrplcluster.com for mainnet, s.altnet.rippletest.net for testnet).
What is the npm package name?
`@scriptmasterlabs/mcp-x402`. Install with `npm install @scriptmasterlabs/mcp-x402`.
Basic information
More Reasoning MCP servers
🐢🚀 Node.js Sandbox MCP Server
alfonsograzianoA Node.js–based Model Context Protocol server that spins up disposable Docker containers to execute arbitrary JavaScript.
MCP Sandbox
danstarnsTurn any JavaScript module into a sandboxed MCP (Model Context Protocol) server with automatic reflection and type inference.
AWorld: Advancing Agentic AI
inclusionAISearch, understand, reproduce, and improve an idea with ease
IntelliNode Medical Use Cases
BarqawizMulti-Agent AI Orchestration Workshop
Emergency Medicare Management MCP Server
manolazemergency-medicare-planner-mcp-server
Comments