Setting Up AdChat with ChatGPT

ChatGPT supports MCP servers, letting you connect your Facebook Ads data directly into your conversations.

Step 1: Get Your MCP Config

Log into your AdChat dashboard and navigate to API Keys. You'll find your MCP server URL and API key there.

Step 2: Add AdChat to ChatGPT

  1. Open ChatGPT (desktop app or web)
  2. Go to Settings -> MCP (or Connections)
  3. Click Add MCP Server
  4. Enter the server URL: https://mcp.adchat.app/mcp
  5. Add the authorization header with your API key: Bearer adchat_YOUR_API_KEY

Step 3: Start a Conversation

Open a new chat and ask about your ads:

How did my campaigns perform this week?

ChatGPT will pull your live ad data through AdChat and answer with specific numbers from your account.

Write Access

By default, AdChat is read-only — ChatGPT can view your data but cannot make changes. To enable write access (creating campaigns, updating ads, etc.):

  1. Go to your AdChat dashboard
  2. Navigate to API Keys
  3. Toggle Write Access on

Tips

  • ChatGPT will show a tool-use indicator when it's querying your ad data
  • You can ask follow-up questions — the context carries through the conversation
  • For best results, mention specific campaigns or time periods

Troubleshooting

MCP option not available

  • Make sure you're using the latest version of ChatGPT
  • MCP support may need to be enabled in your ChatGPT settings

"Invalid API key" error

  • Your API key should start with adchat_. Copy the latest one from your dashboard under API Keys.

"Write access is not enabled" error

  • Enable write access in your dashboard under API Keys if you want the AI to create or modify campaigns.

Connection errors

  • Double-check your API key from the AdChat dashboard
  • Make sure your Facebook Ads account is still connected in AdChat