> ## Documentation Index
> Fetch the complete documentation index at: https://docs.landerlab.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect LanderLab MCP to ChatGPT

> Connect your LanderLab account to ChatGPT using MCP. Configure the server through ChatGPT settings and manage landing pages, leads, and analytics with plain English prompts.

## What You Need

* A LanderLab API key. See [Generate an API Key](/mcp/generate-api-key).
* A ChatGPT workspace or plan that supports MCP connections.

***

## Step 1: Open MCP Settings

In ChatGPT, go to **Settings > Connectors > MCP Servers** (or the MCP integrations area in your workspace).

***

## Step 2: Add the LanderLab Server

Configure the MCP server with the following values:

| Field         | Value                                  |
| ------------- | -------------------------------------- |
| **Name**      | `landerlab`                            |
| **Transport** | `HTTP`                                 |
| **URL**       | `https://api.landerlab.dev/api/v2/mcp` |

Then add the following headers:

| Header         | Value                                 |
| -------------- | ------------------------------------- |
| `X-API-Key`    | `ll_live_YOUR_KEY_HERE`               |
| `Content-Type` | `application/json`                    |
| `Accept`       | `application/json, text/event-stream` |

Replace `ll_live_YOUR_KEY_HERE` with your actual API key.

***

## Alternative: JSON Config

If your ChatGPT environment supports JSON-based MCP configuration:

```json theme={null}
{
  "mcpServers": {
    "landerlab": {
      "type": "http",
      "url": "https://api.landerlab.dev/api/v2/mcp",
      "headers": {
        "Content-Type": "application/json",
        "Accept": "application/json, text/event-stream",
        "X-API-Key": "ll_live_YOUR_KEY_HERE"
      }
    }
  }
}
```

***

## Step 3: Save and Verify

Save the configuration and start a new chat. Ask:

```
List my LanderLab workspaces
```

ChatGPT will call `workspaces_list` and return your results.

***

## Example Prompts

* "List all my landers and their publish status"
* "Show analytics for lander X over the last 7 days"
* "Publish lander X"
* "Show all leads from workspace 1"

***

## Troubleshooting

**LanderLab tools not available in chat** - Check that your ChatGPT plan supports MCP connections. Confirm the server was saved correctly and the URL and headers match exactly.

**401 Unauthorized** - The API key is wrong or revoked. Go to **Organization > API Keys** in LanderLab to check or create a new key.
