BBVA-owned Mexican gateway โ the MX alternative to Conekta. Cards, OXXO, SPEI, subscriptions (native), marketplace payouts. Closes the BBVA-rail story for Mexico.
$ npm install @codespar/mcp-openpayAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"openpay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-openpay"
],
"env": {
"OPENPAY_MERCHANT_ID": "<your_openpay_merchant_id>",
"OPENPAY_PRIVATE_KEY": "<your_openpay_private_key>"
}
}
}
}After restart, your agent can call any of the 23 tools below โ try create_charge first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
OPENPAY_MERCHANT_IDOpenpay merchant id (forms part of the API URL path)
OPENPAY_PRIVATE_KEYOpenpay private API key (used as HTTP Basic auth username with empty password)
OPENPAY_ENVEnvironment: 'sandbox' (default) or 'production'. Selects between https://sandbox-api.openpay.mx and https://api.openpay.mx.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
create_chargeget_chargecapture_chargerefund_chargecreate_customerget_customerlist_customerscreate_cardMCP is a protocol โ any framework that speaks it can mount this server.