Skip to content
MCP server
Registry

mcp-braintree MCP Server

MCP server for Braintree (PayPal) — global card processing via GraphQL: charge, refund, vault

mcp-braintree scores 45 (Fair), with no SPDX license recorded. It installs as a local process. It declares 22 tools. Filed under Uncategorized. Package registries report about 61 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by codesparNo license
Trust score
45Fair
Trust score 45 of 100, Fair

Fair trust

45 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 45 comes from

22 + 10 + 0 + 0 + 10 + 3 = 45. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance10 / 20

How recently the repository saw a commit or release.

Maintenance: 10 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "codespar-braintree": {      "command": "npx",      "args": [        "-y",        "@codespar/mcp-braintree@0.2.2"      ],      "env": {        "BRAINTREE_MERCHANT_ID": "",        "BRAINTREE_PUBLIC_KEY": "",        "BRAINTREE_PRIVATE_KEY": "YOUR_BRAINTREE_PRIVATE_KEY",        "BRAINTREE_ENV": "",        "BRAINTREE_API_VERSION": ""      }    }  }}

Environment variables

NameRequiredNotes
BRAINTREE_MERCHANT_IDRequiredBraintree merchant id (from the Control Panel > API).
BRAINTREE_PUBLIC_KEYRequiredBraintree public API key — Basic auth username.
BRAINTREE_PRIVATE_KEYSecretRequiredBraintree private API key — Basic auth password (secret).
BRAINTREE_ENVOptionalBraintree environment. 'sandbox' (default, https://payments.sandbox.braintree-api.com/graphql) or 'production' (https://payments.braintree-api.com/graphql).
BRAINTREE_API_VERSIONOptionalBraintree-Version header value (YYYY-MM-DD). Defaults to 2019-01-01.

Tools22Tool docs quality grade C

All capabilities
  • Accept liability for a dispute via acceptDispute — the merchant concedes and the disputed amount is refunde...

  • Authorize a transaction (reserve funds without capturing) via Braintree GraphQL authorizePaymentMethod.

  • Capture a previously authorized transaction via captureTransaction.

  • Authorize and capture a transaction atomically via Braintree GraphQL chargePaymentMethod.

  • Mint a Braintree client token via createClientToken for client-side tokenization (Drop-in, Hosted Fields, m...

  • Create a Braintree customer via createCustomer.

  • Delete a Braintree customer via deleteCustomer.

  • Delete a vaulted payment method via deletePaymentMethodFromVault.

  • Finalize a dispute via finalizeDispute — submits previously added evidence to the card network for review.

  • Search for customers via the GraphQL search.customers query.

  • Fetch a dispute by id via the GraphQL node(id:) query.

  • Fetch a merchant account by id via the GraphQL node(id:) query.

About

@codespar/mcp-braintree

MCP server for Braintree (PayPal) — global card processing via the Braintree GraphQL API.

Target customer: LatAm SaaS selling to US/EU buyers who already hold a Braintree merchant account and want agent-driven payments, vaulting, and customer management.

Tools (22)

ToolPurpose
authorize_transactionAuthorize a transaction (reserve funds without capturing) via Braintree GraphQL authorizePaymentMethod.
charge_transactionAuthorize and capture a transaction atomically via Braintree GraphQL chargePaymentMethod.
capture_transactionCapture a previously authorized transaction via captureTransaction.
refund_transactionRefund a settled transaction via refundTransaction.
void_transactionVoid an unsettled transaction (reverse the authorization) via reverseTransaction.
vault_payment_methodPermanently store a tokenized payment method in the Braintree vault via vaultPaymentMethod.
delete_payment_methodDelete a vaulted payment method via deletePaymentMethodFromVault.
create_customerCreate a Braintree customer via createCustomer.
update_customerUpdate an existing Braintree customer via updateCustomer.
get_transactionFetch a transaction by id via the GraphQL search.transactions query.
get_customerFetch a customer by id via the GraphQL node(id:) query.
submit_for_settlementSubmit a previously authorized transaction for settlement via submitTransactionForSettlement.
update_payment_methodUpdate metadata on a vaulted payment method via updatePaymentMethod.
verify_payment_methodRun a credit-card verification (zero-auth or $1 auth) on a tokenized payment method via verifyPaymentMethod.
delete_customerDelete a Braintree customer via deleteCustomer.
find_customerSearch for customers via the GraphQL search.customers query.
search_transactionsSearch transactions via the GraphQL search.transactions query.
find_disputeFetch a dispute by id via the GraphQL node(id:) query.
accept_disputeAccept liability for a dispute via acceptDispute — the merchant concedes and the disputed amount is refunde...
finalize_disputeFinalize a dispute via finalizeDispute — submits previously added evidence to the card network for review.
find_merchant_accountFetch a merchant account by id via the GraphQL node(id:) query.
create_client_tokenMint a Braintree client token via createClientToken for client-side tokenization (Drop-in, Hosted Fields, m...

Install

npm install @codespar/mcp-braintree

Environment

BRAINTREE_MERCHANT_ID="..."   # merchant id
BRAINTREE_PUBLIC_KEY="..."    # public API key (Basic auth user)
BRAINTREE_PRIVATE_KEY="..."   # private API key (Basic auth password, secret)
BRAINTREE_ENV="sandbox"       # 'sandbox' (default) or 'production'
BRAINTREE_API_VERSION="2019-01-01"  # optional, Braintree-Version header

Endpoints:

  • sandbox → https://payments.sandbox.braintree-api.com/graphql
  • production → https://payments.braintree-api.com/graphql

Authentication

Braintree's GraphQL endpoint accepts HTTP Basic auth with PUBLIC_KEY:PRIVATE_KEY base64-encoded. Every request also requires a Braintree-Version: YYYY-MM-DD header — the server defaults to 2019-01-01 and can be overridden with BRAINTREE_API_VERSION.

Payment method ids

Most mutations take a paymentMethodId. These come from client-side tokenization (Braintree Drop-in / Hosted Fields / SDKs) — the server does not accept raw PANs. Use create_client_token to mint a token for the browser or mobile SDK.

Run

# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-braintree

# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-braintree

Notes

  • 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.

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.

License

MIT

Frequently asked questions

What is mcp-braintree MCP Server?

MCP server for Braintree (PayPal) — global card processing via GraphQL: charge, refund, vault

How do I install mcp-braintree MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mcp-braintree MCP Server runs locally from the npm package @codespar/mcp-braintree with the command npx -y @codespar/mcp-braintree@0.2.2.

Does mcp-braintree MCP Server support remote (HTTP) connections?

No remote endpoint is listed for mcp-braintree MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does mcp-braintree MCP Server provide?

mcp-braintree MCP Server provides 22 tools, including accept_dispute, authorize_transaction, capture_transaction, and charge_transaction. See the full tool list for descriptions and parameters.

How is mcp-braintree MCP Server's trust score calculated?

mcp-braintree MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server