- Explore MCP Servers
- experimental-agentic-commerce-with-stripe-and-mcp
Experimental Agentic Commerce With Stripe And Mcp
What is Experimental Agentic Commerce With Stripe And Mcp
The experimental-agentic-commerce-with-stripe-and-mcp is a demo application that showcases how to deploy a remote MCP server integrated with Stripe on Cloudflare Workers, providing e-commerce functionalities without requiring authentication.
Use cases
Use cases include online stores needing a simple checkout process, developers testing Stripe integrations, and educational purposes for understanding MCP server deployments.
How to use
To use the server, deploy it on Cloudflare Workers using the provided deployment button or command line. After deployment, connect to the server via the Cloudflare AI Playground or local MCP clients using the mcp-remote proxy.
Key features
Key features include creating Stripe checkout sessions, retrieving product listings with search and filtering capabilities, and accessing Stripe product data.
Where to use
This MCP server can be used in e-commerce applications, particularly for businesses looking to integrate payment processing with Stripe in a serverless environment.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Experimental Agentic Commerce With Stripe And Mcp
The experimental-agentic-commerce-with-stripe-and-mcp is a demo application that showcases how to deploy a remote MCP server integrated with Stripe on Cloudflare Workers, providing e-commerce functionalities without requiring authentication.
Use cases
Use cases include online stores needing a simple checkout process, developers testing Stripe integrations, and educational purposes for understanding MCP server deployments.
How to use
To use the server, deploy it on Cloudflare Workers using the provided deployment button or command line. After deployment, connect to the server via the Cloudflare AI Playground or local MCP clients using the mcp-remote proxy.
Key features
Key features include creating Stripe checkout sessions, retrieving product listings with search and filtering capabilities, and accessing Stripe product data.
Where to use
This MCP server can be used in e-commerce applications, particularly for businesses looking to integrate payment processing with Stripe in a serverless environment.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
[Experimental Demo] Stripe E-commerce MCP Server
This demo application demonstrates how to deploy a remote MCP server with Stripe integration on Cloudflare Workers. This server provides e-commerce functionality using Stripe and operates without authentication.
Features
This MCP server provides the following functionality:
Tools
- create_checkout_session: Create Stripe checkout sessions
- list_products: Retrieve product listings (with search and filtering capabilities)
Resources
- products: Access to Stripe product data
Configuration
Required Environment Variables
STRIPE_API_KEY
: Your Stripe API key
Deployment
Alternatively, you can create the MCP server locally using the command line:
npm create cloudflare@latest -- stripe-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
After deployment, your MCP server will be accessible at a URL like:
stripe-mcp-server.<your-account>.workers.dev/sse
Usage
1. Connecting to Cloudflare AI Playground
- Go to https://playground.ai.cloudflare.com/
- Enter your deployed MCP server URL (
stripe-mcp-server.<your-account>.workers.dev/sse
) - You can now use the Stripe MCP tools directly from the playground!
2. Connecting to Claude Desktop
You can also connect from local MCP clients using the mcp-remote proxy.
To connect your MCP server to Claude Desktop, follow Anthropic’s Quickstart and add the following configuration in Claude Desktop > Settings > Developer > Edit Config:
Restart Claude and the tools will become available.
API Specification
create_checkout_session
Creates a Stripe checkout session.
Parameters:
items
: Array of product price_id and quantitysuccessUrl
: Redirect URL on successful payment (optional)cancelUrl
: Redirect URL on payment cancellation (optional)
list_products
Retrieves product listings. Provides search and filtering functionality.
Parameters:
description
: Search by product description (optional)metadata
: Search by metadata (optional)name
: Search by product name (optional)operator
: AND/OR search operator (optional)limit
: Maximum number of products to retrieve (default: 10)
Setup Notes
- Obtain a valid API key from your Stripe dashboard
- Set the STRIPE_API_KEY environment variable
- Ensure that valid products are created in your Stripe account
Development and Customization
To add your own tools to the MCP server, define each tool inside the init()
method of src/index.ts
using this.server.tool(...)
.
DevTools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.