MCP Server Studio

Spraay X402 MCP MCP server

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

Registry name: io.github.plagtech/spraay-x402-mcp

Publisher
plagtech
Runs
Runs locally
Package
npm
Version
3.1.1
Category
Finance & crypto
Updated
2026-03-09

Source code on GitHub

Set up Spraay X402 MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "spraay-x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add spraay-x402-mcp -e X402_WALLET_PRIVATE_KEY='<X402_WALLET_PRIVATE_KEY>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "spraay-x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "spraay-x402-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "spraay-x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
X402_WALLET_PRIVATE_KEYYesPrivate key for the wallet that pays for x402 requests (USDC on Base)

More finance & crypto MCP servers