---
title: "How to Connect the AdLabs MCP to OpenClaw"
description: "Step-by-step guide for connecting your AdLabs account to OpenClaw using your MCP API key."
url: https://help.adlabs.app/en/articles/88-how-to-connect-the-adlabs-mcp-to-openclaw
collection: "AdLabs MCP"
updated: 2026-08-19
language: en
---

# How to Connect the AdLabs MCP to OpenClaw

Step-by-step guide for connecting your AdLabs account to OpenClaw using your MCP API key.

## Step 1: Get Your AdLabs MCP API Key

You'll need an AdLabs API key to authenticate the connection. See the help doc below for how to generate one.

[

How to Connect the AdLabs MCP Using an API Key

Step-by-step guide for connecting to the AdLabs MCP server using API key authentication.

](https://help.adlabs.app/en/articles/89-how-to-connect-the-adlabs-mcp-using-an-api-key.md)

## Step 2: Add the AdLabs MCP Server to OpenClaw

Use the following command in the terminal to add AdLabs MCP server:

```json
openclaw mcp set Adlabs '
    {
        "url": "https://mcp.adlabs.app/mcp",
        "transport": "streamable-http",
        "headers": {
            "X-ADLABS-MCP-KEY": "YOUR_ADLABS_API_KEY",
            "Content-Type": "application/json"
        }
    }
'
```

Replace `YOUR_ADLABS_API_KEY` with the API key from Step 1. OpenClaw might require restarting.

## Step 3: Verify the Connection

Confirm the MCP server is connected and working by running:

```bash
openclaw mcp list
```

You should see the AdLabs server listed. To test it out, try asking your OpenClaw agent to fetch your teams or run a simple query against your AdLabs data.

## Important Notes

-   **API key security:** Treat your API key like a password. If you regenerate or disable the key in AdLabs, your MCP connection will stop working until you update the config with the new key.
    
-   **One account per connection:** Each API key is tied to a single AdLabs account. To connect a different account, you'll need a separate API key.
    

Have questions about configuring the MCP for larger teams? See below.

[

How MCP Access Works with Teams, Accounts, and Permissions

How your AdLabs permissions, Teams, and API keys carry over to MCP connections.

](https://help.adlabs.app/en/articles/93-how-mcp-access-works-with-teams-accounts-and-permissions.md)
