
Braintree MCP Server
by codespario.github.codespar/mcp-braintreev0.2.2
MCP server for Braintree (PayPal) — global card processing via GraphQL: charge, refund, vault
context tax
queued
security
queued
cold start
queued
freshness
Active13d ago
Install Braintree MCP server
Install in Claude Code
claude mcp add braintree -e BRAINTREE_MERCHANT_ID='<braintree-merchant-id>' -e BRAINTREE_PUBLIC_KEY='<braintree-public-key>' -e BRAINTREE_PRIVATE_KEY='<braintree-private-key>' -- npx -y @codespar/mcp-braintreeInstall in Cursor
{
"mcpServers": {
"braintree": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-braintree"
],
"env": {
"BRAINTREE_MERCHANT_ID": "<braintree-merchant-id>",
"BRAINTREE_PUBLIC_KEY": "<braintree-public-key>",
"BRAINTREE_PRIVATE_KEY": "<braintree-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"braintree": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-braintree"
],
"env": {
"BRAINTREE_MERCHANT_ID": "<braintree-merchant-id>",
"BRAINTREE_PUBLIC_KEY": "<braintree-public-key>",
"BRAINTREE_PRIVATE_KEY": "<braintree-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"braintree": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-braintree"
],
"env": {
"BRAINTREE_MERCHANT_ID": "<braintree-merchant-id>",
"BRAINTREE_PUBLIC_KEY": "<braintree-public-key>",
"BRAINTREE_PRIVATE_KEY": "<braintree-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"braintree": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-braintree"
],
"env": {
"BRAINTREE_MERCHANT_ID": "<braintree-merchant-id>",
"BRAINTREE_PUBLIC_KEY": "<braintree-public-key>",
"BRAINTREE_PRIVATE_KEY": "<braintree-private-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| BRAINTREE_MERCHANT_ID | yes | — | Braintree merchant id (from the Control Panel > API). |
| BRAINTREE_PUBLIC_KEY | yes | — | Braintree public API key — Basic auth username. |
| BRAINTREE_PRIVATE_KEY | yes | yes | Braintree private API key — Basic auth password (secret). |
| BRAINTREE_ENV | — | — | Braintree environment. 'sandbox' (default, https://payments.sandbox.braintree-api.com/graphql) or 'production' (https://payments.braintree-api.com/graphql). |
| BRAINTREE_API_VERSION | — | — | Braintree-Version header value (YYYY-MM-DD). Defaults to 2019-01-01. |
Freshness
Active — last maintenance signal 13d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-27 · 13d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-06-22 · 4mo ago · official registry · v0.2.2
FAQ
›How do I install the Braintree MCP server in Claude Code?
Run: claude mcp add braintree -e BRAINTREE_MERCHANT_ID='<braintree-merchant-id>' -e BRAINTREE_PUBLIC_KEY='<braintree-public-key>' -e BRAINTREE_PRIVATE_KEY='<braintree-private-key>' -- npx -y @codespar/mcp-braintree. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Braintree require an API key?
Yes. It expects BRAINTREE_MERCHANT_ID, BRAINTREE_PUBLIC_KEY, BRAINTREE_PRIVATE_KEY, of which 1 is a secret.
›Can I use Braintree as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Braintree in the official MCP registry?
Yes, as io.github.codespar/mcp-braintree.