Agentpay
Non-custodial x402 payment MCP server for AI agents. Wallets and payments on 17 chains.
- Pricing
- Open source
- Runs
- Locally
- Version
- 3.1.0
- Listing updated
- 5 days ago
About Agentpay
Agentpay is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add agentpay --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' -- npx -y agentpay-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"agentpay-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"agentpay-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"agentpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agentpay-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"agentpay-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"agentpay-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
AGENT_PRIVATE_KEYPrivate key for the agent wallet (hex string)RequiredBASE_RPC_URLBase RPC URL for on-chain operations
Pricing
Open source
Agentpay FAQ
Is Agentpay free?
Yes. Agentpay is open source, so you can use and self-host it for free.
How do I add Agentpay to Claude Code?
Run this command in your terminal: claude mcp add agentpay --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' -- npx -y agentpay-mcp
What are the best alternatives to Agentpay?
The closest alternatives to Agentpay are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.
Alternatives to Agentpay

Solana MCP by Vybe
MCP serverRemote MCP server exposing the Vybe Solana API to AI clients and code editors
- 44 tools
- Remote
- 2.8K GitHub stars
- Finance and payments

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments
Budget Tracker
MCP serverLocal MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling
- 14 tools
- Remote
- Freemium
- 2 GitHub stars
- Finance and payments

Quantivex Research
MCP serverStock scores, what a price assumes, earnings quality and quiet profit revisions
- 11 tools
- Remote
- Free
- Finance and payments

Provyan
MCP serverBacktested crypto signal results on 94 coins, with luck odds and sources
- 7 tools
- Remote
- Free
- Finance and payments
TribuJus
MCP serverRead-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking
- 5 tools
- Remote
- Open source
- Legal and government