Stripe

by atharvagupta2003

29 stars
Not rated
GitHub

About

Integrates with Stripe's payment processing API to enable transaction processing, customer management, and subscription handling for financial applications.

Details

Author
atharvagupta2003
Repository
atharvagupta2003/mcp-stripe
GitHub stars
29
License
MIT License
Categories
Developer Tools, Other, Finance, Productivity, Design, AI, API, Automation, Frontend
Tags
#integration

- Secure Payments: Integrates with Stripe for robust payment handling
- Audit Logging: Keeps track of all Stripe transactions
- Error Handling: Comprehensive error handling with clear messages
- MCP Integration: Supports MCP-compatible tools and resource listing

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Stripe
    Command (node, npx, python, etc.) uv
    Arguments
    • Argument 1 --directory
    • Argument 2 /ABSOLUTE/PATH/TO/PARENT/FOLDER/src
    • Argument 3 run
    • Argument 4 server.py
    Environment
    • STRIPE_API_KEY your_stripe_secret_key

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Set up the environment variables in a .env file:

STRIPE_API_KEY=your_stripe_secret_key

To install Stripe Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @atharvagupta2003/mcp-stripe --client claude
python -m venv venv
source venv/bin/activate  # On macOS/Linux
venv\Scripts\activate    # On Windows
pip install -e .

customer_create

Create a new customer. Parameters: email (string), name (string)

customer_retrieve

Retrieve a customer's details. Parameters: customer_id (string)

customer_update

Update customer information. Parameters: customer_id (string), email (optional string), name (optional string)

payment_intent_create

Create a payment intent for processing payments. Parameters: amount (integer), currency (string), customer (optional string)

charge_list

List recent charges.

refund_create

Create a refund for a charge. Parameters: charge_id (string)

The server implements Stripe API operations, including:

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "stripe": {
            "env": {
                "STRIPE_API_KEY": "your_stripe_secret_key"
            },
            "args": [
                "--directory",
                "/ABSOLUTE/PATH/TO/PARENT/FOLDER/src",
                "run",
                "server.py"
            ],
            "command": "uv"
        }
    }
}

Linux

{
    "env": {
        "STRIPE_API_KEY": "your_stripe_secret_key"
    },
    "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/src",
        "run",
        "server.py"
    ],
    "command": "uv"
}

Macos

{
    "env": {
        "STRIPE_API_KEY": "your_stripe_secret_key"
    },
    "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/src",
        "run",
        "server.py"
    ],
    "command": "uv"
}

Windows

{
    "env": {
        "STRIPE_API_KEY": "your_stripe_secret_key"
    },
    "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/src",
        "run",
        "server.py"
    ],
    "command": "uv"
}

A Model Context Protocol (MCP) server implementation that integrates with Stripe for handling payments, customers, and refunds. This server provides a structured API to manage financial transactions securely.

- Python 3.8+
- MCP SDK 0.1.0+
- Stripe Python SDK
- dotenv

The server provides audit logging of all Stripe operations:

- Stores audit logs of customer, payment, and refund operations
- Supports structured logging for better traceability
- Uses MCP resource endpoints to retrieve audit data

The server implements Stripe API operations, including:

- customer_create: Create a new customer
- customer_retrieve: Retrieve a customer's details
- customer_update: Update customer information

- payment_intent_create: Create a payment intent for processing payments
- charge_list: List recent charges

- refund_create: Create a refund for a charge

- Secure Payments: Integrates with Stripe for robust payment handling
- Audit Logging: Keeps track of all Stripe transactions
- Error Handling: Comprehensive error handling with clear messages
- MCP Integration: Supports MCP-compatible tools and resource listing

To install Stripe Server for Claude Desktop automatically viaSmithery:

npx -y @smithery/cli install @atharvagupta2003/mcp-stripe --client claude
python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows pip install -e .

Set up the environment variables in a.envfile:

Add the server configuration to your Claude Desktop config:

Windows: C:\Users<username>\AppData\Roaming\Claude\claude_desktop_config.json

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{ "mcpServers": { "stripe": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/src", "run", "server.py" ] } } }
{ "tool": "customer_create", "arguments": { "email": "customer@example.com", "name": "John Doe" } }
{ "tool": "customer_retrieve", "arguments": { "customer_id": "cus_123456" } }
{ "tool": "payment_intent_create", "arguments": { "amount": 5000, "currency": "usd", "customer": "cus_123456" } }
{ "tool": "refund_create", "arguments": { "charge_id": "ch_abc123" } }

The server provides clear error messages for common scenarios:

- Missing API Key: STRIPE_API_KEY required
- Invalid API Key: Authentication error
- Customer not found: Invalid customer ID
- Invalid input: Missing or incorrect parameters

Run the MCP Inspector for interactive testing:

npx @modelcontextprotocol/inspector uv --directory /ABSOLUTE/PATH/TO/PARENT/FOLDER/src run server.py

We welcome contributions! Please see ourContributing Guidelinesfor details.

This project is licensed under the MIT License - see theLICENSEfile for details.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Hosted, Stateless & Multitenant Stripe MCP server enables AI assistants to manage payments, customers, subscriptions, invoices, and financial operations through Stripe.

Integrate AI tools and agents with Cashfree's Payment Gateway, Payouts, and SecureID APIs.

MCP server that gives AI agents and teams secure, role-based access to Stripe billing operations — customer lookups, subscription management, refunds, invoice history — without exposing Stripe dashboard credentials. Sub-100ms reads via local Stripe sync engine. 4 permission levels with audit logging. $14.99/month.

AI agent commerce marketplace — register, list services, buy and sell capabilities with real payments via Stripe.

Self Hosted Payment gateway for agents, openclaw, hermes and more

Official Stripe MCP server and agent toolkit for working with Stripe customers, payments, subscriptions, refunds, invoices, and billing operations.

MCP Server for Alipay AI Pay — discover skills, get payment integration guides, and merchant onboarding

Atoa is a UK payments platform that helps businesses accept Pay by Bank and card payments online, in person and remotely. Customers can make Pay by Bank payments securely from their own their Bank app, with Strong Customer Authentication such as Face ID or fingerprint. Businesses can take payments through payment links, QR codes, ecommerce checkouts, card machines and recurring payments, while managing everything from one dashboard. Atoa supports Visa, Mastercard, American Express, Apple Pay and Google Pay alongside Pay by Bank. FCA authorised, PCI DSS compliant, ISO 27001 and SOC 2 certified, Atoa makes accepting and managing payments simple, secure and cost-effective.

37 MCP servers for agentic commerce — Stripe ACP, x402, AP2, Google UCP, plus 14 Brazilian payment rails. ~480 tools.

Trust and reputation layer for AI agents that handle money. Agent Credit Score (300-850), hash-chained ledger, behavioral finance, real payment rails (Stripe, Paystack, Lightning), autonomous shopping with escrow.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.