whop-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@whop-mcplist my recent payments"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
whop-mcp
A community-built Model Context Protocol (MCP) server for the Whop.com Company API. It enables AI assistants (Claude, Cursor, etc.) to fully manage your Whop business — payments, memberships, products, promo codes, affiliates, and more.
✨ Features
🔐 Secure API key authentication via environment variable
📦 Full TypeScript with strict type-safety
🔄 Automatic retry & rate-limit handling
🛡️ Comprehensive error handling (401, 403, 404, 429)
🚀 Works with Claude Desktop, Cursor, and any MCP-compatible client
📡 stdio transport (works as a CLI binary or subprocess)
Related MCP server: VoIPBin MCP Server
⚙️ Quick Start
Install in VS Code
Install the whop-mcp server in VS Code with one click:
Note: Replace
YOUR_WHOP_API_KEY_HEREwith your actual Company API key from the Whop Developer Dashboard.
Install in Claude Desktop
Add to your Claude Desktop config file:
macOS/Linux: ~/.config/claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"whop": {
"command": "npx",
"args": ["-y", "@furkankoykiran/whop-mcp"],
"env": {
"WHOP_API_KEY": "YOUR_WHOP_API_KEY_HERE"
}
}
}
}Install in Cursor
Add to your Cursor MCP settings (Cursor Settings -> MCP Servers):
{
"whop": {
"command": "npx",
"args": ["-y", "whop-mcp"],
"env": {
"WHOP_API_KEY": "YOUR_WHOP_API_KEY_HERE"
}
}
}🔑 Getting Your API Key
Click Create in the Company API Keys section
Give your key a name (e.g. "Claude Integration")
Select the appropriate permissions (Payments, Memberships, Products, etc.)
Copy the key — you'll never see it again!
💰 Available Tools
💰 Payments & Finance
Tool | Description |
| List payments with filters (status, product, date range, pagination) |
| Get full details of a specific payment |
| Issue a full or partial refund for a payment |
| Retry a failed payment attempt |
| Void an open/uncollected payment |
| High-level revenue, refund, and fee summary |
🪪 Memberships & Licenses
Tool | Description |
| List memberships with filters (status, product, user, validity) |
| Get full membership details including license key and expiry |
| Validate a license key and check if its membership is active |
| Extend a membership by adding free days |
| Cancel a membership at period end |
| Immediately revoke a membership |
| Update metadata on a membership |
📦 Products & Catalog
Tool | Description |
| List all products with plans and experiences |
| Get full product details, plans, and experiences |
| Create a new product |
| Update product name, visibility, or description |
| Delete a product permanently |
| List all pricing plans for a product |
🎟️ Promo Codes & Discounts
Tool | Description |
| List all promo codes with optional status filter |
| Get details of a specific promo code |
| Create a new discount code (% or $ off) |
| Update an existing promo code (status, expiry, etc.) |
| Permanently delete a promo code |
🤝 Affiliates
Tool | Description |
| List all affiliates with commission and earnings data |
| Get detailed stats for a specific affiliate |
| Aggregate affiliate program performance with top performers |
👥 Customers & Reviews
Tool | Description |
| Look up a Whop user by username or user ID |
| Find customers by email address |
| Fetch customer reviews with optional star rating filter |
| Aggregate review statistics (avg rating, distribution) |
▶️ Example Prompts
Once connected, you can ask your AI assistant:
"Show me all payments from the last 30 days"
"Refund payment pay_123abc"
"Add 7 free days to membership mem_456def"
"Create a 20% off promo code called SUMMER20 that expires December 31, 2025"
"What's my average customer review rating?"
"Who are my top 5 affiliates by earnings?"
"Validate license key ABC-1234-XYZ"
🔧 Development
# Install deps
npm install
# Run in dev mode (auto-reload)
npm run dev
# Build
npm run build
# Test manually
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | WHOP_API_KEY=test node dist/index.js🤝 Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
📄 License
This project is licensed under the MIT License.
⚠️ Disclaimer: This is a community-led project and is NOT an official Whop.com product. It is not affiliated with, endorsed by, or supported by Whop.com. Always test in a non-production environment before running actions like refunds or membership terminations.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/furkankoykiran/whop-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server