Epayco

Finance and commerce

MCP server for ePayco, Colombian gateway: cards, PSE, Daviplata and cash networks.

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

About Epayco

Epayco is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for ePayco, Colombian gateway: cards, PSE, Daviplata and cash networks.

Epayco runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-epayco@0.1.0 and talks to it over standard input and output. It needs EPAYCO_PUBLIC_KEY and EPAYCO_PRIVATE_KEY set before Epayco starts.

Epayco is listed in the official MCP registry as io.github.codespar/mcp-epayco, version 0.1.0.

At a glance

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

How to set up Epayco

  1. Install Node.js on the machine that runs your AI app, because Epayco starts with npx and downloads its package on first run.
  2. Create EPAYCO_PUBLIC_KEY and EPAYCO_PRIVATE_KEY for Epayco in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Epayco 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 Epayco tools to confirm the connection.
  5. Run one read-only task with Epayco first, and keep your app asking before each tool call until the results look right.

Epayco compared with similar servers

  • Evolution API by codespar has fewer GitHub stars than Epayco (278 against 278); both are community servers, and both run locally.
  • Efi by codespar has fewer GitHub stars than Epayco (278 against 278); both are community servers, and both run locally.
  • Facturapi by codespar has fewer GitHub stars than Epayco (278 against 278); both are community servers, and both run locally.

Before you connect Epayco

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

Marketing use cases for Epayco

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

Small business

  • A small business can ask Epayco which products and customers drive margin, then plan promotions around them.
  • Owners can use Epayco to check refunds, failed payments and churn reasons without opening three dashboards.
  • Epayco 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 Epayco to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Epayco to check spend against budget each week and move money to what's working.
  • Start Epayco on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

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

Epayco 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-epayco

MCP server for ePayco, Colombian payment gateway (Davivienda-owned): card tokenization and charges, PSE bank debit, and cash networks (Efecty, Gana, Red Servi, Punto Red, Su Red).

The tool set mirrors the official ePayco SDKs (epayco-node): the card/token API on api.secure.payco.co and the restpagos API on secure.payco.co for PSE and cash. Test mode is a payload flag (EPAYCO_TEST), not a separate host.

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "epayco": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-epayco"],
      "env": {
        "EPAYCO_PUBLIC_KEY": "your-public-key",
        "EPAYCO_PRIVATE_KEY": "your-private-key",
        "EPAYCO_TEST": "true"
      }
    }
  }
}
Claude Code
claude mcp add epayco --env EPAYCO_PUBLIC_KEY=pk --env EPAYCO_PRIVATE_KEY=sk -- npx -y @codespar/mcp-epayco

Tools (8)

Tool Description
tokenize_card Create a card token (POST /v1/tokens)
create_customer Create a customer bound to a card token
charge_card Charge a tokenized card (POST /payment/v1/charge/create)
get_transaction Transaction detail by referencePayco
create_pse_payment PSE bank debit, returns the bank redirect URL
get_pse_transaction PSE transaction status by transaction id
list_pse_banks PSE bank list
create_cash_payment Cash voucher on efecty / gana / redservi / puntored / sured

Environment

Variable Required Description
EPAYCO_PUBLIC_KEY yes Public key
EPAYCO_PRIVATE_KEY yes Private key
EPAYCO_TEST no "true" (default) flags payloads as test mode

Docs

Enterprise

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

License

MIT

Questions about Epayco

What is the Epayco MCP server?

MCP server for ePayco, Colombian gateway: cards, PSE, Daviplata and cash networks. Epayco 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 Epayco MCP server?

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

Does Epayco need an API key?

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

Is Epayco an official MCP server?

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

What license is Epayco under?

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