Xpayr MCP logo

Xpayr MCP

Connects AI clients to XPayr for crypto checkout, webhooks, merchant data, and policy-controlled agent payments.

Install Xpayr MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "xpayr-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@xpayr/mcp-server"
      ],
      "env": {
        "XPAYR_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env XPAYR_API_KEY=YOUR_VALUE_HERE --transport stdio xpayr-mcp -- npx -y @xpayr/mcp-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 21 tools correctly ().

Overview

xpayr-mcp MCP server exposes 21 tools for XPayr’s non-custodial, multi-chain crypto payment gateway. It runs through the MCP stdio transport with an XPayr API key and supports payment sessions, merchant information, webhook configuration, and AI agent commerce workflows. Supported networks include EVM chains, TRON, Solana, and Arc Mainnet/Testnet. Reach for it when an AI client needs to create or inspect crypto checkouts, manage payment webhooks, or enforce spending policies for agent payment intents.

Use cases

  • Create and track multi-chain crypto payment sessions
  • Configure and test signed payment webhooks
  • Review merchant balances and supported networks
  • Apply spending policies to AI commerce agents
  • Calculate gateway fees and merchant settlement amounts

Key features

  • 21 MCP tools for XPayr payment and merchant operations
  • Multi-chain checkout support across EVM, TRON, Solana, and Arc
  • HMAC-SHA256 webhook endpoint management and testing
  • Policy-controlled AI agent payment intents
  • Local 0.5% gateway fee and settlement calculator
  • npx and Docker-based deployment

Tools21

What Xpayr MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

What it can do

From the 21 tools this server returned when we ran it.

Makes changes · 2Handles credentials · 9Makes network requests · 4Read-only tools · 19
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age19 days
Maintainers1

Observed 2026-11-29 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · @xpayr/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads777Package downloads in the last 30 days.
Last commit18d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed21Callable tools this server registers over MCP.

How Xpayr MCP works

What xpayr-mcp does

xpayr-mcp connects MCP-compatible AI clients to XPayr, a non-custodial crypto payment gateway with direct wallet-to-wallet settlement. Its 21 tools cover four main areas: checkout operations, merchant administration, signed webhooks, and policy-controlled AI agent commerce.

Checkout tools can create payment sessions, retrieve session details, list sessions with filters and pagination, check public payment status, and apply coupons to pending sessions. Payment sessions support XPayr checkout modes such as Web3 1-Click Pay, direct exchange QR transfer, multi-chain links, reusable links, and HTML invoice email delivery.

Merchant tools expose gateway health, the authenticated merchant profile, settlement balances, supported networks, and a local fee-and-settlement calculator. The network information includes supported chains, chain IDs, RPC endpoints, splitter contracts, and tokens.

The agent suite lets merchants create and list AI commerce agents, define spending rules, submit payment intents, review policy decisions, and bridge approved intents into executable checkout sessions. Pending intents can be approved or rejected with an audit reason.

How it works

The server calls the XPayr Gateway API v1 for authenticated operations. Configure an API key in the MCP client environment, then launch the package with the --suite all argument to expose the complete tool set. The payment, merchant, webhook, and agent tools map to XPayr API routes, while the fee calculator runs locally.

XPayr supports EVM networks including Ethereum, BNB Chain, Polygon, Arbitrum, and Base, along with TRON, Solana, and Arc Mainnet/Testnet. The gateway is described as charging a flat 0.5% fee, and the fee calculator reports the gateway split, expected merchant settlement, exchange withdrawal tolerance, and comparative savings figures.

Setup and configuration

Install and run the package through npx:

config.json
{
  "mcpServers": {
    "xpayr": {
      "command": "npx",
      "args": ["-y", "@xpayr/mcp-server", "--suite", "all"],
      "env": {
        "XPAYR_API_KEY": "sk_test_your_xpayr_secret_key"
      }
    }
  }
}

The same command can be used in Claude Desktop or Cursor configuration. VS Code provides an MCP installation link for the package. A container image is also available from GitHub Container Registry:

Terminal
docker run -i --rm -e XPAYR_API_KEY="sk_test_your_key" ghcr.io/xpayrcom/xpayr-mcp-server:latest

The package is also published as @xpayr/mcp-server, with xpayr-mcp available as an npm package name.

Tools and capabilities

The catalog includes:

  • Health checks and merchant profile, balance, network, and webhook configuration queries.
  • Payment session creation, retrieval, listing, public status polling, and coupon application.
  • Webhook endpoint setup and signed test delivery using HMAC-SHA256 headers.
  • AI agent provisioning, listing, policy updates, payment intent submission, approval, rejection, and checkout bridging.
  • Deterministic calculation of the gateway fee and merchant settlement split.

Webhook configuration can inspect the callback URL, masked signing secret, and subscribed payment lifecycle events. Setting an endpoint generates a new 32-byte HMAC-SHA256 signing secret.

Limitations and notes

Authenticated operations require an XPayr API key. Public payment status is available without an API key, but the tool is limited to status information exposed by XPayr. The service is non-custodial: settlement goes directly to merchant wallets rather than through custodial balances.

Agent payment intents are evaluated against configured rules and may be approved, held for approval, or rejected. Policies can restrict maximum transaction value, daily spending, auto-approval thresholds, chains, and tokens. Webhook receivers must use an HTTPS callback URL.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Xpayr MCP

xpayr-mcp is an MCP server that connects AI clients to XPayr’s non-custodial, multi-chain crypto payment gateway. Its main tools create and inspect payment sessions, manage merchant data and signed webhooks, calculate fees, and control AI agent payment intents through spending policies.

Install it with `npx -y @xpayr/mcp-server --suite all` in an MCP client configuration. Set `XPAYR_API_KEY` in the server environment, or run the published GitHub Container Registry image with Docker.

Yes, xpayr-mcp works with Cursor. Add the npx command and `XPAYR_API_KEY` to `.cursor/mcp.json`, use the provided Cursor installation link, or launch the package with the `--suite all` option.

Yes, xpayr-mcp supports Claude Desktop and VS Code. Claude Desktop can use the same npx MCP configuration, while VS Code has an MCP installation link that supplies the command, arguments, and API key environment variable.

xpayr-mcp exposes XPayr network information for EVM chains such as Ethereum, BNB Chain, Polygon, Arbitrum, and Base, plus TRON, Solana, and Arc Mainnet/Testnet. The supported-networks tool returns available chains, tokens, chain IDs, RPC endpoints, and splitter contracts.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewXpayr MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/xpayr-mcp?style=directory)](https://allmcps.com/mcp/xpayr-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/xpayr-mcp"><img src="https://allmcps.com/api/badge/xpayr-mcp?style=directory" alt="Xpayr MCP on AllMCPs" /></a>