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.
@Timwal78
Basic information
No overview available yet
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-x402-xrpl": {
"command": "node",
"args": [
"examples/pay-per-tool.js"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.
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.
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.
Yes. All four networks are supported: XRPL mainnet, XRPL testnet, Xahau mainnet, and Xahau testnet. XAH can be used for tool payments.
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.
No. The library connects to public XRPL cluster nodes automatically (xrplcluster.com for mainnet, s.altnet.rippletest.net for testnet).
`@scriptmasterlabs/mcp-x402`. Install with `npm install @scriptmasterlabs/mcp-x402`.
Turn any JavaScript module into a sandboxed MCP (Model Context Protocol) server with automatic reflection and type inference.
A standalone agent runner that executes tasks using MCP (Model Context Protocol) tools via Anthropic Claude, AWS BedRock and OpenAI APIs. It enables AI agents to run autonomously in cloud environments and interact with various systems securely.
AI-powered n8n workflow automation through natural language. MCP server enabling Claude AI & Cursor IDE to create, manage, and monitor workflows via Model Context Protocol. Multi-instance support, 17 tools, comprehensive docs. Build workflows conversationally without manual JSON
MCP server and CLI for Plane (incl. self-hosted): backfill work items from git history, then plan, start, and complete work with Claude Code, Codex, or Cursor. Previews first, idempotent writes.
Neuronto Agentic Resource Discovery (ARD) Index. Federated search across every public ARD registry, plus a verified tool index read from each MCP server's own tools/list, hybrid lexical and semantic retrieval, and ARD-Bench.
Comments