Braintree MCP Server logo

Braintree MCP Server

by QuentinCody

Connects MCP clients to PayPal Braintree for credential checks, GraphQL queries, customer data, and payment transactions.

Install Braintree MCP Server

Run the project’s own setup commands, in order.

Setup steps from the project

QuentinCody/braintree-mcp-server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    python braintree_sse_server.py
    
  2. 2. Install
    git clone https://github.com/yourusername/braintree-mcp-server.git
    
  3. 3. Run
    cd braintree-mcp-server
    
  4. 4. Install
    pyenv install 3.13.0
    
  5. 5. Configure
    pyenv local 3.13.0
    
  6. 6. Install
    pip install -e .
    

Overview

QuentinCody/braintree-mcp-server MCP server exposes PayPal Braintree payment processing through MCP tools backed by Braintree's GraphQL API. It provides a connectivity check and an operation for sending arbitrary GraphQL queries, including transaction, customer, and payment creation workflows. The server supports STDIO for clients such as Claude Desktop and SSE for persistent local connections. Reach for QuentinCody/braintree-mcp-server MCP server when an MCP-compatible agent needs structured access to a Braintree account using your own merchant credentials.

Use cases

  • Test Braintree credentials from an MCP client
  • Query transaction details through GraphQL
  • Retrieve customer and payment method data
  • Create Braintree payment transactions
  • Serve multiple local MCP clients over SSE

Key features

  • Braintree GraphQL query and mutation execution
  • Credential connectivity test
  • STDIO transport
  • Server-Sent Events transport
  • Transaction and customer data access

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/22 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Braintree MCP Server works

What QuentinCody/braintree-mcp-server MCP server does

QuentinCody/braintree-mcp-server MCP server connects MCP-compatible AI clients with PayPal Braintree payment processing. Its interface is intentionally small: one tool checks connectivity and another sends GraphQL operations to Braintree. That GraphQL access can cover supported Braintree operations such as retrieving transaction details, reading customer records and payment method details, and creating a transaction by charging a payment method.

The project is unofficial and communicates with Braintree through its GraphQL API. It does not present a separate fixed catalog of customer-management actions in the documented interface; instead, the general GraphQL tool is used for the operations the Braintree API and account permissions support.

How it works

The server offers two transport modes. The STDIO implementation starts a server process for each client session and communicates over standard input and output. This mode is intended for Claude Desktop and other MCP clients that support STDIO. The SSE implementation runs as a persistent local web server and can accept multiple client connections. Its documented default endpoint is http://127.0.0.1:8001/sse, with the process listening on 127.0.0.1 port 8001 unless configured differently.

The braintree_ping tool provides a basic credential and connectivity check, returning pong when successful. The braintree_execute_graphql tool accepts a GraphQL query and variables, then returns the JSON response from Braintree. This lets an agent request fields such as transaction status, amount, currency, creation time, customer identity, and masked card details, or submit a charge mutation with an amount, order ID, payment method ID, and settlement option.

Setup and configuration

QuentinCody/braintree-mcp-server MCP server requires Python 3.13 or newer. After obtaining the repository, install its dependencies with pip install -e .. The documented server commands are python braintree_server.py for STDIO and python braintree_sse_server.py for SSE.

Place a .env file in the project root with these settings:

  • BRAINTREE_MERCHANT_ID
  • BRAINTREE_PUBLIC_KEY
  • BRAINTREE_PRIVATE_KEY
  • BRAINTREE_ENVIRONMENT

Set the environment to sandbox or production as appropriate. The credentials come from the Braintree Control Panel. The SSE host and port are configurable, while the defaults are localhost and port 8001.

Tools and capabilities

  • Test whether the configured Braintree credentials work with braintree_ping.
  • Run arbitrary Braintree GraphQL queries and mutations with braintree_execute_graphql.
  • Fetch customer fields and available payment method details through GraphQL.
  • Retrieve transaction status, monetary value, currency, and creation time.
  • Create a payment transaction by charging a payment method.
  • Serve MCP clients over STDIO or local SSE transport.

Limitations and notes

The repository is described as unofficial. Successful operations depend on valid Braintree credentials, network access to Braintree endpoints, account permissions, and applicable rate limits. The project uses the MIT License and adds an academic citation requirement for publications, presentations, or reports based on the software; commercial and other non-academic use follows the stated MIT terms.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Braintree MCP Server

Clone the repository, use Python 3.13 or newer, and run `pip install -e .` from the project directory.

Yes. Its STDIO transport is documented for Claude Desktop. Configure Claude Desktop to start `python braintree_server.py`.

It requires `BRAINTREE_MERCHANT_ID`, `BRAINTREE_PUBLIC_KEY`, `BRAINTREE_PRIVATE_KEY`, and `BRAINTREE_ENVIRONMENT` in a `.env` file.

Run `python braintree_sse_server.py`; the documented default endpoint is `http://127.0.0.1:8001/sse`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBraintree MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/quentincody-braintree-mcp-server?style=directory)](https://allmcps.com/mcp/quentincody-braintree-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/quentincody-braintree-mcp-server"><img src="https://allmcps.com/api/badge/quentincody-braintree-mcp-server?style=directory" alt="Braintree MCP Server on AllMCPs" /></a>