Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MCP Braintree
Overview
Description from the maker (original English)
MCP server for Braintree (PayPal) — global card processing via GraphQL: charge, refund, vault
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi1 of 1 passedChecked from public information; code not scanned yet
- UsageiNot measured yet★ –
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Online shops & payments
- You need to fill in: BRAINTREE_MERCHANT_ID, BRAINTREE_PUBLIC_KEY, BRAINTREE_PRIVATE_KEY
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 1 of 1 passed
- Runs on your computer with your user’s permissions (files, network, apps).
- You fill in yourself:
BRAINTREE_MERCHANT_ID,BRAINTREE_PUBLIC_KEY,BRAINTREE_PRIVATE_KEY,BRAINTREE_ENV,BRAINTREE_API_VERSION
Values marked secret are keys to your account. Never share them or paste them into a chat.
You need
- npmNode.js installed (for the npx command)
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"braintree": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-braintree"
],
"env": {
"BRAINTREE_MERCHANT_ID": "your-value",
"BRAINTREE_PUBLIC_KEY": "your-value",
"BRAINTREE_PRIVATE_KEY": "your-value",
"BRAINTREE_ENV": "your-value",
"BRAINTREE_API_VERSION": "your-value"
}
}
}
}Run this in your terminal
claude mcp add braintree --env BRAINTREE_MERCHANT_ID=your-value --env BRAINTREE_PUBLIC_KEY=your-value --env BRAINTREE_PRIVATE_KEY=your-value --env BRAINTREE_ENV=your-value --env BRAINTREE_API_VERSION=your-value -- npx -y @codespar/mcp-braintreeFill in the empty values before running it.
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"braintree": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-braintree"
],
"env": {
"BRAINTREE_MERCHANT_ID": "your-value",
"BRAINTREE_PUBLIC_KEY": "your-value",
"BRAINTREE_PRIVATE_KEY": "your-value",
"BRAINTREE_ENV": "your-value",
"BRAINTREE_API_VERSION": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"braintree": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-braintree"
],
"env": {
"BRAINTREE_MERCHANT_ID": "your-value",
"BRAINTREE_PUBLIC_KEY": "your-value",
"BRAINTREE_PRIVATE_KEY": "your-value",
"BRAINTREE_ENV": "your-value",
"BRAINTREE_API_VERSION": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
Values you fill in
- Braintree merchant id (from the Control Panel > API).
- Braintree public API key — Basic auth username.
- Braintree private API key — Basic auth password (secret).
BRAINTREE_ENVenvBraintree environment. 'sandbox' (default, https://payments.sandbox.braintree-api.com/graphql) or 'production' (https://payments.braintree-api.com/graphql).BRAINTREE_API_VERSIONenvBraintree-Version header value (YYYY-MM-DD). Defaults to 2019-01-01.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account codespar, which owns the repo
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Compared with others in Online shops & paymentsi
- More stars than 0% of the other 1745 servers in this category
- Published to the registry more recently than 14% of the other 1745 servers in this category
- Basic checks equal to or better than 100% of the other 1745 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is MCP Braintree safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: BRAINTREE_MERCHANT_ID, BRAINTREE_PUBLIC_KEY, BRAINTREE_PRIVATE_KEY
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed –, and the latest version (0.2.2) reached the registry 5 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Stripe MCP
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
@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)
| Tool | Purpose |
|---|---|
authorize_transaction | Authorize a transaction (reserve funds without capturing) via Braintree GraphQL authorizePaymentMethod. |
charge_transaction | Authorize and capture a transaction atomically via Braintree GraphQL chargePaymentMethod. |
capture_transaction | Capture a previously authorized transaction via captureTransaction. |
refund_transaction | Refund a settled transaction via refundTransaction. |
void_transaction | Void an unsettled transaction (reverse the authorization) via reverseTransaction. |
vault_payment_method | Permanently store a tokenized payment method in the Braintree vault via vaultPaymentMethod. |
delete_payment_method | Delete a vaulted payment method via deletePaymentMethodFromVault. |
create_customer | Create a Braintree customer via createCustomer. |
update_customer | Update an existing Braintree customer via updateCustomer. |
get_transaction | Fetch a transaction by id via the GraphQL search.transactions query. |
get_customer | Fetch a customer by id via the GraphQL node(id:) query. |
submit_for_settlement | Submit a previously authorized transaction for settlement via submitTransactionForSettlement. |
update_payment_method | Update metadata on a vaulted payment method via updatePaymentMethod. |
verify_payment_method | Run a credit-card verification (zero-auth or $1 auth) on a tokenized payment method via verifyPaymentMethod. |
delete_customer | Delete a Braintree customer via deleteCustomer. |
find_customer | Search for customers via the GraphQL search.customers query. |
search_transactions | Search transactions via the GraphQL search.transactions query. |
find_dispute | Fetch a dispute by id via the GraphQL node(id:) query. |
accept_dispute | Accept liability for a dispute via acceptDispute — the merchant concedes and the disputed amount is refunde... |
finalize_dispute | Finalize a dispute via finalizeDispute — submits previously added evidence to the card network for review. |
find_merchant_account | Fetch a merchant account by id via the GraphQL node(id:) query. |
create_client_token | Mint 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/graphqlproduction→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
inputSchemacan still be passed inadditional/ 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