Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Mcp Stripe

    42 stars
    Python
    Updated Oct 3, 2025

    Table of Contents

    • Requirements
    • Components
    • Resources
    • Tools
    • Customer Management
    • Payment Operations
    • Refund Operations
    • Features
    • Installation
    • Installing via Smithery
    • Install dependencies
    • Configuration
    • Claude Desktop
    • Usage
    • Start the server
    • Example MCP Commands
    • Create a customer
    • Retrieve a customer
    • Create a payment intent
    • Create a refund
    • Error Handling
    • Development
    • Testing
    • Building
    • Contributing
    • License

    Table of Contents

    • Requirements
    • Components
    • Resources
    • Tools
    • Customer Management
    • Payment Operations
    • Refund Operations
    • Features
    • Installation
    • Installing via Smithery
    • Install dependencies
    • Configuration
    • Claude Desktop
    • Usage
    • Start the server
    • Example MCP Commands
    • Create a customer
    • Retrieve a customer
    • Create a payment intent
    • Create a refund
    • Error Handling
    • Development
    • Testing
    • Building
    • Contributing
    • License

    Documentation

    MCP Stripe Server

    smithery badge

    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.

    Demo

    stripe_demo

    Requirements

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

    Components

    Resources

    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

    Tools

    The server implements Stripe API operations, including:

    Customer Management

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

    Payment Operations

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

    Refund Operations

    • refund_create: Create a refund for a charge

    Features

    • 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

    Installation

    Installing via Smithery

    To install Stripe Server for Claude Desktop automatically via Smithery:

    bash
    npx -y @smithery/cli install @atharvagupta2003/mcp-stripe --client claude

    Install dependencies

    sh
    python -m venv venv
    source venv/bin/activate  # On macOS/Linux
    venv\Scripts\activate    # On Windows
    pip install -e .

    Configuration

    Set up the environment variables in a .env file:

    sh
    STRIPE_API_KEY=your_stripe_secret_key

    Claude Desktop

    Add the server configuration to your Claude Desktop config:

    Windows: C:\Users\\AppData\Roaming\Claude\claude_desktop_config.json

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

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

    Usage

    Start the server

    sh
    uv run src/server.py

    Example MCP Commands

    Create a customer

    json
    {
        "tool": "customer_create",
        "arguments": {
            "email": "customer@example.com",
            "name": "John Doe"
        }
    }

    Retrieve a customer

    json
    {
        "tool": "customer_retrieve",
        "arguments": {
            "customer_id": "cus_123456"
        }
    }

    Create a payment intent

    json
    {
        "tool": "payment_intent_create",
        "arguments": {
            "amount": 5000,
            "currency": "usd",
            "customer": "cus_123456"
        }
    }

    Create a refund

    json
    {
        "tool": "refund_create",
        "arguments": {
            "charge_id": "ch_abc123"
        }
    }

    Error Handling

    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

    Development

    Testing

    Run the MCP Inspector for interactive testing:

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

    Building

    1. Update dependencies:

    code
    uv compile pyproject.toml

    2. Build package:

    code
    uv build

    Contributing

    We welcome contributions! Please see our Contributing Guidelines for details.

    License

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

    Similar MCP

    Based on tags & features

    • IS

      Isaac Sim Mcp

      Python·
      83
    • MA

      Mayamcp

      Python·
      27
    • BI

      Biothings Mcp

      Python·
      25
    • FH

      Fhir Mcp Server

      Python·
      55

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • IS

      Isaac Sim Mcp

      Python·
      83
    • MA

      Mayamcp

      Python·
      27
    • BI

      Biothings Mcp

      Python·
      25
    • FH

      Fhir Mcp Server

      Python·
      55

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k