MCP Ecommerce
Meta logo

Installation guide

How to install Meta ads AI connectors (MCP)

In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.

Connecting Meta's ads AI connectors means adding a remote MCP server, hosted by Meta, to your AI tool as a custom connector, then signing in through a Meta Business OAuth flow. Nothing runs locally. The documentation text we have only lists an "Ads AI Connectors" section under the Marketing API docs and does not give the server URL, so take the exact address and requirements from Meta's Ads AI Connectors documentation or the Business Help Center.

This should be done by someone who already has access to the ad account in Meta Business, such as an advertiser, media buyer or agency account lead, using their own Meta Business login. The product is in open beta and write access can change live spend, so start with one ad account and reporting-only requests, and review every action before approving it.

Meta ads AI connectors (MCP) setup guide: Meta's MCP documentation page on developers.facebook.com, shown in a browser frame (advertising MCP server for e-commerce)
Meta ads AI connectors (MCP) setup guide preview: Meta’s documentation on developers.facebook.com, captured Nov 27, 2026. The page may have changed since; the link opens the live version.

Before you start

  • A Meta Business account with access to the ad account you want to connect
  • The current server address and terms from the Ads AI Connectors page in Meta's docs (https://developers.facebook.com/docs/marketing-apis) or the Business Help Center
  • An AI client that supports custom remote MCP connectors (Claude, ChatGPT, Cursor, or similar)
  • A single test ad account chosen for the first connection, with read-only use planned
  • Permission on your plan or workspace to add custom connectors (admin rights may be needed in team workspaces)
How it runs
Remote, added by URL
Access
Read and write
Server address
Copy it from the vendor documentation

Meta ads AI connectors (MCP) in Claude

  1. Open the Ads AI Connectors page in Meta's docs and copy the current server URL. The documentation text we have does not include it.
  2. In Claude.ai or the Claude Desktop app, open Settings > Connectors.
  3. Choose to add a custom connector and paste the Meta URL.
  4. Complete the Meta Business sign-in and approve the permissions. Select one ad account only.
  5. Start a new chat, enable the connector, and ask for reporting only.

Meta ads AI connectors (MCP) in ChatGPT

  1. Copy the current server URL from Meta's Ads AI Connectors documentation. This guide does not have it.
  2. In ChatGPT, enable Developer mode in the settings (availability depends on your plan and workspace).
  3. Add a custom MCP connector under the connectors settings and paste the Meta URL.
  4. Sign in with your Meta Business account via the OAuth prompt and approve the permissions.
  5. In a new chat, enable the connector and start with read-only reporting questions.

Meta ads AI connectors (MCP) in Gemini

  1. Meta's documentation text does not cover Gemini, so use Gemini's standard way of adding a remote MCP server.
  2. In Gemini CLI, add an entry under mcpServers in your settings file with the url value taken from Meta's documentation.
  3. Restart Gemini CLI and check that the server is listed.
  4. Complete the Meta Business OAuth sign-in if prompted. If the client cannot handle OAuth for this server, use a client that can.
  5. Ask for reporting only on one ad account first.

Meta ads AI connectors (MCP) in Microsoft Copilot

  1. Meta's documentation text does not cover Copilot, so use the standard remote MCP method for your Copilot product.
  2. For GitHub Copilot in VS Code, add a server with the Meta URL to .vscode/mcp.json under servers, or use the MCP: Add Server command.
  3. For Microsoft Copilot Studio, add an MCP tool or custom connector pointing at the Meta URL.
  4. Sign in with the Meta Business account when prompted and approve the permissions.
  5. Test with a read-only reporting prompt on a single ad account.

Meta ads AI connectors (MCP) in Perplexity

  1. Meta's documentation text does not cover Perplexity, so use the standard connector flow in the Perplexity desktop app.
  2. Open the app's connectors settings and choose to add a custom or remote MCP connector.
  3. Paste the server URL from Meta's Ads AI Connectors documentation.
  4. Sign in through the Meta Business OAuth flow and approve the permissions.
  5. Ask a read-only reporting question to confirm the connection.

Meta ads AI connectors (MCP) in Cursor

  1. Copy the current server URL from Meta's Ads AI Connectors documentation. This guide does not have it.
  2. Open Cursor's MCP settings and choose to add a new MCP server, or edit mcp.json.
  3. Add an entry under mcpServers with a url field set to the Meta URL.
  4. Save, then complete the Meta Business sign-in when Cursor prompts you.
  5. Confirm the server shows as connected, then ask for reporting only.
mcp.json
{
  "mcpServers": {
    "meta-ads": {
      "url": "<META_MCP_SERVER_URL_FROM_META_DOCS>"
    }
  }
}

Meta ads AI connectors (MCP) in Claude Code

  1. Copy the current server URL from Meta's Ads AI Connectors documentation.
  2. Run claude mcp add --transport http meta-ads <META_MCP_SERVER_URL_FROM_META_DOCS> in your terminal.
  3. Start claude and run /mcp to see the server and begin authentication.
  4. Complete the Meta Business OAuth sign-in in the browser and approve the permissions.
  5. Ask a read-only reporting question on one ad account to test.
Terminal
claude mcp add --transport http meta-ads <META_MCP_SERVER_URL_FROM_META_DOCS>

Check that it works

Start with questions that only read data. If these answer from your real account, the connection is good.

  • List the ad accounts you can access through this connector, without changing anything.
  • Show spend, impressions and results for the last 7 days by campaign for the selected ad account.
  • Which ad sets had the highest cost per result last month? Summarise only, do not make any changes.

Troubleshooting

+

I cannot find the server URL. Where do I get it?

The Marketing API docs list an Ads AI Connectors section, but the text we reviewed does not include the address. Open that section at developers.facebook.com or search Meta's Business Help Center, and copy the current URL and requirements from there. Do not rely on third-party posts, since the product is in beta.

+

The Meta sign-in loops or fails. What should I check?

Confirm you are signed in to the Meta Business account that has access to the ad account, and that your role allows the requested permissions. Try a private browser window, remove the connector and add it again. If it persists, check the Business Help Center for beta access or regional limits.

+

The connector is added but no ad data or tools appear. Why?

Check that the connector is enabled in the current chat and that you selected an ad account during approval. Verify your Meta role covers that account. Some clients hide tools until restarted. If write actions are missing, write access may not have been granted, which is the safer default.

Written Nov 27, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.

Questions and answers

Questions readers and searchers ask about installing Meta ads AI connectors (MCP), answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.