Conekta

Finance and commerce

Conekta, Mexican payment gateway (cards, OXXO cash, SPEI).

Your AI app calls the Conekta MCP server, which does the finance and commerce work and sends the result back to the chat.

About Conekta

Conekta is a community MCP server from codespar, filed in our directory under finance and commerce. Conekta, Mexican payment gateway (cards, OXXO cash, SPEI).

Conekta runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-conekta@0.2.2 and talks to it over standard input and output. It needs CONEKTA_API_KEY set before Conekta starts.

Conekta is listed in the official MCP registry as io.github.codespar/mcp-conekta, version 0.2.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-conekta
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-conekta

How to set up Conekta

  1. Install Node.js on the machine that runs your AI app, because Conekta starts with npx and downloads its package on first run.
  2. Create CONEKTA_API_KEY for Conekta in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Conekta to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Conekta tools to confirm the connection.
  5. Run one read-only task with Conekta first, and keep your app asking before each tool call until the results look right.

Conekta compared with similar servers

  • Conta Azul by codespar has fewer GitHub stars than Conekta (278 against 278); both are community servers, and both run locally.
  • Colppy by codespar has fewer GitHub stars than Conekta (278 against 278); both are community servers, and both run locally.
  • Coordinadora by codespar has fewer GitHub stars than Conekta (278 against 278); both are community servers, and both run locally.

Before you connect Conekta

  • Give Conekta its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Conekta tool call until you trust what it does with them.
  • Treat text that Conekta fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Conekta on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Conekta

How marketing and sales teams put Conekta to work, by company size. Pick the size closest to yours and start Conekta on one use case.

Small business

  • A small business can ask Conekta which products and customers drive margin, then plan promotions around them.
  • Owners can use Conekta to check refunds, failed payments and churn reasons without opening three dashboards.
  • Conekta runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Conekta to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Conekta to check spend against budget each week and move money to what's working.
  • Start Conekta on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Conekta read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Conekta to answer revenue questions by channel and region with figures finance signs off on.
  • Conekta is a community server, so have security review the code and pin a version before Conekta touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Conekta README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-conekta

MCP server for Conekta, the leading Mexican payment gateway supporting cards, OXXO cash payments, and SPEI bank transfers

Quick Start

# Set your API key
export CONEKTA_API_KEY="key_..."

# Run via stdio
npx -y @codespar/mcp-conekta

# Run via HTTP
MCP_HTTP=true MCP_PORT=3000 npx -y @codespar/mcp-conekta

Environment Variables

Variable Required Description
CONEKTA_API_KEY Yes API key from Conekta dashboard
MCP_HTTP No Set to "true" to enable HTTP transport
MCP_PORT No HTTP port (default: 3000)

Tools (21)

Tool Purpose
create_order Create a new order
get_order Get order details by ID
list_orders List orders with filters
create_customer Create a customer
get_customer Get customer by ID
list_customers List customers
create_charge Create a charge for an existing order
refund_charge Refund a charge
list_payment_sources List payment sources for a customer
get_webhook_events List webhook events (Conekta Events)
get_webhook_event Retrieve a single webhook event by ID
update_customer Update a customer
delete_customer Delete a customer
create_payment_source Create a payment source (card token) for a customer
delete_payment_source Delete a payment source from a customer
update_order Update an order (line_items, metadata, etc.)
cancel_order Cancel an order
capture_charge Capture a pre-authorized order (pre_authorized → paid)
create_webhook Create a webhook endpoint
update_webhook Update a webhook endpoint
delete_webhook Delete a webhook endpoint

Auth

Uses Basic authentication with API key as username and empty password. API version v2.2.0 is set via the Accept header. Obtain your API key from the Conekta Dashboard.

API Reference

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

Authentication

Set these environment variables before launching the server:

  • CONEKTA_API_KEY (required, secret), API key for Conekta

Issue credentials at the provider's developer portal: https://developers.conekta.com.

License

MIT

Questions about Conekta

What is the Conekta MCP server?

Conekta, Mexican payment gateway (cards, OXXO cash, SPEI). Conekta is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Conekta MCP server?

Add Conekta to your AI app's MCP config with the command npx -y @codespar/mcp-conekta@0.2.2. In Claude Code, run claude mcp add --transport stdio codespar-conekta -- npx -y @codespar/mcp-conekta@0.2.2. To run Conekta this way you need Node.js installed.

Does Conekta need an API key?

Yes. Conekta expects CONEKTA_API_KEY to be set. Create the key for Conekta in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Conekta an official MCP server?

No. Conekta is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Conekta access to company data.

What license is Conekta under?

Conekta is released under the MIT license, according to its GitHub repository. The license covers the code of Conekta; the service it connects to has its own terms.