跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Whop,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
让你的 AI 处理你的 Whop 业务:产品和方案、会员资格和许可证密钥、会员、付款、优惠码、experiences、论坛帖子和 webhook;取消和退款默认关闭,直到你启用为止。
试试这样问
Whop 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Whop、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Whop + Cursor
让你的 AI 处理你的 Whop 业务:产品和方案、会员资格和许可证密钥、会员、付款、优惠码、experiences、论坛帖子和 webhook;取消和退款默认关闭,直到你启用为止。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
WHOP_API_KEY, WHOP_ACCOUNT_ID
步骤 1 — 获取凭证
- 打开
https://whop.com/dashboard,在业务切换器中选择你的业务,然后进入 Developer → Account API Keys → Create。 - 选择权限。Admin 角色涵盖全部权限。若要缩小范围,请授予你所用工具的读取权限:
member:basic:read(会员资格、会员、许可证密钥)、access_pass:basic:read(产品)、plan:basic:read(方案)、payment:basic:read(付款)、promo_code:basic:read(优惠码)、forum:read(论坛帖子)、developer:manage_webhook(webhook)、company:balance:read(whop_get_account),以及查看会员邮箱所需的member:email:read。取消需要membership:cancel或member:manage,退款需要payment:manage。 - 将密钥复制到
WHOP_API_KEY。Whop 只显示一次。 - 将你的业务 ID 填入
WHOP_ACCOUNT_ID。它以biz_开头,位于控制台 URL 中(whop.com/dashboard/biz_.../);whop_get_account也会返回它。
密钥类型:连接器需要 Account API key,它以你自己的业务身份操作。App API key 也可以使用;此时由 WHOP_ACCOUNT_ID 决定账户级工具读取哪个业务。不支持 OAuth 令牌和 iframe 用户令牌。
可读取的内容:带价格、计费周期和试用期的产品和方案(Whop 现在把方案称为变体,但 ID 仍以 plan_ 开头)、会员资格、会员和用户的公开资料、用户是否有权访问某个产品、experience 或业务、带明细和退款信息的付款、优惠码、experiences、论坛帖子以及 webhook 端点(不含签名密钥)。whop_validate_license_key 检查通过 Whop 销售的软件许可证密钥并回答它是否有效;它不会绑定或重置密钥。
安装时关闭:whop_cancel_membership 和 whop_refund_payment。只有当你希望 AI 执行取消或退款时,才在连接器设置中启用它们。即使启用,AI 也会先与你确认具体的会员资格或付款、买家、金额和时间:退款会给买家发邮件、追回联盟佣金,且无法撤销。
个人数据:会员资格、会员和付款包含姓名、邮箱(需 member:email:read)和电话号码。AI 只会为你的请求使用这些信息。
长列表:列表类工具分页返回结果,只要还有更多,AI 就会获取下一页。
常见错误:401 表示密钥错误、已删除或不完整。403:密钥缺少消息中指出的权限,请在 Developer → Account API Keys 中添加。404:未知的 ID 或许可证密钥,或属于其他业务的对象。400:参数无效,例如 ID 前缀错误;消息会指出是哪一个。429:速率限制;请稍候并重试一次。
该连接器不创建或编辑产品、方案和优惠码,也不涵盖结账链接、提现、聊天和私信、应用、广告或财务报表。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Cursor 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Cursor 从 ~/.cursor/mcp.json 读取 MCP 服务器。添加以下条目:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换
YOUR_MCP_API_KEY。 - 保存文件并重启 Cursor。
- 打开 Cursor → Settings → MCP,确认
anythingmcp已列出并处于已连接状态。 - 开始对话,智能体现在可以调用
Whop的工具。
可用工具
| Tool | What it does |
|---|---|
whop_get_account | Get the Whop business (account) behind the API key: id (biz_), title, business name, route, email, country, status, level, website, owner… |
whop_list_products | List the products of the configured Whop business with id (prod_), title, headline, route, visibility, member count, review rating and… |
whop_get_product | Get one Whop product with its description, visibility, plans (variants), affiliate settings, member count and owner |
whop_list_plans | List the plans (Whop now calls them variants) of the configured business: id (plan_), title, product, plan type (renewal or one_time)… |
whop_get_plan | Get one Whop plan (variant) with price, currency, billing period, trial, stock, visibility, tax settings, internal notes and purchase URL |
whop_list_memberships | List memberships (purchases and subscriptions, mem_) newest first, with status, product, plan, user, member, prices, current period, cancel… |
whop_get_membership | Get one Whop membership by its mem_ id or by its license key: status, product, plan, user and member, prices, billing period, cancellation… |
whop_validate_license_key | Check a software license key sold through Whop: returns valid (true when the membership status is active, trialing or completed), status… |
whop_cancel_membership | Cancel a Whop membership, either at the end of the current billing period (cancel_at_period_end true, access continues until then) or… |
whop_list_members | List the members of the configured business (one per buyer, mber_) with name, email (needs member:email:read), access level, status, most… |
whop_get_member | Get one member (mber_) of the business: name, email (with member:email:read), phone, user, access level, status, most recent action, total… |
whop_get_user | Get a Whop user's public profile by user_ id or username: name, username, bio, level, verification and creation date |
whop_check_user_access | Check whether a Whop user has access to a product (prod_), an experience (exp_) or the business (biz_) |
whop_list_payments | List the business's payments newest first, with status, total, subtotal, refunded amount, currency, billing reason, buyer, product, plan… |
whop_get_payment | Get one Whop payment with its line items, totals, tax, fees, refunded amount, status, failure message, buyer and related membership… |
whop_refund_payment | Refund all or part of a Whop payment through the processor that charged it |
whop_list_promo_codes | List the business's promo codes with code, status, discount type and amount (percentages as a fraction, e.g. 0.1), duration, uses, stock… |
whop_list_experiences | List the business's experiences (the apps inside a whop: courses, forums, chats, files and so on) with id (exp_), name, the app that powers… |
whop_list_forum_posts | List the posts of a forum experience, or the replies to one post with parent_id, with title, content, author, like, comment and view counts… |
whop_list_webhooks | List the business's webhook endpoints with URL, subscribed events, API version, enabled flag and failure state (consecutive failures… |
示例提示
- “我们在 Whop 的 Pro 方案上有多少个有效会员资格?其中有多少会在周期结束时取消?”
- “给我看上周的 Whop 付款,并把退款和失败的扣款单独列出来。”
- “这个许可证密钥有效吗?它属于哪个产品和方案?”
- “现在有哪些 Whop 优惠码处于有效状态,每个还剩多少次使用?”
FAQ
Cursor 免费套餐支持自定义 MCP 服务器吗? 支持,Hobby、Pro 和 Business 套餐均可使用 MCP。
下一步
这份指南对你有帮助吗?