Skip to content
FunCoding

mcp-picpay

Listed in the official MCP Registry

MCP server for PicPay Business — BR digital wallet (60M+ users): checkout, Pix QR, subscriptions

Star
278
Category
Finance
Version
v0.2.0-alpha.3
License
MIT
Last commit
Nov 13, 2026

@codespar/mcp-picpay

MCP server for PicPay Business — Brazilian digital wallet with 60M+ users.

PicPay's Checkout API lets merchants create a payment intent that the buyer completes inside the PicPay app, returning a redirect URL plus a Pix-style QR code. The Recurrency API adds subscription plans on top.

Tools (20)

ToolPurpose
create_paymentCreate a PicPay checkout payment.
get_payment_statusGet the status of a payment by referenceId.
cancel_paymentCancel a PicPay order.
create_planCreate a subscription plan (Recurrency API).
list_plansList all subscription plans registered for this merchant.
update_planUpdate an existing subscription plan.
delete_planDelete a subscription plan.
create_subscriptionEnroll a buyer in a subscription plan.
get_subscriptionRetrieve a subscription by id.
cancel_subscriptionCancel an active subscription.
validate_notificationVerify that an incoming webhook callback came from PicPay by comparing the x-seller-token header against PI...
refund_paymentRefund a paid PicPay order, optionally partially.
create_b2p_transferCreate a Business-to-Person (B2P) transfer: push funds from the merchant wallet to a PicPay user identified...
get_b2p_transferGet the status of a B2P transfer by referenceId.
create_batch_paymentSubmit a batch of B2P transfers in a single request.
list_transactionsList merchant transactions (payments and transfers) within a date range.
get_wallet_balanceRetrieve the merchant's current PicPay wallet balance (available and blocked amounts in BRL).
generate_static_qrcodeGenerate a static PicPay Pay QR code for in-store / reusable use.
generate_dynamic_qrcodeGenerate a dynamic PicPay Pay QR code with a fixed amount and optional expiration.
create_payment_linkCreate a shareable PicPay payment link.

Install

npm install @codespar/mcp-picpay@alpha

Environment

PICPAY_TOKEN="..."          # Merchant integration token (x-picpay-token header)
PICPAY_SELLER_TOKEN="..."   # Seller token used to validate webhook callbacks
PICPAY_BASE_URL="..."       # Optional. Defaults to https://appws.picpay.com/ecommerce/public

Authentication

Every request sends:

Content-Type: application/json
x-picpay-token: <PICPAY_TOKEN>

PicPay webhook callbacks carry x-seller-token: <PICPAY_SELLER_TOKEN>. Use the validate_notification tool (or compare the header yourself) before trusting a payload, then fetch the authoritative status with get_payment_status.

Run

# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-picpay

# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-picpay

Status

0.1.0-alpha.1. Core checkout endpoints (/payments, /payments/{ref}/status, /payments/{ref}/cancellations) are verified against PicPay's public docs. Recurrency (plans + subscriptions) endpoints come from the documented path shape but field-level schemas (frequency enum values, subscription response) should be confirmed against the live API before production use.

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

Similar MCP servers

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k216 new stars in the last 7 days

Featured

CCXT

Connect to 100+ exchanges and prediction markets, fetch market data, manage orders and accounts.

CCccxt/ccxt45k68 new stars in the last 7 days

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k138 new stars in the last 7 days

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k25 new stars in the last 7 days

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k66 new stars in the last 7 days

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k13 new stars in the last 7 days