Openpay MCP Server

mcp-openpay is an MCP server that exposes 23 tools to an agent, covering charge, customer, read & search.

People who work with charge, customer and card and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

One of 127 MCP servers published from codespar/mcp-dev-latam. Stars and repository activity are shared across all of them. See all 127 →

VERIFIED ACTIVE

LAST COMMIT 2026-08-29 · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Openpay

before you install - you'll need

Set OPENPAY_MERCHANT_ID, OPENPAY_PRIVATE_KEY, MCP_HTTP before connecting. OPENPAY_ENV is optional or environment-specific per the README.

Claude Code

claude mcp add codespar-mcp-dev-latam-packages-payments -- npx -y @codespar/mcp-openpay

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "codespar-mcp-dev-latam-packages-payments": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-openpay"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @codespar/mcp-openpay - published under the repo owner's npm scope (@codespar)

registry namespace io.github.codespar is GitHub-verified and matches the repo owner

03 · What Openpay can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can create a charge, retrieve a charge, capture a previously authorized charge (when the original charge used capture=false), and create a customer record.

Capability map

Tools grouped from the project's README - what Openpay lets an agent do.

Charge

4 tools - e.g. Create a charge.; Retrieve a charge.; Capture a previously authorized charge (when the original charge used capture=false).

create_charge · get_charge · capture_charge · refund_charge

Customer

4 tools - e.g. Create a customer record.; Retrieve a customer by Openpay customer id.; Update a stored customer (PUT /customers/{id}).

create_customer · get_customer · update_customer · delete_customer

read & search

4 tools - e.g. List customers with optional filters.; List tokenized cards.; List payouts.

list_customers · list_cards · list_payouts · list_webhooks

Card

3 tools - e.g. Tokenize a card.; Delete a tokenized card.; Retrieve a tokenized card.

create_card · delete_card · get_card

create & write

2 tools - e.g. Create a subscription plan.; Pay out MXN to a bank account.

create_plan · create_payout

Subscription

2 tools - e.g. Subscribe a customer to a plan.; Cancel a customer's subscription (DELETE /customers/{customer_id}/subscriptions/{id}).

create_subscription · cancel_subscription

Bank

2 tools - e.g. Store a customer bank account (POST /customers/{customer_id}/bankaccounts).; Delete a stored customer bank account (DELETE /customers/{customer_id}/bankaccounts/{id}).

create_bank_account · delete_bank_account

Webhook

2 tools - e.g. Register a webhook endpoint (POST /webhooks).; Delete a webhook subscription (DELETE /webhooks/{id}).

create_webhook · delete_webhook

04 · Who maintains Openpay

mcp-openpay is maintained by codespar. We track 127 MCP servers from codespar - 127 actively maintained, 271 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from codespar.

  1. mcp-brasil-api MCP server for BrasilAPI - CEP, CNPJ, banks, FIPE, holidays, weather ★ 271
  2. mcp-iugu MCP server for iugu - invoices, subscriptions, customers, payment methods ★ 271
  3. mcp-asaas MCP server for Asaas - billing automation, Pix, boleto, credit card, subscriptions ★ 271
  4. mcp-omie MCP server for Omie - ERP, customers, products, orders, invoices, financials ★ 271
  5. mcp-mercado-bitcoin MCP server for Mercado Bitcoin - Brazilian crypto exchange, trading, orderbook, withdrawals ★ 271
  6. mcp-sendgrid MCP server for SendGrid - global transactional + marketing email (Twilio-owned) ★ 271

05 · Facts

category
other - actively maintained as of 2026-09-18.
registry
io.github.codespar/mcp-openpay (active, first published 2026-06-20 · 2 versions)
packages
npm:@codespar/mcp-openpay

06 · Openpay FAQ

Is Openpay still maintained?

Yes - as of 2026-09-18, its last commit was 2026-08-29. We re-verify nightly.

What can Openpay do?

With this server connected, an agent can create a charge, retrieve a charge, capture a previously authorized charge (when the original charge used capture=false), and create a customer record.

How do I install Openpay?

Run `npx -y @codespar/mcp-openpay`. The README documents 4 environment variables (OPENPAY_MERCHANT_ID, OPENPAY_PRIVATE_KEY, OPENPAY_ENV…) to set first. Set OPENPAY_MERCHANT_ID, OPENPAY_PRIVATE_KEY, MCP_HTTP before connecting. OPENPAY_ENV is optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Openpay run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Openpay

More MCP servers to compare · Pagbrasil · Pagseguro · Picpay · Rapyd · Safrapay

More TypeScript MCP servers · Pagar Me · Paypal · see all