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.

Step 2: Add the AdLabs MCP Server to OpenClaw

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

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:

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.

Did this answer your question?
😞
😐
😁