> This page is for For Developers.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://whop.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://whop.ferndocs.com/_mcp/server.

# AI and MCP

> Build Whop apps with AI assistance using Model Context Protocol

Whop provides Model Context Protocol (MCP) servers to accelerate app development with AI assistance.

# Whop Docs MCP Server

Gives AI agents direct access to Whop documentation for accurate guidance while building apps.

### Quick install for Cursor

[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=whop-docs\&config=eyJ1cmwiOiJodHRwczovL2RvY3Mud2hvcC5jb20vbWNwIn0%3D)

### Manual setup

**`Cursor`**

```json Cursor
// Add to: ~/.cursor/config/mcp.json
{
  "mcpServers": {
    "whop-docs": {
      "url": "https://docs.whop.com/mcp"
    }
  }
}
```

**`Claude Code`**

```json Claude Code
// Add to: ~/.claude/mcp.json
{
	"mcpServers": {
		"whop-docs": {
			"url": "https://docs.whop.com/mcp"
		}
	}
}
```

This allows your AI agent to search and read all Whop documentation, helping you implement features correctly.

# Whop API MCP Server

Allows AI agents to make direct API calls to Whop. Available via two transport methods:

* **SSE**: `mcp.whop.com/sse`
* **HTTP Streaming**: `mcp.whop.com/mcp`

### Authentication

When connecting, provide your API key in the authorization prompt:

* [**Company API Key**](/developer/api/getting-started#company-api-keys) - For accessing only your company's data
* [**App API Key**](/developer/api/getting-started#app-api-keys) - For accessing data across companies that have installed your app

### Claude.ai Guide

To connect Claude Web to this MCP server:

1. Open [Claude Web](https://claude.ai)
2. Go to Settings -> Connectors
3. Click "+ Add Custom Connector"
4. Add the MCP server URL: `https://mcp.whop.com/sse`

This enables your AI agent to list resources, create data, and explore your Whop setup interactively.