Skip to main content

SpherePay MCP server - curated Model Context Protocol tools for the SpherePay API

Project description

SpherePay MCP Server

A Model Context Protocol server for the SpherePay payment platform. Manage customers, bank accounts, wallets, transfers, virtual accounts, webhooks, and CCTP off-ramps directly from Claude.

Features

  • 24 curated tools — 9 workflow tools for multi-step operations, 15 read-only tools for instant lookups
  • Automatic retries with exponential backoff and rate limit handling
  • Idempotency for transfers — duplicate requests are safely deduplicated
  • PII redaction in logs — account numbers, routing numbers, and personal data are never logged
  • Input validation at the tool boundary — IDs, currencies, networks, and amounts are validated before any API call
  • Desktop Extension (.mcpb) for one-click Claude Desktop installation

Tools

Workflow Tools

Tool Description
onboard_customer Create a customer (individual or business) and generate TOS/KYC verification links
verify_customer Two-step verification: send OTP, then verify with face recognition
setup_funding Create a bank account (USD/EUR) or crypto wallet for a customer
execute_transfer Transfer money between funding instruments with automatic idempotency
onboard_business_rep Create and verify a business representative
setup_virtual_account Create a virtual account for automatic fiat-to-stablecoin conversion
setup_offloader_wallet Create an offloader wallet for stablecoin-to-fiat off-ramp
create_webhook Subscribe to event notifications via HTTPS webhooks
submit_cctp_offramp Submit a CCTP burn transaction for cross-chain off-ramp redemption

Read-Only Tools

Tool Description
get_customer / list_customers Retrieve customer details and verification status
get_transfer / list_transfers Retrieve transfers with status, filter by customer/status/type
get_bank_account / list_bank_accounts Retrieve bank account details, filter by customer
get_wallet / list_wallets Retrieve wallet details, filter by customer
get_virtual_account / list_virtual_accounts Retrieve virtual account details and deposit instructions
list_virtual_account_transfers List deposits and conversions for a virtual account
get_offloader_wallet / list_offloader_wallets Retrieve offloader wallet details and off-ramp config
get_webhook Retrieve webhook details and delivery status
get_event Retrieve event details and webhook delivery records

Supported Currencies and Networks

Currency Type
usd, eur Fiat
usdc, usdt, eurc Stablecoin
Network Type
ach, wire, sepa Fiat rails
ethereum, polygon, sol, base, arbitrum, tron, avalanche, optimism Blockchain

Installation

Prerequisites

Claude Desktop (stdio)

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "spherepay": {
      "command": "uvx",
      "args": ["spherepay-mcp"],
      "env": {
        "SPHEREPAY_BASE_URL": "https://api.sandbox.spherepay.co",
        "SPHEREPAY_API_KEY": "your_api_key_here"
      }
    }
  }
}

Desktop Extension

Download the latest .mcpb file from GitHub Releases and double-click to install in Claude Desktop.

Standalone

git clone https://github.com/danchev/spherepay-mcp.git
cd spherepay-mcp
uv sync
uv run spherepay-mcp

Configuration

Variable Required Default Description
SPHEREPAY_API_KEY Yes Your SpherePay API key (Bearer token)
SPHEREPAY_BASE_URL No https://api.sandbox.spherepay.co API base URL. Use https://api.spherepay.co for production
SPHEREPAY_TIMEOUT No 30 Request timeout in seconds
SPHEREPAY_MAX_RETRIES No 3 Max retry attempts for transient failures (429, 5xx)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spherepay_mcp-0.0.1.post0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spherepay_mcp-0.0.1.post0-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file spherepay_mcp-0.0.1.post0.tar.gz.

File metadata

  • Download URL: spherepay_mcp-0.0.1.post0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"openSUSE Tumbleweed","version":"20260304","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for spherepay_mcp-0.0.1.post0.tar.gz
Algorithm Hash digest
SHA256 c51fb118da0c9d1d97c710de49782135cd41618777ac73e86d00e335fba48207
MD5 8e3734c44878aa9a2627ae194677776c
BLAKE2b-256 c40826be70fdcd89c5cc11962b0496395efc3c9882ddfe640a896d5481636298

See more details on using hashes here.

File details

Details for the file spherepay_mcp-0.0.1.post0-py3-none-any.whl.

File metadata

  • Download URL: spherepay_mcp-0.0.1.post0-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"openSUSE Tumbleweed","version":"20260304","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for spherepay_mcp-0.0.1.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2ebe83bc2568e7c4cdf8166109283deaebbdace6b551c3bb9ae0e024f586c7f
MD5 7158dbf066e64f96ec62f607d24cc57f
BLAKE2b-256 56065dd4ff4e77e2de4f94e23f8aecace0c310b5d1652301b7a32567cb318b8a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page