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.
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.
Confirm the MCP server is connected and working by running:
openclaw mcp listYou 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.
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.