Skip to main content
BO

Bold

v0.1.0API Key

Adquirente colombiano com uma API REST de cobrança limpa: seu agente cria um payment intent e aceita cartões ou débito bancário PSE em uma chamada.

7 ferramentas2 env vars🇨🇴 Colômbiaestável no npm

O que seu agente faz

O Bold dá ao seu agente 7 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer 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"]).
Exemplo de chamada
// 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

Adicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).

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

Depois de reiniciar, seu agente pode chamar qualquer uma das 7 ferramentas abaixo — teste create_payment_link primeiro.

Variáveis de ambiente · 2

Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.

BOLD_API_KEY
obrigatóriosecret

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.

Ferramentas disponíveis · 7

Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.

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 compatíveis

MCP é um protocolo — qualquer framework que o fale pode montar este server.

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

Perguntas frequentes

Rode `npx -y @codespar/mcp-bold-co` e adicione o bloco de config acima ao seu cliente MCP — Claude, Cursor, VS Code ou qualquer cliente compatível com MCP. Sem build, sem SDK. Prefere hospedado? O tier gerenciado da CodeSpar roda pra você, com a auth resolvida.
Bold — MCP server · 7 tools | CodeSpar