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

@codespar/mcp-unblockpay

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codespar/mcp-unblockpay

MCP server for UnblockPay — fiat <> stablecoin cross-border via Customer → Wallet → Quote → Payin/Payout

latest
npmnpm
Version
0.3.1
Version published
Maintainers
2
Created
Source

@codespar/mcp-unblockpay

MCP server for UnblockPay — fiat ↔ stablecoin cross-border via Customer → Wallet → Quote → Payin/Payout

npm License: MIT

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "unblockpay": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-unblockpay"],
      "env": {
        "UNBLOCKPAY_API_KEY": "your-key"
      }
    }
  }
}

Claude Code

claude mcp add unblockpay -- npx @codespar/mcp-unblockpay

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "unblockpay": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-unblockpay"],
      "env": {
        "UNBLOCKPAY_API_KEY": "your-key"
      }
    }
  }
}

Tools (13)

ToolPurpose
create_customerCreate an individual or business customer (KYC mother). Business customers require date_of_incorporation.
list_customersList customers under the operator's API key (limit mandatory by the v1 pagination contract).
verify_customerTrigger the KYC verification check. Idempotent (returns 422 customer_cannot_be_verified when already approved).
get_verification_detailsPoll KYC state — returns customer_status: pending | approved | rejected | partially_rejected.
create_walletCreate a stablecoin wallet under an APPROVED customer.
list_walletsList wallets under the operator's API key.
create_external_accountRegister a fiat receiver account (BRL Pix, USD wire, EUR SEPA, MXN SPEI). Skippable for BRL Pix payouts via the pix_key + document shortcut on create_payout.
list_external_accountsList external accounts under the operator's API key.
create_quoteLock an FX + fee quote for 5 minutes. Pass amount on EITHER sender or receiver, not both.
create_payinFiat → stablecoin pay-in referencing a quote_id. Returns deposit instructions (<Pix Copy & Paste EMV> for BR).
create_payoutStablecoin → fiat payout referencing a quote_id. customer_id is REQUIRED at the top level.
get_transactionPoll transaction status. Lifecycle: awaiting_deposit → processing → completed (or failed / refunded / cancelled / error).
cancel_transactionCancel a transaction. Only valid while status is awaiting_deposit.

Authentication

UnblockPay uses an API key passed verbatim in the Authorization header (no Bearer prefix). The server sets that header for you — you just provide the key via UNBLOCKPAY_API_KEY.

Sandbox / Testing

UnblockPay provides a separate sandbox environment for testing. Point the server at it by setting UNBLOCKPAY_BASE_URL=https://api.sandbox.unblockpay.com/v1 and using a sandbox-issued API key.

Get your credentials

  • Sign in at app.unblockpay.com (or follow the docs)
  • Generate an API key in the dashboard
  • Set the UNBLOCKPAY_API_KEY environment variable
  • (Sandbox only) Also set UNBLOCKPAY_BASE_URL=https://api.sandbox.unblockpay.com/v1

Environment Variables

VariableRequiredDescription
UNBLOCKPAY_API_KEYYesAPI key from the UnblockPay dashboard
UNBLOCKPAY_BASE_URLNoDefaults to https://api.unblockpay.com/v1. Set to https://api.sandbox.unblockpay.com/v1 for sandbox.

Roadmap

The 13 tools above mirror UnblockPay's current v1 API. New tools are added as UnblockPay expands the surface.

Want to contribute? Open a PR or request a tool.

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Keywords

mcp

FAQs

Package last updated on 22 Jun 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