Skip to main content
UN

UnblockPay

v0.2.0API Key

Fiat-to-stablecoin on/off-ramp: convert BRL, MXN, or USD to USDC and back. Your agent bridges traditional finance and crypto rails.

20 tools1 env vars๐ŸŒ GLOBALstable on npm

Install

terminal
$ npm install @codespar/mcp-unblockpay

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "unblockpay": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-unblockpay"
      ],
      "env": {
        "UNBLOCKPAY_API_KEY": "<your_unblockpay_api_key>"
      }
    }
  }
}

After restart, your agent can call any of the 20 tools below โ€” try create_wallet first.

Environment variables ยท 1

Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.

UNBLOCKPAY_API_KEY
requiredsecret

API key for unblockpay

Available tools ยท 20

Each tool is independent โ€” your agent loads only what it needs to reduce context and response time.

WRITEcreate_wallet
Create a new wallet in UnblockPay
READget_wallet
Get wallet details by ID
READlist_wallets
List all wallets
WRITEcreate_onramp
Create a fiat-to-stablecoin onramp transaction
WRITEcreate_offramp
Create a stablecoin-to-fiat offramp transaction
READget_transaction
Get transaction details by ID
READlist_transactions
List transactions with optional filters
READget_exchange_rate
Get current exchange rate for a currency pair

Compatible frameworks

MCP is a protocol โ€” any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

All credentials are encrypted at rest in an isolated vault scoped per organization. OAuth2 tokens are automatically refreshed before expiry. Your agent code never sees raw secrets โ€” it receives scoped, short-lived session tokens.
Servers โ€” Every LatAm commerce API your agent needs | CodeSpar