Skip to content
Scalekit Docs
Talk to an EngineerDashboard

Whop MCP connector

OAuth2.1/DCRDeveloper ToolsProductivity

Whop is a platform for selling digital products, memberships, and communities.

Whop MCP connector

  1. Terminal window
    npm install @scalekit-sdk/node

    Full SDK reference: Node.js | Python

  2. Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. quickstart.ts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENV_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'whopmcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Whop MCP:', link)
    process.stdout.write('Press Enter after authorizing...')
    await new Promise(r => process.stdin.once('data', r))
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'whopmcp_list_api_endpoints',
    toolInput: {},
    })
    console.log(result)

Connect this agent connector to let your agent:

  • Search docs — Search for documentation for how to use the client to interact with the API
  • List api endpoints — List or search for all endpoints in the Whop TypeScript API
  • Endpoint invoke api — Invoke an endpoint in the Whop TypeScript API
  • Get api endpoint schema — Get the schema for an endpoint in the Whop TypeScript API

Use the exact tool names from the Tool list below when you call execute_tool. If you’re not sure which name to use, list the tools available for the current user first.

whopmcp_get_api_endpoint_schema#Get the schema for an endpoint in the Whop TypeScript API. You can use the schema returned by this tool to invoke an endpoint with the `invoke_api_endpoint` tool.1 param

Get the schema for an endpoint in the Whop TypeScript API. You can use the schema returned by this tool to invoke an endpoint with the `invoke_api_endpoint` tool.

NameTypeRequiredDescription
endpointstringrequiredThe name of the endpoint to get the schema for.
whopmcp_invoke_api_endpoint#Invoke an endpoint in the Whop TypeScript API. Note: use the `list_api_endpoints` tool to get the list of endpoints and `get_api_endpoint_schema` tool to get the schema for an endpoint.2 params

Invoke an endpoint in the Whop TypeScript API. Note: use the `list_api_endpoints` tool to get the list of endpoints and `get_api_endpoint_schema` tool to get the schema for an endpoint.

NameTypeRequiredDescription
argsobjectrequiredThe arguments to pass to the endpoint, as a JSON object matching the endpoint's schema.
endpoint_namestringrequiredThe name of the endpoint to invoke.
whopmcp_list_api_endpoints#List or search for all endpoints in the Whop TypeScript API1 param

List or search for all endpoints in the Whop TypeScript API

NameTypeRequiredDescription
search_querystringoptionalAn optional search query to filter the endpoints by.
whopmcp_search_docs#Search for documentation for how to use the client to interact with the API.2 params

Search for documentation for how to use the client to interact with the API.

NameTypeRequiredDescription
languagestringrequiredThe programming language or protocol to get documentation for.
querystringrequiredThe search query to find relevant documentation.