Set up Whop in Metorial for Claude, ChatGPT and Cursor
Share Whop with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 17 tools (11 read-only).
To give your team Whop in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Whop integration in a Metorial portal, and each person signs in to Whop with their own account. Agents can manage Whop products, pricing plans, memberships, members, payments, refunds, promo codes, checkout configurations, invoices, and user profiles. The integration has 17 tools, 11 read-only, 2 write and 4 destructive, plus 4 triggers.
What you'll learn
- How an admin shares Whop in a portal and how each person connects
- The 3 OAuth scopes Whop can request, and what each one allows
- How to keep the 11 read-only tools and reject the other 6
Before you start
- A portal with at least one access group
- An account with Whop for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| OAuth (default) | OAuth | Signs in to Whop |
| API Key | API token | token |
The portal and metorial setup use OAuth unless someone picks another method.
OAuth
People sign in to Whop and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
openid | OpenID | Base identity scope for authentication |
profile | Profile | Access to user profile information (name, username, picture) |
email | Access to user email and verification status |
API Key
To connect, a person enters:
token: Your Whop API key (Company API key or App API key)
Setup settings
Whichever method you pick, setup also asks for:
companyId(optional): Your Whop company ID (e.g. biz_xxxxx). Required for most API operations.
Use your own Whop OAuth app
With your own OAuth app, people see your company's name on the Whop consent screen, and the client ID and secret belong to you.
Start the credentials in Metorial
In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Whop and copy the Redirect URI.
Register the app with Whop
Create an OAuth app or client in Whop and add the redirect URI from Metorial as its redirect or callback URL.
Finish in Metorial
Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Whop integration.
Admin: share Whop in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Whop. Under Auth Method, keep OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Whop as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Whop.
Choose who gets it
Add the access groups that should see Whop. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Whop integration. Once it exists, check which groups have it:
Employee: connect Whop
In the portal
Open Whop in the catalog
Sign in to your portal and open Whop. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A Whop sign-in tab opens. Sign in and approve the permissions listed.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses OAuth. To connect with API Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Whop connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 11 read-only tools, such as get_user and list_plans, and lose the 2 write tools, such as create_checkout or manage_membership, and the 4 destructive tools, such as manage_plan or manage_product.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 17 tools, minus any you rejected. list_plans takes no input. It lists plans in your Whop company.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (11)
get_payment: Retrieve detailed information about a specific payment, including user, product, membership, payment method, and refund details. NeedspaymentId.list_members: List members of your Whop company.list_products: List products in your Whop company.list_invoices: List invoices in your Whop company.list_plans: List plans in your Whop company.list_payments: List payments in your Whop company.get_user: Retrieve a Whop user's public profile by their user ID or username. NeedsuserIdOrUsername.list_memberships: List memberships in your Whop company.get_checkout: Retrieve an existing Whop checkout configuration and its purchase URL, plan, redirect URL, and metadata without creating another checkout.list_accounts: Discover Whop business accounts visible to your credentials.get_current_user: Retrieve the signed-in Whop user’s identity using an OAuth connection.
Write tools (2)
create_checkout: Create a Whop checkout session. Needsmode.manage_membership: Retrieve, update metadata, cancel, uncancel, pause, or resume a Whop membership. NeedsactionandmembershipId.
Destructive tools (4)
manage_promo_code: Create, retrieve, list, or delete Whop promo codes. Needsaction.manage_product: Create, update, retrieve, or delete a Whop product. Needsaction.refund_payment: Issue a full or partial refund for a Whop payment. NeedspaymentId.manage_plan: Create, update, retrieve, or delete a Whop plan. Needsaction.
Triggers
Whop has 4 triggers, which fire on events in Whop:
payment_events: Triggers when a payment succeeds or fails.membership_events: Triggers when a membership is activated, deactivated, or its cancel-at-period-end setting changes.setup_intent_events: Triggers when a customer saves their payment method via a setup intent (setup_intent.succeeded).entry_events: Triggers when someone joins a waitlist (entry.created).
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Whop there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Whop on metorial.com: the integration overview