mcpField
M
mcp-wompi

mcp-wompi

Local
github.com/codesparFinance275Updated 4w ago

About mcp-wompi

mcp-wompi is an MCP server for Wompi, the Colombian payment gateway operated by Bancolombia. It suits developers who need agents to handle cards, PSE bank transfers and Nequi payments in Colombia. It exposes 22 tools covering transactions, payment links, tokenization, refunds and webhook signature validation.

Key features

  1. 01Transaction handling for cards, PSE and Nequi
  2. 02Payment link creation and management
  3. 03Card and Nequi tokenization with payment sources
  4. 04Refund creation and lookup
  5. 05Customer profiles and PSE bank listing
  6. 06Webhook event signature validation

Use cases

  1. 01Letting an agent create payment links for orders and track transaction status
  2. 02Finding transactions by merchant reference and voiding or refunding them
  3. 03Creating customer profiles and reusable payment sources

MCP support

This project is an MCP server that exposes 22 Wompi payment tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"codespar-mcp-wompi": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-wompi"
],
"env": {
"WOMPI_PUBLIC_KEY": "<WOMPI_PUBLIC_KEY>",
"WOMPI_PRIVATE_KEY": "<WOMPI_PRIVATE_KEY>",
"WOMPI_EVENTS_SECRET": "<WOMPI_EVENTS_SECRET>"
}
}
}
}
Run commandnpx -y @codespar/mcp-wompi
Environment variables to set
WOMPI_PUBLIC_KEYSecretPublic key for Wompi
WOMPI_PRIVATE_KEYSecretPrivate key for Wompi
WOMPI_EVENTS_SECRETSecretEvents/webhook secret for signature validation

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@codespar/mcp-wompi0.2.2

Tools

22

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
currencystringYesCurrency code (COP)
referencestringYesUnique transaction reference
customer_dataobjectNoCustomer data
customer_data.legal_idstringNoLegal ID (cedula)
customer_data.full_namestringNoFull name
customer_data.phone_numberstringNoPhone number
customer_data.legal_id_typestringNoLegal ID type (CC, NIT, CE)
customer_emailstringYesCustomer email
payment_methodobjectYesPayment method details
payment_method.typestringYesPayment type (CARD, NEQUI, PSE, BANCOLOMBIA_TRANSFER)
payment_method.tokenstringNoTokenized card token (for CARD)
payment_method.user_typenumberNoUser type: 0=Natural, 1=Legal (for PSE)
payment_method.installmentsnumberNoNumber of installments (for CARD)
payment_method.phone_numberstringNoPhone number (for NEQUI)
payment_method.payment_descriptionstringNoDescription (for PSE)
payment_method.financial_institution_codestringNoBank code (for PSE)
amount_in_centsnumberYesAmount in cents (COP)
acceptance_tokenstringNoAcceptance token from get_acceptance_token

Details

From the project README

@codespar/mcp-wompi

MCP server for Wompi, the Colombian payment gateway by Bancolombia, supporting cards, PSE bank transfers, Nequi, and Bancolombia transfers

npm License: MIT

Quick Start

# Set your credentials
export WOMPI_PUBLIC_KEY="pub_test_..."
export WOMPI_PRIVATE_KEY="prv_test_..."
export WOMPI_SANDBOX="true"

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

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

Environment Variables

VariableRequiredDescription
WOMPI_PUBLIC_KEYYesPublic key from Wompi dashboard
WOMPI_PRIVATE_KEYYesPrivate key for server-side operations
WOMPI_SANDBOXNoSet to "true" for sandbox environment
MCP_HTTPNoSet to "true" to enable HTTP transport
MCP_PORTNoHTTP port (default: 3000)

Tools (22)

ToolPurpose
create_transactionCreate a payment transaction
get_transactionGet transaction details by ID
list_transactionsList transactions
search_transaction_by_referenceFind transaction(s) by merchant reference
void_transactionVoid a transaction
create_payment_linkCreate a payment link
get_payment_linkGet payment link details
update_payment_linkUpdate a payment link
list_payment_linksList payment links
list_payment_methodsList available payment methods for the merchant
get_acceptance_tokenGet merchant acceptance token (required for transactions)
create_tokenized_cardTokenize a credit/debit card
create_tokenized_nequiTokenize a Nequi wallet (start async tokenization by phone number)
get_tokenization_statusQuery async tokenization status (Nequi etc.) by tokenization id
create_payment_sourceCreate a reusable payment source (CARD/NEQUI/PSE) linked to a customer email
create_customerCreate a customer profile
get_customerGet customer by ID
list_financial_institutionsList PSE banks (financial institutions)
create_refundCreate a refund for a transaction
get_refundGet refund details by ID
get_merchantGet merchant information
validate_webhook_signatureValidate a Wompi event signature.

Auth

Uses Bearer token authentication with the private key. The public key is used for client-side tokenization and merchant queries.

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:

  • WOMPI_PUBLIC_KEY (required) — Public key for Wompi
  • WOMPI_PRIVATE_KEY (required, secret) — Private key for Wompi
  • WOMPI_EVENTS_SECRET (secret) — Events/webhook secret for signature validation

Issue credentials at the provider's developer portal: https://docs.wompi.co.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.