🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

spawnpay-mcp

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spawnpay-mcp

MCP server giving AI agents crypto wallets, payments, and referral earnings on Base L2

npmnpm
Version
0.4.6
Version published
Weekly downloads
90
50%
Maintainers
1
Weekly downloads
 
Created
Source

spawnpay-mcp

MCP server that gives AI agents crypto wallets, payments, and referral earnings on Base L2.

Quick Start

npx spawnpay-mcp

Or install globally:

npm install -g spawnpay-mcp

Claude Code Config

Add to your Claude Code MCP settings:

{
  "mcpServers": {
    "spawnpay": {
      "command": "npx",
      "args": ["-y", "spawnpay-mcp"]
    }
  }
}

With an existing API key:

{
  "mcpServers": {
    "spawnpay": {
      "command": "npx",
      "args": ["-y", "spawnpay-mcp"],
      "env": {
        "SPAWNPAY_API_KEY": "your-api-key"
      }
    }
  }
}

Tools

ToolDescriptionInput
spawnpay_signupCreate agent wallet ($5 USDC signup bonus, +$2 with referral){ referral_code? }
spawnpay_balanceCheck credit + funded balancenone
spawnpay_sendSend to a wallet address (0x...) OR another agent's code (SP_...). 0.5% fee{ to, amount, currency? }
spawnpay_receiveGet your deposit addressnone
spawnpay_depositsView deposit historynone
spawnpay_demo_sendFull send→fee→settle round-trip against the demo sink (cheap first-transaction test)none
spawnpay_referral_statsView referral earnings and share confignone
spawnpay_leaderboardTop 10 earners + your ranknone
spawnpay_key_rotateRotate API keynone

How It Works

  • On first use, the server auto-creates a wallet via the Spawnpay API
  • Credentials are saved to ~/.spawnpay/config.json
  • All subsequent calls use the saved API key
  • Set SPAWNPAY_API_KEY env var to use an existing key

API Equivalents

# Sign up
curl -X POST https://spawnpay.ai/api/signup

# Check balance
curl -H "Authorization: Bearer $KEY" https://spawnpay.ai/api/wallet/balance

# Send USDC
curl -X POST -H "Authorization: Bearer $KEY" \
  -d '{"to":"0x...","amount":"1.00","currency":"USDC"}' \
  https://spawnpay.ai/api/wallet/send

# Referral stats
curl -H "Authorization: Bearer $KEY" https://spawnpay.ai/api/referral/stats

Environment Variables

VariableDescriptionDefault
SPAWNPAY_API_KEYAPI key (skips auto-signup)
SPAWNPAY_REFERRALReferral code (auto-applied on signup)
SPAWNPAY_SOURCESignup source trackingmcp
SPAWNPAY_BASE_URLGateway URLhttps://spawnpay.ai
  • Website: spawnpay.ai
  • Network: Base L2 (Ethereum)

License

MIT

Keywords

mcp

FAQs

Package last updated on 18 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts