MCP Openpay runs on your own machine — the client starts it, so there is no endpoint to ping. 52 installs a week from npm. Last commit 27 Sep 2026.
MCP server for Openpay — BBVA-owned Mexican gateway (cards, SPEI, OXXO, subscriptions, payouts)
Today is the operative word: we check MCP Openpay every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add mcp-openpay -e 'OPENPAY_MERCHANT_ID=<OPENPAY_MERCHANT_ID>' -e 'OPENPAY_PRIVATE_KEY=<OPENPAY_PRIVATE_KEY>' -- npx -y @codespar/mcp-openpay
{
"mcpServers": {
"mcp-openpay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-openpay"
],
"env": {
"OPENPAY_MERCHANT_ID": "<OPENPAY_MERCHANT_ID>",
"OPENPAY_PRIVATE_KEY": "<OPENPAY_PRIVATE_KEY>"
}
}
}
}
[mcp_servers.mcp-openpay]
command = "npx"
args = ["-y", "@codespar/mcp-openpay"]
env = { OPENPAY_MERCHANT_ID = "<OPENPAY_MERCHANT_ID>", OPENPAY_PRIVATE_KEY = "<OPENPAY_PRIVATE_KEY>" }
{
"mcpServers": {
"mcp-openpay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-openpay"
],
"env": {
"OPENPAY_MERCHANT_ID": "<OPENPAY_MERCHANT_ID>",
"OPENPAY_PRIVATE_KEY": "<OPENPAY_PRIVATE_KEY>"
}
}
}
}
{
"servers": {
"mcp-openpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-openpay"
],
"env": {
"OPENPAY_MERCHANT_ID": "<OPENPAY_MERCHANT_ID>",
"OPENPAY_PRIVATE_KEY": "<OPENPAY_PRIVATE_KEY>"
}
}
}
}
Put your own values in place of
<OPENPAY_MERCHANT_ID> (Openpay merchant id (forms part of the API URL path)), <OPENPAY_PRIVATE_KEY> (Openpay private API key (used as HTTP Basic auth username with empty password)).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
OPENPAY_ENV (Environment: 'sandbox' (default) or 'production'. Selects between https://sandbox-api.openpay.mx and https://api.openpay.mx).
Conekta — Mexican payment gateway (cards, OXXO cash, SPEI)
MCP server for PayPal — global payments + payouts: Orders v2, Payments, Subscriptions, Disputes
MCP server for iugu — invoices, subscriptions, customers, payment methods
MCP server for Kushki — LATAM PSP: card charges, preauth, PSE/SPEI transfer, cash, subscriptions
MCP server for Culqi — Peru PSP: charges, refunds, cards, Yape/PagoEfectivo, subscriptions
MCP server for Asaas — billing automation, Pix, boleto, credit card, subscriptions
MCP server for Pagar.me — orders, charges, recipients, transfers, plans, subscriptions, webhooks
MCP server for Vindi — recurring billing, subscriptions, invoices
Answers built from our own checks of this server.