Braintree MCP Server

mcp-braintree is an MCP server in the API integration category that exposes 22 tools to an agent, covering customer, payment, read & search.

People who work with transaction, customer and payment and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

One of 127 MCP servers published from codespar/mcp-dev-latam. Stars and repository activity are shared across all of them. See all 127 →

VERIFIED ACTIVE

LAST COMMIT 2026-08-29 · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Braintree

before you install - you'll need

Set BRAINTREE_MERCHANT_ID, BRAINTREE_PUBLIC_KEY, BRAINTREE_PRIVATE_KEY, MCP_HTTP before connecting. BRAINTREE_ENV, BRAINTREE_API_VERSION are optional or environment-specific per the README.

Claude Code

claude mcp add codespar-mcp-dev-latam-packages-payments -- npx -y @codespar/mcp-braintree

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "codespar-mcp-dev-latam-packages-payments": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-braintree"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @codespar/mcp-braintree - published under the repo owner's npm scope (@codespar)

registry namespace io.github.codespar is GitHub-verified and matches the repo owner

03 · What Braintree can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can capture a previously authorized transaction via captureTransaction, delete a vaulted payment method via deletePaymentMethodFromVault, create a Braintree customer via createCustomer, and update an existing Braintree customer via updateCustomer.

Capability map

Tools grouped from the project's README - what Braintree lets an agent do.

Customer

5 tools - e.g. Create a Braintree customer via createCustomer.; Update an existing Braintree customer via updateCustomer.; Fetch a customer by id via the GraphQL node(id:) query.

create_customer · update_customer · get_customer · delete_customer · find_customer

Payment

4 tools - e.g. Permanently store a tokenized payment method in the Braintree vault via vaultPaymentMethod.; Delete a vaulted payment method via deletePaymentMethodFromVault.; Update metadata on a vaulted payment method…

vault_payment_method · delete_payment_method · update_payment_method · verify_payment_method

read & search

4 tools - e.g. Fetch a transaction by id via the GraphQL search.transactions query.; Search transactions via the GraphQL search.transactions query.; Fetch a dispute by id via the GraphQL node(id:) query.

get_transaction · search_transactions · find_dispute · find_merchant_account

auth & access

1 tool - e.g. Authorize a transaction (reserve funds without capturing) via Braintree GraphQL authorizePaymentMethod.

authorize_transaction

Charge

1 tool - e.g. Authorize and capture a transaction atomically via Braintree GraphQL chargePaymentMethod.

charge_transaction

Capture

1 tool - e.g. Capture a previously authorized transaction via captureTransaction.

capture_transaction

Refund

1 tool - e.g. Refund a settled transaction via refundTransaction.

refund_transaction

Void

1 tool - e.g. Void an unsettled transaction (reverse the authorization) via reverseTransaction.

void_transaction

Limitations (from the README)

- Amount is a string in Braintree GraphQL (e.g. "10.50"), not a number. The server forwards whatever shape the agent passes; strings are the safe default. - Braintree's GraphQL schema evolves; some input fields not exposed in the MCP inputSchema can still be passed in additional / nested objects and will be forwarded.

04 · Who maintains Braintree

mcp-braintree is maintained by codespar. We track 127 MCP servers from codespar - 127 actively maintained, 271 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from codespar.

  1. mcp-brasil-api MCP server for BrasilAPI - CEP, CNPJ, banks, FIPE, holidays, weather ★ 271
  2. mcp-iugu MCP server for iugu - invoices, subscriptions, customers, payment methods ★ 271
  3. mcp-asaas MCP server for Asaas - billing automation, Pix, boleto, credit card, subscriptions ★ 271
  4. mcp-omie MCP server for Omie - ERP, customers, products, orders, invoices, financials ★ 271
  5. mcp-mercado-bitcoin MCP server for Mercado Bitcoin - Brazilian crypto exchange, trading, orderbook, withdrawals ★ 271
  6. mcp-sendgrid MCP server for SendGrid - global transactional + marketing email (Twilio-owned) ★ 271

05 · Facts

category
API integration - actively maintained as of 2026-09-18.
registry
io.github.codespar/mcp-braintree (active, first published 2026-06-20 · 2 versions)
packages
npm:@codespar/mcp-braintree

06 · Braintree FAQ

Is Braintree still maintained?

Yes - as of 2026-09-18, its last commit was 2026-08-29. We re-verify nightly.

What can Braintree do?

With this server connected, an agent can capture a previously authorized transaction via captureTransaction, delete a vaulted payment method via deletePaymentMethodFromVault, create a Braintree customer via createCustomer, and update an existing Braintree customer via updateCustomer.

How do I install Braintree?

Run `npx -y @codespar/mcp-braintree`. The README documents 6 environment variables (BRAINTREE_MERCHANT_ID, BRAINTREE_PUBLIC_KEY, BRAINTREE_PRIVATE_KEY…) to set first. Set BRAINTREE_MERCHANT_ID, BRAINTREE_PUBLIC_KEY, BRAINTREE_PRIVATE_KEY, MCP_HTTP before connecting. BRAINTREE_ENV, BRAINTREE_API_VERSION are optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Braintree run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Braintree

More API integration MCP servers · Pix Bcb · Dataverse · Omni Nli · ComparEdge LLM Cost · Compar Edge

More TypeScript MCP servers · Braspag · Celcoin · Chargebee · Cielo · Culqi · see all