Skip to main content
CO

Conekta

v0.2.1API Key

Mexican payment gateway: cards, OXXO cash deposits, and SPEI bank transfers. Your agent charges in MXN with local payment methods.

21 tools1 env varsπŸ‡²πŸ‡½ Mexicostable on npm

What your agent can do

Conekta gives your agent 21 tools it calls directly β€” pick the ones it needs, in Claude, Cursor, or any MCP client.

  • create_order β€” Create a new order
  • get_order β€” Get order details by ID
  • list_orders β€” List orders with filters
Example call
// Your agent calls a tool directly β€” no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_order", { /* ... */ });

Install

terminal
$ npm install @codespar/mcp-conekta

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "conekta": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-conekta"
      ],
      "env": {
        "CONEKTA_API_KEY": "<your_conekta_api_key>"
      }
    }
  }
}

After restart, your agent can call any of the 21 tools below β€” try create_order first.

Environment variables Β· 1

Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.

CONEKTA_API_KEY
requiredsecret

API key for Conekta

Available tools Β· 21

Each tool is independent β€” your agent loads only what it needs to reduce context and response time.

WRITEcreate_order
Create a new order
READget_order
Get order details by ID
READlist_orders
List orders with filters
WRITEcreate_customer
Create a customer
READget_customer
Get customer by ID
READlist_customers
List customers
WRITEcreate_charge
Create a charge for an existing order
DELETErefund_charge
Refund a charge

Compatible frameworks

MCP is a protocol β€” any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

Run `npx -y @codespar/mcp-conekta` and add the config block above to your MCP client β€” Claude, Cursor, VS Code, or any MCP-compatible client. No build step, no SDK required. Prefer hosted? CodeSpar's managed tier runs it for you with auth handled.
Conekta β€” MCP server Β· 21 tools | CodeSpar