Skip to main content
MCP server CX Codex

mcp-picpay — Claude Code MCP server: what it does, how to install

Connects AI agents to the PicPay Business API. It handles Pix QR generation, checkout orders, recurring subscriptions, and merchant fund transfers.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env PICPAY_TOKEN=<PICPAY_TOKEN> --env PICPAY_SELLER_TOKEN=<PICPAY_SELLER_TOKEN> --env PICPAY_BASE_URL=<PICPAY_BASE_URL> --transport stdio picpay -- npx -y @codespar/mcp-picpay
Open on GitHub

What mcp-picpay does

The server provides 20 tools covering the PicPay Checkout and Recurrency APIs. Your assistant can initiate payments, return checkout links, or generate Pix QR codes. It also checks wallet balances in BRL. For payouts, the server handles single or batch B2P transfers.

Authentication requires setting PICPAY_TOKEN and PICPAY_SELLER_TOKEN environment variables. The seller token lets you verify incoming webhooks with validate_notification. Because the package is at version 0.1.0-alpha.1, verify subscription and plan schemas against live endpoints before pushing to production.

What it helps with

  • Generate Pix QR codes and checkout payment links
  • Query payment status by reference ID or issue refunds
  • Send batch B2P transfers to multiple PicPay accounts
  • Configure subscription plans and enroll buyers
  • Verify webhook payloads using the seller token

Example prompts for the agent

  • Create a checkout payment for order order-42 and return the Pix QR code
  • Check the merchant wallet balance and list recent transactions for today
  • Submit a batch B2P transfer to the recipient list using create_batch_payment

How to install mcp-picpay

Platform CLI

claude mcp add --env PICPAY_TOKEN=<PICPAY_TOKEN> --env PICPAY_SELLER_TOKEN=<PICPAY_SELLER_TOKEN> --env PICPAY_BASE_URL=<PICPAY_BASE_URL> --transport stdio picpay -- npx -y @codespar/mcp-picpay

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-picpay

How to install mcp-picpay in Claude Code?

Run claude mcp add mcp-picpay -e PICPAY_TOKEN=<PICPAY_TOKEN> -e PICPAY_SELLER_TOKEN=<PICPAY_SELLER_TOKEN> -- npx -y @codespar/mcp-picpay. You can also configure PICPAY_BASE_URL if custom endpoints are needed.

What does mcp-picpay do?

It gives agents 20 tools to interact with PicPay Business APIs. You can create payments, process refunds, manage recurring plans, and execute payouts directly from your coding assistant.

Which environment variables are required?

You must pass PICPAY_TOKEN for API authentication and PICPAY_SELLER_TOKEN for webhook validation. PICPAY_BASE_URL is optional and defaults to the public ecommerce endpoint.

Similar MCP servers

Everything for Finance and business →

From the same set124

mcp-quickbooks Wires QuickBooks Online into your agent with 22 tools for customers, invoices, payments, items, bills and a P&L report. Handy when the books sit in QuickBooks and you would rather stay in the terminal. CX Codex +1 ★ 274repo stars mcp-pomelo Connects your agent to Pomelo card issuing API across Latin America. It creates user identities, issues virtual or physical cards, and tracks transactions. CX Codex +1 ★ 274repo stars mcp-pluggy Connect an agent to Pluggy to work with bank connections, accounts, transactions, and payment intents in Open Finance Brasil. Pluggy credentials are required. CX Codex +1 ★ 274repo stars mcp-pix-bcb An MCP server that lets the agent run Pix BCB operations: charges, refunds, DICT keys and webhooks against your bank's API. CX Codex +1 ★ 274repo stars mcp-persona Connect Claude Code to Persona to manage identity checks, accounts, reports, and investigations. Useful when verification flows are built from Persona templates. CX Codex +1 ★ 274repo stars mcp-payway Gives an AI agent access to the Payway gateway: tokenize a card, charge it, capture or refund. Built for teams wiring payments into an Argentine merchant setup. CX Codex +1 ★ 274repo stars mcp-paypal MCP server connecting AI assistants to the PayPal REST API. Handles order checkout, recurring subscriptions, batch payouts, and customer dispute resolution. CX Codex +1 ★ 274repo stars mcp-pagseguro Connects an agent to PagSeguro/PagBank for orders, charges, refunds, Pix, boleto, and card payments. It fits payment tasks inside a coding workspace. CX Codex +1 ★ 274repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor