Whop MCP Server

Whop MCP Server

Official hosted MCP server for Whop, enabling AI clients to manage Whop businesses and resources via OAuth with prepare-and-confirm safeguards.

Category
访问服务器

README

Whop MCP Server

<img src="assets/logo.png" alt="Whop" width="96" />

The official public source for Whop's hosted Model Context Protocol (MCP) server. This implementation powers the remote endpoint at https://mcp.whop.com/mcp and the Whop plugin for Cursor.

The hosted implementation uses browser-based OAuth so a Whop API key never needs to be copied into an MCP client configuration.

This repository is separate from the local, API-key-based @whop/mcp package. Existing users of that package are unaffected by the hosted server.

Connect from Cursor

When the Whop listing is live, install it from the Cursor Marketplace. For development or pre-publication testing, add the following to your Cursor MCP configuration:

{
  "mcpServers": {
    "whop": {
      "type": "http",
      "url": "https://mcp.whop.com/mcp"
    }
  }
}

Do not add an API key, bearer token, or custom authorization header. On first use, the MCP client discovers the server's OAuth metadata and opens Whop in the browser for sign-in and authorization. Credentials are kept server-side rather than placed in the client configuration or exposed to the model.

Access and safety

Full-admin scope

The hosted endpoint currently requests the MCP admin scope. That is the full administrative permission profile for the reviewed Whop MCP surface, not a read-only or per-tool grant. It can act on resources your Whop user is allowed to access across every business the user manages; grants are not bound to one business. Only connect MCP clients you trust, inspect requested actions, and disconnect access when it is no longer needed.

Prepare and confirm

Consequential operations, including financial, credential, and destructive actions, use a two-step safeguard:

  1. The first call prepares the operation and returns a preview plus an mcp_confirmation_token. It does not execute the operation.
  2. After the user reviews and approves the preview, the client calls the same tool with the same arguments, the confirmation token, and a stable idempotency_key to execute it.

Clients should never confirm consequential actions without user approval. They must reuse the same idempotency key when retrying. If an outcome is reported as unknown, verify the result before attempting another execution. These safeguards reduce accidental or duplicate actions; they do not reduce the privileges of the OAuth grant. Prepare-and-confirm is not a security boundary against a compromised MCP bearer token or Worker: either can act within the grant's full privileges.

Repository layout

Path Purpose
packages/server OpenAPI-derived operation registry, policy enforcement, MCP runtime, and transport adapters
apps/worker Hosted OAuth and Streamable HTTP endpoint deployed at mcp.whop.com
.cursor-plugin/plugin.json Cursor Marketplace plugin manifest
mcp.json Public remote MCP configuration consumed by Cursor

Development

Prerequisites:

  • Node.js 22 or newer
  • pnpm 10 or newer (the repository pins pnpm 10.23.0)

Install dependencies and run the complete local verification suite:

corepack enable
pnpm install
pnpm check

The root commands run across both workspaces:

pnpm build        # generate and build the server package
pnpm check-types  # build, then type-check both workspaces
pnpm lint
pnpm test
pnpm format

To start the hosted adapter locally after installing dependencies:

pnpm build
pnpm --filter @whop/mcp-worker dev

Local development secrets belong in apps/worker/.dev.vars, which is ignored by Git. Never commit API keys, OAuth client secrets, access tokens, or populated environment files.

The public Worker configuration is intentionally limited to local development. Whop's production routes, Cloudflare account and namespace identifiers, deployment credentials, and infrastructure automation are operated separately and are not stored here. The OAuth client ID remains public because OAuth authorization requests expose it by design.

Contributing

  1. Fork the repository and create a focused branch.
  2. Make the change, including tests and safety metadata where relevant.
  3. Run pnpm check from the repository root.
  4. Open a pull request describing the behavior and its security implications.

Use GitHub Issues for reproducible bugs and feature requests. Use the repository's Security tab for vulnerability reports so sensitive details are not posted publicly.

Terms, privacy, and license

Use of the hosted service is subject to Whop's Terms of Service and Privacy Policy.

The source code in this repository is licensed under the Apache License 2.0.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选