Xpay logo

Xpay

Manage Sana card activity and wallet balances, token prices, deposits, swaps, and notifications through MCP.

Install Xpay

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": {
    "xpay": {
      "command": "npx",
      "args": [
        "-y",
        "@xona-labs/xpay",
        "mcp"
      ]
    }
  }
}

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

Claude Code command
claude mcp add --transport stdio xpay -- npx -y @xona-labs/xpay mcp

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

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

Overview

The xpay MCP server connects AI agents to the Sana wallet and card layer for finance and fintech workflows. Its MCP tools cover card metadata, available spending power, USDC deposits, paginated transactions, wallet holdings, token prices, swaps, and activity notifications. xpay is distributed through the @xona-labs/xpay npm package and starts as a stdio MCP process with the xpay CLI. Reach for it when an agent needs to inspect or operate a Sana wallet without implementing wallet and card API calls directly.

Use cases

  • Inspect a Sana card before making a purchase
  • Check wallet holdings and token price changes
  • Top up a Sana card with wallet USDC
  • Review paginated card spending history
  • Swap tokens from an agent workflow

Key features

  • Sana card metadata and spending-power lookup
  • USDC card deposits
  • Paginated card transaction history
  • Wallet portfolio and token price data
  • Token swaps inside the Sana wallet
  • Recent wallet activity notifications

Tools42

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

Verified live~9.5k 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.

16/16 checks healthy over the last 82d

What it can do

From the 42 tools this server returned when we ran it; 42 declare their own safety hints.

Runs commands · 4Can delete or modify data · 14Makes changes · 19Handles credentials · 15Makes network requests · 20Read-only tools · 22
Network at startup3 connections
Files written at startup2
Install scriptsNone
npm provenanceNot published
Package age193 days
Maintainers1

Observed 2026-12-02 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 15d ago via OSV.dev · @xona-labs/xpay (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads1.8kPackage downloads in the last 30 days.
Last commit7d 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 exposed42Callable tools this server registers over MCP.

How Xpay works

What xpay does

xpay exposes Sana wallet and card operations to MCP-compatible AI clients. The available tools let an agent inspect card details, check available spending power, add USDC from the Sana wallet to the card, and review card transactions. Wallet-oriented tools provide portfolio holdings, token prices, swaps, and recent activity.

The package is published as @xona-labs/xpay and also includes the xpay command-line interface and a programmatic SDK. The broader Xona Wallet package supports multi-network USDC wallets, x402 payments, service discovery, and other commerce operations through its CLI and SDK. The MCP tool surface listed here is focused on Sana wallet and card access.

How it works

Install the package globally, then start the MCP process with xpay mcp:

Terminal
npm install -g @xona-labs/xpay
xpay mcp

The server communicates over stdio, making it suitable for MCP clients that launch local command-based servers. Profiles are used to hold wallet configuration. The standard initialization flow creates Solana and EVM keys from one BIP-39 seed and stores the profile encrypted. A profile can then be funded with USDC before wallet operations such as deposits or swaps are used.

Sana access is optional at the wallet level and is activated by linking a Sana API key with the CLI. The corresponding command is xpay sana link; status and unlink operations are also available through the CLI.

Setup and configuration

The package requires Node.js 18 or newer. Install the global package for the CLI and MCP server, or install it locally when using the SDK in an application:

Terminal
npm install -g @xona-labs/xpay
# or
npm install @xona-labs/xpay

Create a profile with xpay init. The command produces Solana and EVM addresses and displays a recovery phrase that must be backed up because it cannot be recovered by the service. Profiles can be switched with xpay accounts use <name>.

For development wallets, the CLI supports --no-encrypt; profiles can also be stored locally with --workspace. Spending caps and allowed hosts can be managed with xpay guardrail show, set, and clear.

Tools and capabilities

The MCP tools provide these operations:

  • sana_card: Read card type, status, last four digits, and expiry.
  • sana_card_balance: Check available spending power.
  • sana_card_deposit: Top up the card with USDC from the Sana wallet.
  • sana_card_transactions: Retrieve paginated card spending history.
  • sana_portfolio: View wallet net worth, token holdings, and 24-hour changes.
  • sana_price: Get the live USD price and 24-hour change for a token.
  • sana_swap: Swap tokens within the Sana wallet.
  • sana_notifications: Read recent wallet activity.

The CLI also includes wallet balance, transfer, swap, report, and Sana account-linking commands. SDK consumers can create or load profiles and call wallet operations programmatically, but MCP clients use the server process and its exposed tool definitions.

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 Xpay

xpay is an MCP server that connects AI agents to the Sana wallet and card system. Its main tools read card metadata, spending power, transactions, portfolio holdings, token prices, and notifications, while also supporting USDC card deposits and wallet token swaps through the xpay MCP interface.

Install it with `npm install -g @xona-labs/xpay`, then start it with `xpay mcp`. The global package includes both the xpay CLI and MCP server, and requires Node.js 18 or newer.

Run `xpay init` to create a profile with Solana and EVM keys derived from one BIP-39 seed. The command encrypts the profile by default and displays a recovery phrase that you must save because it cannot be recovered for you.

Yes, xpay is documented for Claude Desktop and Cursor through its stdio MCP server. Start the server with `xpay mcp` and configure the client to launch that command.

Link a Sana API key with `xpay sana link`. The CLI also provides `xpay sana status` to inspect the connection and `xpay sana unlink` to remove it.

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 PreviewXpay AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/xpay?style=directory)](https://allmcps.com/mcp/xpay)
HTML Embed
<a href="https://allmcps.com/mcp/xpay"><img src="https://allmcps.com/api/badge/xpay?style=directory" alt="Xpay on AllMCPs" /></a>