Create a new customer in Stripe with the provided information
Retrieve a customer's details from Stripe using their ID
Update an existing customer's information in Stripe
Create a payment intent for processing payments through Stripe
List recent charges processed through Stripe
Create a refund for a previous charge in Stripe
The Stripe Integration MCP provides a comprehensive interface to Stripe's payment processing platform, allowing AI assistants to manage customers, process payments, and handle refunds. This integration enables secure financial transactions directly through your AI assistant. With detailed audit logging and structured error handling, this MCP ensures all payment operations are traceable and secure. It's designed to simplify the integration of payment capabilities into AI workflows while maintaining compliance with financial processing standards.
The Stripe Integration MCP allows AI assistants to interact with Stripe's payment processing platform. This server provides tools for managing customers, processing payments, and handling refunds, all with comprehensive audit logging.
Clone the repository:
git clone https://github.com/atharvagupta2003/mcp-stripe.git
cd mcp-stripe
Set up a virtual environment:
python -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windows
Install dependencies:
pip install -e .
Configure environment variables:
Create a .env
file in the root directory with your Stripe API key:
STRIPE_API_KEY=your_stripe_secret_key
To add the Stripe Integration to Claude Desktop:
Locate your Claude Desktop configuration file:
C:\Users\<username>\AppData\Roaming\Claude\claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
Add the server configuration to the mcpServers
section:
{
"mcpServers": {
"stripe": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-stripe",
"run",
"python",
"-m",
"src.server"
]
}
}
}
Replace /path/to/mcp-stripe
with the actual path to your cloned repository.
Once installed, the Stripe Integration MCP provides several tools for managing payments:
Use the customer management tools to create, retrieve, and update customer information in your Stripe account.
Create payment intents and list charges to process payments securely through Stripe.
Process refunds for previous charges when needed.
If you encounter issues:
For additional help, refer to the Stripe API documentation or open an issue on the GitHub repository.