By whopmcp.com · May 3, 2026 · Updated November 21, 2026 · 8 min read

Whop MCP Checkout Docs Guide

How to use the hosted Whop MCP server to read Whop's docs and your live products, variants, and checkout configurations when building or debugging checkout.

Summary

Checked November 21, 2026: variants replaced plans. The hosted server at https://mcp.whop.com/mcp calls Whop's Current API at version 2026-11-20. There a checkout configuration takes variant_id or an inline variant, plus account_id, and needs only the checkout_configuration:create permission. Variants are what Whop used to call plans, and their IDs keep the plan_ prefix. The older fields plan_id, inline plan, and company_id belong to the Legacy API and older API versions. Whop's docs now cover embedded checkout with @whop/elements. See Whop's API stability page.

Checkout questions usually come from a practical problem: a product is not appearing, a variant ID is wrong, a payment flow is unclear, or an AI coding agent needs to understand how Whop checkout should fit into an app.

One connection covers both halves of the job. The hosted Whop MCP server searches Whop's docs and reads live data from your Whop business. You do not need a separate docs server.

The most reliable checkout workflow is docs first, account state second, write actions last. That keeps the agent from guessing API shape or creating live checkout resources before you have confirmed the variant, product, redirect URL, metadata, and affiliate attribution. The hosted server uses browser sign-in and works on production only. The local @whop/mcp package is the separate API-key path.

Checked November 21, 2026 against Whop's AI and MCP guide.

What "checkout docs" usually means

People who ask about Whop MCP and checkout docs are usually trying to answer one of these questions:

These are different jobs. Documentation explains the intended flow. Live data confirms the configuration you actually have.

Start with the docs tools

Start with documentation when you are building or changing code. The hosted server has two docs tools, docs_search and docs_query. They are read-only.

Good prompt:

Use the Whop docs tools to explain the checkout implementation path for this app. Identify the resources I need to configure, the IDs the code should reference, and the failure points I should test. Do not create or change anything.

Then ask it to compare the docs to your code:

Review this repository's checkout code against the Whop docs. Do not call live Whop account tools yet. List mismatches, missing IDs, or assumptions that need checking.

This keeps the first pass focused on correctness before account state.

Then inspect real products and variants

After the docs pass, use the same connection for live data. products_list and variants_list are listed tools. checkout-configurations_list is reached through search_operations.

Good prompt:

Use read-only Whop MCP calls to list the products and variants relevant to this checkout flow in [business name]. Do not create, update, delete, or modify anything.

Ask for structured output:

Return the product name, product ID, variant name, variant ID, status, price, purchase URL, and any detail that could explain why checkout points to the wrong thing.

That gives the coding agent real IDs and avoids hardcoded guesses. Each variant already has its own purchase_url, so you may not need a checkout configuration at all.

Create a checkout configuration draft

Before asking MCP to create anything, make the agent draft the exact arguments in plain text. That creates a review point before a write tool call.

Use this prompt:

Draft the arguments for a Whop checkout configuration.

Use:
- account_id: biz_xxxxxxxxxxx
- variant_id: plan_xxxxxxxxxxx
- mode: payment
- redirect URL: https://example.com/checkout/complete
- metadata: order_id=order_12345, source=whopmcp
- affiliate_code: partnername

Do not call a write-capable tool yet. Show the exact JSON you would pass and explain which fields affect customer-facing checkout.

For payment mode, send either variant_id or an inline variant object, not both. On the Legacy API and older API versions the same rule uses plan_id or an inline plan. mode is payment or setup and defaults to payment. payment_method_configuration can be set in either mode.

The draft should look like this before any tool is called:

{
  "account_id": "biz_xxxxxxxxxxx",
  "variant_id": "plan_xxxxxxxxxxx",
  "mode": "payment",
  "redirect_url": "https://example.com/checkout/complete",
  "metadata": {
    "order_id": "order_12345",
    "source": "whopmcp"
  },
  "affiliate_code": "partnername"
}

Only after reviewing the target business, variant, redirect URL, and attribution should you approve a create call.

The Current operation, which the hosted server uses, needs one permission:

Whop's Legacy reference page lists five:

These names matter for API keys. A hosted browser sign-in is always the full admin grant.

A successful response includes a checkout configuration ID with a ch_ prefix and a purchase_url. Read the purchase_url from the response and use it as given. The Legacy page shows URLs shaped like /checkout/ch_xxxx/, so do not build one by hand.

Illustrative example, not real account data. Other response fields are left out.

{
  "id": "ch_xxxxxxxxxxxxxx",
  "account_id": "biz_xxxxxxxxxxx",
  "mode": "payment",
  "purchase_url": "https://whop.com/checkout/plan_xxxxxxxxxxxxx/?session=ch_xxxxxxxxxxxxxx"
}

Checked November 21, 2026 against Whop's create checkout configuration reference.

Inspect checkout resources without modifying them

When checkout points to the wrong offer, ask for a read-only table first:

Use read-only Whop MCP calls to inspect checkout resources for [business name].
Return a table with product name, product ID, variant name, variant ID, status, price, purchase URL, checkout configuration ID, metadata keys, and affiliate code.
Do not create, update, archive, or delete anything.

This gives a developer enough information to fix a hardcoded plan_ ID, stale environment variable, or wrong checkout URL without creating duplicate products or variants.

Embedded checkout

Whop's docs now cover the Elements Checkout element. Install it with npm install @whop/elements @whop/elements-react. The older @whop/checkout package is still on npm, but Whop's docs no longer cover it.

The Checkout element's props include plan, items, checkoutConfiguration, promoCode, affiliateCode, utm, metadata, and returnUrl. Keep the MCP workflow focused on finding or creating the right IDs, then use ordinary code review for the embed. The checkout page has a prop checklist and a note on the older package.

If an agent proposes embed code, ask it to cite the docs it used and to mark every placeholder ID clearly. returnUrl is one of the props. Check Whop's Elements Checkout docs for how it behaves. Do not treat a client callback or status alone as fulfillment proof. Check server-side state.

Checked November 21, 2026 against Whop's checkout embed docs.

Checkout writes run on the first call

The hosted server runs a write when the call is made. There is no prepare step. Whop removed the old mcp_confirmation_token flow on November 4, 2026, and approval now belongs to your AI client.

checkout-configurations_create is not marked destructive, so your client may not ask before it runs. Have the agent show the JSON and wait for your yes. Use one stable idempotency_key. If a result is uncertain, check the effect or retry with the same key. Never retry with a new key.

Checked November 21, 2026 against the public whop-mcp-server source.

Safe checkout debugging workflow

  1. Read the docs.
  2. Inspect the app code.
  3. Identify the expected product and variant.
  4. Use read-only calls to confirm live resources.
  5. Update code or configuration in a branch.
  6. Test against the sandbox API directly. The hosted server only reaches production, so a test checkout made through it is real.
  7. Only then approve any write action.

Avoid asking the agent to "fix checkout" in one prompt. Checkout touches payments and access. Break the task into inspection, diagnosis, and implementation.

Useful prompts

For docs:

Use the Whop docs tools to summarize the checkout implementation steps for a developer who already has a product and variant.

For live resources:

List products and variants through Whop MCP. Highlight anything inactive, missing, or ambiguous. Do not modify resources.

For code review:

Compare this repository's checkout references to the Whop product and variant data. Identify mismatches and propose a patch, but do not apply it yet.

For payment triage:

Summarize recent checkout-related payment failures by product and variant. Do not refund, cancel, or message anyone.

For write approval:

Show the exact checkout tool name, JSON arguments, expected customer-facing effect, and rollback plan. Wait for approval before calling the tool.

Where people get into trouble

The first problem is treating docs as account state. Docs can tell you how checkout works, but they cannot tell you which product ID is correct for your business.

The second problem is treating account state as implementation guidance. Live products and variants do not explain best practices by themselves.

The third problem is letting an AI write too early. A hosted sign-in is always the full admin grant, so the agent can create and change things from the first prompt. If checkout is broken, start by understanding what exists.

Checkout FAQ

Can Whop MCP create checkout resources?

Yes. The hosted server lists checkout-configurations_create and variants_create. Both run on your live business when called, so review the arguments first.

Do I need a separate docs server for checkout?

No. The hosted server searches Whop's docs and reads your live products, variants, and checkout configurations from one connection.

What should I check before approving a checkout write action?

Confirm the business, the variant ID or inline variant (not both), mode, redirect URL, metadata, affiliate code, and whether the action creates a new checkout resource or deletes an existing one.

Related guides

Official references

Next step. No Whop business yet? Create a Whop business, then connect it with a setup guide. Already running one? Try the seller playbooks.