Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

xpay

MCP server by xona-labs Community

Xona Wallet gives AI agents a multi-network USDC wallet for x402 payments, AgenC marketplace hires and service discovery. It runs as an MCP server, a CLI and an SDK.

  • Score 83
  • 1 stars
  • 1.8k a week
  • MIT
  • Updated

Install xpay

Built from the published package, never by AI.

claude mcp add xpay -- npx -y @xona-labs/xpay

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install xpay in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the xpay block.

About

Xona Wallet is a wallet and payment layer for agentic commerce. It holds multi-network USDC, pays x402 endpoints, and searches a catalog of more than 21,000 x402 services alongside AgenC marketplace agent listings. It can also hire on-chain agents with SOL escrow. It ships as the npm package @xona-labs/xpay, with a CLI, an SDK and an MCP server.

In a host such as Claude Desktop, Cursor or Codex, the MCP server needs no keys and no xpay init. On first boot the agent gets its own wallet, and its Solana address is printed to stderr so the user can fund it with USDC. Spending caps and allowed hosts are set through a guardrail. It is aimed at agent builders who want to find and pay for services without writing payment code.

Written from the project's README and checked against it.

Tools it gives your assistant

  • xpay_discoverSearches x402 services across chains and AgenC marketplace agent listings.
  • xpay_useUses a service by URL.
  • xpay_doRuns a task described in plain language through the wallet.
  • xpay_transferSends a direct stablecoin transfer, subject to the guardrail.
  • xpay_balanceShows token balances per network for the active profile.
  • xpay_reportReturns a USDC activity report for the wallet.
  • xpay_guardrailReads or edits spending caps and allowed hosts.
  • xpay_token_findFinds a Solana token by ticker, name or mint address.
  • xpay_swapSwaps tokens in the wallet via Jupiter on Solana.
  • xpay_tradeTrades tokens on Robinhood Chain via Uniswap V3 and NOXA Fun.

What you need

  • Node.js with npm (the server starts with npx)
  • USDC funds on Solana mainnet or Base for payments
  • An MCP host such as Claude Desktop, Cursor or Codex
SettingNeededWhat it is
XPAY_PROFILEEnvironment variableOptionalWallet profile to load or create (default: active profile, else "default")
XPAY_PASSPHRASEEnvironment variable, secretOptionalEncrypts the auto-generated wallet at rest; also unlocks an existing encrypted profile
XPAY_HOMEEnvironment variableOptionalOverride the ~/.xpay/ data directory
XPAY_NO_AUTO_WALLETEnvironment variableOptionalSet to error instead of auto-generating a wallet when none is configured
XPAY_SOLANA_SECRETEnvironment variable, secretOptionalUse an existing Solana secret key (base58) instead of the generated wallet
XPAY_EVM_KEYEnvironment variable, secretOptionalUse an existing EVM private key instead of the generated wallet
XPAY_EVM_NETWORKEnvironment variableOptionalEVM network for XPAY_EVM_KEY (e.g. base, stable, base-sepolia)

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Find a cheap weather API on x402 and call it for me
  • Check my Xona wallet balance across all networks
  • Send 5 USDC to this address and keep it under my guardrail limit

Good to know

  • Biometric unlock with Touch ID is available on macOS only.
  • Payments are limited by the spending caps set in the guardrail.
  • Some tools, such as trading and swaps, depend on the network and token availability described in the source.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to xpay

All alternatives →
mcp stripe
96

Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.

AAA Remote 2.1k
TradingMCPatilaahmettaner
94

Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.

AAA Remote 5.4k
CCXTccxt
94

CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.

AAA Local 45k
Finance ToolkitJerBouma
94

Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.

AAA Local and remote 5.6k
Vapi Network MCP vAPI-Network
94

Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.

AAA Local 6.2k
Finance DatabaseJerBouma
94

Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.

AAA Local and remote 9.7k

Compare with mcp, TradingMCP or CCXT

xpay: common questions

Do I need an API key to use Xona Wallet with an MCP host?

No. The source says the MCP server needs no code, no keys and no xpay init, because it creates a wallet on first boot.

How do I keep the agent from spending too much?

Spending caps and allowed hosts are set with the guardrail. The source lists xpay_guardrail and the guardrail commands for this.

Which networks does the wallet support?

The source mentions Solana, Base, BNB Chain, other EVM networks, Robinhood Chain and the Stable chain.

How do I install xpay?

In Claude Code run claude mcp add xpay -- npx -y @xona-labs/xpay. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is xpay the official server?

xpay is a community project by xona-labs, not verified by a company domain.

Is xpay free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is xpay safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to xpay?

Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.

Does xpay work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.