# Model Context Protocol (MCP) | Waitlyze Docs

> Connect AI coding assistants and agents directly to your Waitlyze waitlists, audience data, and analytics via Streamable HTTP MCP.

Canonical: https://waitlyze.com/docs/mcp


Waitlyze provides a first-class Model Context Protocol (MCP) server. You can manage your waitlist lifecycle, create campaigns, inspect signups, evaluate K-factor viral analytics, dispatch broadcasts, and inspect connections directly from inside ChatGPT, Claude Code, Cursor, Codex, VS Code, Gemini, or OpenCode without opening the web dashboard.

---

## Quick start [#quick-start]

The MCP server runs at:

```
https://waitlyze.com/mcp
```

### Authentication methods [#authentication-methods]

You can authenticate AI agents in two ways:

- **Scoped API key**: generate an API key in **Settings → API keys** (prefixed with `wl2_`). Pass it as an HTTP Bearer header (`Authorization: Bearer wl2_YOUR_KEY`) or in `x-waitlyze-api-key`.
- **OAuth 2.0**: point your client to `https://waitlyze.com/mcp`. The agent discovers the authorization server and initiates RFC 9728 authentication.

---

## Client setup [#client-setup]

<Steps>
<Step>
### Set up Claude Code [#set-up-claude-code]
Add Waitlyze to Claude Code with one command:

```bash
claude mcp add --transport http waitlyze https://waitlyze.com/mcp --header "Authorization: Bearer wl2_YOUR_API_KEY"
```

If connecting via OAuth:
```bash
claude mcp add --transport http waitlyze https://waitlyze.com/mcp
```
</Step>

<Step>
### Set up Cursor [#set-up-cursor]
In your project root, create or edit `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "waitlyze": {
      "url": "https://waitlyze.com/mcp",
      "headers": {
        "Authorization": "Bearer wl2_YOUR_API_KEY"
      }
    }
  }
}
```
</Step>

<Step>
### Set up Codex [#set-up-codex]
Add Waitlyze to your agent configuration:

```json
{
  "mcpServers": {
    "waitlyze": {
      "url": "https://waitlyze.com/mcp",
      "headers": {
        "Authorization": "Bearer wl2_YOUR_API_KEY"
      }
    }
  }
}
```
</Step>

<Step>
### Set up VS Code [#set-up-vs-code]
In your VS Code settings or MCP configuration:

```json
{
  "mcp.servers": {
    "waitlyze": {
      "type": "http",
      "url": "https://waitlyze.com/mcp",
      "headers": {
        "Authorization": "Bearer wl2_YOUR_API_KEY"
      }
    }
  }
}
```
</Step>

<Step>
### Set up OpenCode [#set-up-opencode]
In your `opencode.json` configuration:

```json
{
  "mcpServers": {
    "waitlyze": {
      "url": "https://waitlyze.com/mcp",
      "headers": {
        "Authorization": "Bearer wl2_YOUR_API_KEY"
      }
    }
  }
}
```
</Step>

<Step>
### Set up Gemini [#set-up-gemini]
Configure the server endpoint in your agent tool manifests:

```json
{
  "name": "waitlyze",
  "url": "https://waitlyze.com/mcp",
  "transport": "streamable_http"
}
```
</Step>
</Steps>

---

## Tool reference [#tool-reference]

The Waitlyze MCP server exposes 24 tools organized by domain:

### Workspace [#workspace]
| Tool | Description |
| :--- | :--- |
| `waitlyze_get_workspace` | Get workspace details, active plan, subscriber totals, and limits. |
| `waitlyze_list_workspaces` | List all workspaces accessible by the current account. |

### Waitlists [#waitlists]
| Tool | Description |
| :--- | :--- |
| `waitlyze_list_waitlists` | List waitlists with status filters and counts. |
| `waitlyze_get_waitlist` | Retrieve waitlist settings, public URL, design config, and conversion stats. |
| `waitlyze_create_waitlist` | Create a new draft waitlist campaign in the active workspace. |
| `waitlyze_update_waitlist` | Update headline, description, website URL, or fraud security mode. |
| `waitlyze_publish_waitlist` | Publish a waitlist and open it for public signups. |
| `waitlyze_pause_waitlist` | Temporarily pause new signups on a published waitlist. |
| `waitlyze_delete_waitlist` | Archive or delete a waitlist campaign. |

### Audience and subscribers [#audience-and-subscribers]
| Tool | Description |
| :--- | :--- |
| `waitlyze_list_subscribers` | Search, filter, and paginate through subscribers with sorting by position or points. |
| `waitlyze_get_subscriber` | Get subscriber profile, referral count, position, and attribution. |
| `waitlyze_add_subscriber` | Add a subscriber directly, with support for referral tracking and auto-verification. |
| `waitlyze_update_subscriber` | Update points balance, custom field responses, or verification status. |
| `waitlyze_remove_subscriber` | Delete a subscriber from a waitlist. |
| `waitlyze_export_subscribers` | Export subscribers in JSON or CSV format. |

### Analytics and viral growth [#analytics-and-viral-growth]
| Tool | Description |
| :--- | :--- |
| `waitlyze_get_analytics` | Comprehensive funnels, page views, signups, viral K-factor, and referral leaderboard. |

### Broadcasts [#broadcasts]
| Tool | Description |
| :--- | :--- |
| `waitlyze_list_broadcasts` | List drafts and sent broadcasts with recipient statistics. |
| `waitlyze_create_broadcast` | Create a new draft email broadcast for waitlist subscribers. |
| `waitlyze_send_broadcast` | Queue a broadcast for dispatch to verified opted-in subscribers. |

### Webhooks [#webhooks]
| Tool | Description |
| :--- | :--- |
| `waitlyze_list_webhooks` | List registered webhook subscriptions. |
| `waitlyze_delete_webhook` | Remove a webhook endpoint. |

### API keys [#api-keys]
| Tool | Description |
| :--- | :--- |
| `waitlyze_list_api_keys` | List active API keys for a waitlist. |
| `waitlyze_revoke_api_key` | Immediately revoke an API key. |

Create API keys and webhook subscriptions in the Waitlyze dashboard. Secret API keys and webhook
signing secrets are shown only in that direct user flow and are never returned through MCP tools.

### Capabilities [#capabilities]
| Tool | Description |
| :--- | :--- |
| `waitlyze_explain_capabilities` | Inspect connected auth state, active workspace, and available platform features. |

---

## Example prompts for agents [#example-prompts-for-agents]

Once connected, you can give your AI natural language instructions:

```text
Create a draft waitlist called "Developer Toolkit" with the slug "devtools". Do not publish it.
Calculate the viral K-factor and total signups for the past 30 days.
List the top 5 referrers on the waitlist along with referral counts.
Draft a broadcast announcing beta access to the top 50 verified subscribers.
List the webhooks configured for my Developer Toolkit waitlist.
```

## Related Links
- [API Reference](https://waitlyze.com/docs/api/reference) - REST API endpoints
- [Embed Widget](https://waitlyze.com/docs/embed) - Embed instructions
- [Waitlyze Home](https://waitlyze.com/) - Product overview
