Skip to main content
BO

Bold

v0.1.0API Key

Adquirente colombiano con una API REST de cobro limpia: tu agente crea un payment intent y acepta tarjetas o débito bancario PSE en una sola llamada.

7 herramientas2 env vars🇨🇴 Colombiaestable en npm

Qué puede hacer tu agente

Bold le da a tu agente 7 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • create_payment_linkCreate a Bold payment link (POST /online/link/v1). Returns payload.payment_link (LNK_ id) and payload.url to hand to the payer. Supports cards, PSE, Nequi and Botón Bancolombia; restrict with payment_methods.
  • create_pse_payment_linkConvenience wrapper: create a Bold payment link restricted to PSE bank debit (payment_methods=["PSE"]).
  • create_card_payment_linkConvenience wrapper: create a Bold payment link restricted to cards (payment_methods=["CREDIT_CARD"]).
Ejemplo de llamada
// 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_payment_link", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-bold-co

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "bold-co": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-bold-co"
      ],
      "env": {
        "BOLD_API_KEY": "<your_bold_api_key>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 7 herramientas de abajo — probá create_payment_link primero.

Variables de entorno · 2

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

BOLD_API_KEY
obligatoriosecret

Bold identity API key (llave de identidad), sent as x-api-key

BOLD_SECRET_KEY
opcionalsecret

Bold secret key. Only needed for the local checkout-signature and webhook-validation tools.

Herramientas disponibles · 7

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

WRITEcreate_payment_link
Create a Bold payment link (POST /online/link/v1). Returns payload.payment_link (LNK_ id) and payload.url to hand to the payer. Supports cards, PSE, Nequi and Botón Bancolombia; restrict with payment_methods.
WRITEcreate_pse_payment_link
Convenience wrapper: create a Bold payment link restricted to PSE bank debit (payment_methods=["PSE"]).
WRITEcreate_card_payment_link
Convenience wrapper: create a Bold payment link restricted to cards (payment_methods=["CREDIT_CARD"]).
WRITEget_payment_link
Query a Bold payment link by id (GET /online/link/v1/{payment_link}). Returns status (ACTIVE, PROCESSING, PAID, REJECTED, EXPIRED), amount, and transaction data once paid.
WRITElist_payment_methods
List the payment methods enabled for this merchant (GET /online/link/v1/payment_methods).
WRITEgenerate_checkout_signature
Generate the SHA-256 integrity signature Bold's embedded checkout button requires: sha256(orderId + amount + currency + secretKey). Runs locally; requires BOLD_SECRET_KEY.
WRITEvalidate_webhook_signature
Verify the HMAC-SHA256 signature of a Bold webhook notification against BOLD_SECRET_KEY. Pass the raw request body string and the signature header value. Accepts hex or base64 encodings. Runs locally.

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Cualquier cliente MCPProtocolo

Preguntas frecuentes

Corré `npx -y @codespar/mcp-bold-co` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
Bold — MCP server · 7 tools | CodeSpar