PluginBench
MCP Server

io.github.plagtech/spraay-x402-mcp MCP Server

io.github.plagtech/spraay-x402-mcp

What is the io.github.plagtech/spraay-x402-mcp MCP server?

MCP server for Spraay x402 Gateway. 60 tools for crypto payments, DeFi, and AI on Base.

How to install io.github.plagtech/spraay-x402-mcp

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • X402_WALLET_PRIVATE_KEY
    required
    secret

    Private key for the wallet that pays for x402 requests (USDC on Base)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "spraay-x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "spraay-x402-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<YOUR_X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "spraay-x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "spraay-x402-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<YOUR_X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "spraay-x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "spraay-x402-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<YOUR_X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "spraay-x402-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "spraay-x402-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<YOUR_X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}
Claude Code
claude mcp add spraay-x402-mcp --env X402_WALLET_PRIVATE_KEY=<YOUR_X402_WALLET_PRIVATE_KEY> -- npx -y spraay-x402-mcp

Related MCP servers

Batch send SOL or any SPL token to 1000+ wallets via x402. AI agent payments on Solana.

View repository →