mcp openpay for VS Code
io.github.codespar/mcp-openpay
MCP server for Openpay — BBVA-owned Mexican gateway (cards, SPEI, OXXO, subscriptions, payouts)
client:VS Code
transport:stdio
runtime:npm
Install mcp openpay in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "openpay-merchant-id",
"description": "OPENPAY_MERCHANT_ID",
"password": true
},
{
"type": "promptString",
"id": "openpay-private-key",
"description": "OPENPAY_PRIVATE_KEY",
"password": true
},
{
"type": "promptString",
"id": "openpay-env",
"description": "OPENPAY_ENV",
"password": true
}
],
"servers": {
"mcp-openpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-openpay"
],
"env": {
"OPENPAY_MERCHANT_ID": "${input:openpay-merchant-id}",
"OPENPAY_PRIVATE_KEY": "${input:openpay-private-key}",
"OPENPAY_ENV": "${input:openpay-env}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs