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

Whop MCP VS Code Setup

How to add the hosted Whop MCP server to VS Code with the current Copilot setup, what to do with an older servers config, and how to test before live writes.

Summary

VS Code connects to Whop through Whop's hosted MCP server at https://mcp.whop.com/mcp. You sign in with your Whop login in the browser. There is no API key to paste.

VS Code changed how it stores MCP servers. The current setup for Copilot uses an mcpServers entry or the Add Server screen. The older servers format in .vscode/mcp.json still loads for now, and VS Code's docs say it goes away in February 2027. This guide shows both, current first.

Before you connect: you need a Whop account and a business.

The hosted Whop MCP server signs you in through your browser. VS Code then works on the businesses your Whop login can manage.

Add the server from the VS Code screen

  1. Open the Command Palette and run Chat: Open Customizations.
  2. Go to MCP Servers and choose Add Server.
  3. Choose HTTP and enter this URL:
https://mcp.whop.com/mcp
  1. Choose Global, then Copilot Global.
  2. Sign in to Whop in the browser window that opens and approve the request.

Use this screen when you can. It puts the entry in the right file for you.

Or add it to a config file

VS Code's docs give two files for the portable format:

FileWhere it applies
~/.copilot/mcp-config.jsonEvery workspace
.mcp.json in the workspaceOnly that workspace

Both use a top-level mcpServers object:

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

Do not add an API key or an authorization header. Do not use ${input:...} variables in these files. VS Code's docs say servers that need them are not passed to Copilot sessions.

Checked November 21, 2026 against VS Code's MCP configuration reference.

If you already have the older servers format

Many guides, including earlier versions of this one, used a top-level servers object in .vscode/mcp.json:

{
  "servers": {
    "whop-api": {
      "type": "http",
      "url": "https://mcp.whop.com/mcp"
    }
  }
}

VS Code's docs call this the Local harness format. It is deprecated and set for removal in February 2027. Eligible entries are still passed on today, so an existing setup can keep working. For a new setup, use one of the two methods above.

The difference between the two files is one word: mcpServers in the current format, servers in the old one. A snippet under the wrong key will not load.

What you are connecting

The Whop sign-in is tied to you. It reaches every business your Whop login manages, so name the business in your prompts.

On /mcp the server lists 106 tools: 95 Whop operations and 11 built-in tools. The built-in docs_search and docs_query tools search Whop's documentation from the same connection. These counts come from Whop's public server source, not from a live tool list.

The hosted server only reaches live Whop data. There is no sandbox on this connection.

Checked November 21, 2026 against Whop's public MCP server source.

Where VS Code is useful

VS Code fits when you want Whop data and docs next to the code you are writing:

For day-to-day seller work on payments, members or reports, a chat client like Claude is simpler.

Approving writes

Whop's hosted server has no prepare-and-confirm step. A write runs when the tool is called. The check happens in VS Code, when it asks you to approve the tool call.

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

Safe setup process

  1. Add the server with the screen or a config file.
  2. Sign in through the browser.
  3. Ask the agent to list the Whop tools without calling any that write.
  4. Ask for one read-only call.
  5. Only then use Whop tools while you edit code.

First prompt:

List the Whop tools you can see. Do not call tools that create, update, delete, cancel, refund, message or change data.

Second prompt:

Review this workspace for Whop-related code. Tell me which read-only Whop calls would help check the integration against [business name]. Do not call write tools.

Mistakes that make VS Code setup look broken

Wrong key or wrong file. mcpServers belongs in ~/.copilot/mcp-config.json or .mcp.json. servers belongs to the older .vscode/mcp.json. Mixing them up means the server never loads.

Stale window. Reload the VS Code window after a config change.

Sign-in did not finish. Start the sign-in again and finish it in the same browser. An API key does not fix a failed browser sign-in.

Some calls fail. A working connection does not mean your Whop login can do everything on every business. Check which business the call named and whether your login can manage it.

A tool you expect is missing. Tools that Whop added after you signed in stay hidden until you reconnect.

You use the separate local package. The older @whop/mcp npm package runs a local command with an API key. Only that setup depends on Node.js and npx. The hosted server runs nothing on your machine.

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.