Skip to main content
BO

Bold

v0.1.0API Key

Colombian acquirer with a clean REST charge API: your agent creates a payment intent and takes cards or PSE bank debit in one call.

7 tools2 env vars๐Ÿ‡จ๐Ÿ‡ด Colombiastable on npm

What your agent can do

Bold gives your agent 7 tools it calls directly โ€” pick the ones it needs, in Claude, Cursor, or any MCP client.

  • create_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.
  • create_pse_payment_link โ€” Convenience wrapper: create a Bold payment link restricted to PSE bank debit (payment_methods=["PSE"]).
  • create_card_payment_link โ€” Convenience wrapper: create a Bold payment link restricted to cards (payment_methods=["CREDIT_CARD"]).
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_payment_link", { /* ... */ });

Install

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

Quickstart

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

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

After restart, your agent can call any of the 7 tools below โ€” try create_payment_link first.

Environment variables ยท 2

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

BOLD_API_KEY
requiredsecret

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

BOLD_SECRET_KEY
optionalsecret

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

Available tools ยท 7

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

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.

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-bold-co` 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.
Bold โ€” MCP server ยท 7 tools | CodeSpar