{"name":"io.github.codespar/mcp-openpay","slug":"codespar-mcp-openpay","title":null,"description":"MCP server for Openpay — BBVA-owned Mexican gateway (cards, SPEI, OXXO, subscriptions, payouts)","url":"https://mcp.market/server/codespar-mcp-openpay","rating":null,"grade":"B","score":82,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":38,"stars":271,"forks":50,"downloads_week":null,"last_push_at":"2026-08-29T02:02:48.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/codespar/mcp-dev-latam","website":null,"version":"0.2.2","remotes":[],"packages":[{"registryType":"npm","identifier":"@codespar/mcp-openpay","version":"0.2.2","transport":{"type":"stdio"},"environmentVariables":[{"description":"Openpay merchant id (forms part of the API URL path)","isRequired":true,"format":"string","name":"OPENPAY_MERCHANT_ID"},{"description":"Openpay private API key (used as HTTP Basic auth username with empty password)","isRequired":true,"format":"string","isSecret":true,"name":"OPENPAY_PRIVATE_KEY"},{"description":"Environment: 'sandbox' (default) or 'production'. Selects between https://sandbox-api.openpay.mx and https://api.openpay.mx.","format":"string","name":"OPENPAY_ENV"}]}],"tools":[{"name":"cancel_subscription","description":"Cancel a customer's subscription (DELETE /customers/{customer_id}/subscriptions/{id}). Cancellation takes effect at the end of the current paid period.","write_action":true,"price_micros":0,"input_schema":null},{"name":"capture_charge","description":"Capture a previously authorized charge (when the original charge used capture=false). Pass amount to capture less than the authorized total; omit to capture the full authorized amount.","write_action":true,"price_micros":0,"input_schema":null},{"name":"create_bank_account","description":"Store a customer bank account (POST /customers/{customer_id}/bankaccounts). Required before you can run destination_id-based payouts to that customer's account.","write_action":true,"price_micros":0,"input_schema":null},{"name":"create_card","description":"Tokenize a card. Pass customer_id to attach to a stored customer (POST /customers/{customer_id}/cards); omit for a merchant-level token (POST /cards). Prefer tokenizing client-side with Openpay.js to avoid PCI scope.","write_action":true,"price_micros":0,"input_schema":null},{"name":"create_charge","description":"Create a charge. Pass customer_id to charge at a customer scope (POST /customers/{customer_id}/charges); omit to charge at merchant scope (POST /charges). Methods: 'card' (requires source_id token), 'bank_account' (SPEI — returns CLABE reference), 'store' (OXXO — returns barcode/reference). Amounts are in major units (e.g. 100 = 100 MXN).","write_action":true,"price_micros":0,"input_schema":null},{"name":"create_customer","description":"Create a customer record. Set requires_account=true to create an associated Openpay wallet for the customer; false for a payment-only record.","write_action":true,"price_micros":0,"input_schema":null},{"name":"create_payout","description":"Pay out MXN to a bank account. Used for marketplace seller payouts and cross-border settlement. Scope to a customer with customer_id (POST /customers/{customer_id}/payouts) or run at merchant scope (POST /payouts).","write_action":true,"price_micros":0,"input_schema":null},{"name":"create_plan","description":"Create a subscription plan. Plans are templates — use create_subscription to subscribe a customer.","write_action":true,"price_micros":0,"input_schema":null},{"name":"create_subscription","description":"Subscribe a customer to a plan. Requires a stored card (source_id) to charge on each cycle.","write_action":true,"price_micros":0,"input_schema":null},{"name":"create_webhook","description":"Register a webhook endpoint (POST /webhooks). Openpay posts event notifications to url and can optionally send HTTP Basic credentials.","write_action":true,"price_micros":0,"input_schema":null},{"name":"delete_bank_account","description":"Delete a stored customer bank account (DELETE /customers/{customer_id}/bankaccounts/{id}).","write_action":true,"price_micros":0,"input_schema":null},{"name":"delete_card","description":"Delete a tokenized card. Pass customer_id to delete at customer scope (DELETE /customers/{customer_id}/cards/{id}); omit for merchant scope (DELETE /cards/{id}).","write_action":true,"price_micros":0,"input_schema":null},{"name":"delete_customer","description":"Delete a customer (DELETE /customers/{id}). Irreversible — removes the customer and associated stored tokens.","write_action":true,"price_micros":0,"input_schema":null},{"name":"delete_webhook","description":"Delete a webhook subscription (DELETE /webhooks/{id}).","write_action":true,"price_micros":0,"input_schema":null},{"name":"get_card","description":"Retrieve a tokenized card. Pass customer_id to fetch at customer scope (GET /customers/{customer_id}/cards/{id}); omit for merchant scope (GET /cards/{id}).","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_charge","description":"Retrieve a charge. Pass customer_id to fetch at customer scope (GET /customers/{customer_id}/charges/{id}); omit for merchant scope (GET /charges/{id}).","write_action":true,"price_micros":0,"input_schema":null},{"name":"get_customer","description":"Retrieve a customer by Openpay customer id.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_cards","description":"List tokenized cards. Pass customer_id to list per-customer (GET /customers/{customer_id}/cards); omit for merchant-level cards (GET /cards).","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_customers","description":"List customers with optional filters. All parameters are passed as query params.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_payouts","description":"List payouts. Pass customer_id to scope to a customer (GET /customers/{customer_id}/payouts); omit for merchant-scope payouts (GET /payouts).","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_webhooks","description":"List configured webhook subscriptions (GET /webhooks).","write_action":false,"price_micros":0,"input_schema":null},{"name":"refund_charge","description":"Refund a captured charge. Supports partial refunds via amount; omit amount for a full refund.","write_action":true,"price_micros":0,"input_schema":null},{"name":"update_customer","description":"Update a stored customer (PUT /customers/{id}). Only the fields provided are updated; omit fields you don't want to change.","write_action":true,"price_micros":0,"input_schema":null}],"scan":{"score":82,"grade":"B","scanned_at":"2026-09-26T21:19:02.997Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-26T21:19:03.031Z","components":{"code":{"score":25,"max":25,"notes":["5 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":15,"max":15,"notes":["last push 29 days ago"]},"identity":{"score":7,"max":10,"notes":["registry namespace matches repository owner"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"@codespar/mcp-openpay","version":"0.2.2","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":1,"publishedAt":"2026-06-22T18:45:06.734Z"}],"repo":{"found":true,"owner":"codespar","repo":"mcp-dev-latam","archived":false,"pushedAt":"2026-08-29T02:02:48Z","stars":271,"forks":50,"openIssues":10,"ownerType":"Organization","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/269058982?v=4","ownerCreatedAt":"2026-03-18T00:40:56Z","license":"MIT"},"icon":{"url":"https://avatars.githubusercontent.com/u/269058982?v=4&s=128","source":"github"},"presence":{"stars":271,"forks":50,"downloadsWeek":null,"license":"MIT","lastPushAt":"2026-08-29T02:02:48.000Z","score":38}}}},"grade_history":[],"reviews":[]}