> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dema.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Meta Ads Official MCP

> Let the Dema Agent analyze and manage Facebook and Instagram ads, audiences, creatives, and experiments through Meta's official Ads MCP server.

## Overview

Once Meta Ads Official MCP is connected, the Dema Agent can use Meta's own Ads MCP tools on the ad accounts you select. It can analyze performance, manage campaigns, ad sets, ads, and creatives, work with custom audiences, and set up A/B and lift tests across Facebook and Instagram.

The agent can only reach the ad accounts you select after connecting, and it rejects requests for any other account. Tools that change your ad accounts ask for your approval by default. Activating a campaign, ad set, or ad, setting one to deleted, or boosting an Instagram post always requires your explicit approval for that call, even if you chose to always allow the tool.

This integration is separate from the [Meta Ads](https://docs.dema.ai/guides/agent/integrations/meta-ads.md) integration. Existing Meta Ads connections are not moved to it, so you connect Meta Ads Official MCP on its own.

***

## Prerequisites

* A Meta Business account with access to the ad accounts you want the Dema Agent to use.

***

## Connect Meta Ads Official MCP

1. In Dema, go to **Agents → Settings → Integrations**.
2. Find **Meta Ads Official MCP** and click **Connect**.
3. Sign in to Facebook and approve the permissions Dema requests.
4. Select the ad accounts the Dema Agent can use.

***

## What the agent can do

| Area | Examples |
| - | - |
| Performance and insights | Performance trends, anomaly signals, industry and auction benchmarks, opportunity scores |
| Campaign management | Create and update campaigns, ad sets, and ads, and preview ads |
| Creatives | Create, update, and delete creatives, and upload images and videos, including files from the conversation |
| Audiences | Create, update, and delete custom audiences, and see which ad sets use them |
| Experiments | Check eligibility for, create, and read A/B tests and lift tests |
| Instagram and research | Read Instagram accounts and media, boost Instagram posts, and search the Meta Ad Library |

***

## Permissions Dema requests

| Permission | What it allows |
| - | - |
| `ads_read` | Read ad account performance and structure |
| `ads_management` | Create and update campaigns, ad sets, ads, creatives, and audiences |
| `ads_mcp_management` | Use Meta's Ads MCP server on your behalf |
| `pages_show_list` | List the Pages linked to your ad accounts |
| `instagram_basic` | Read the Instagram accounts and media linked to your ad accounts |

***

## Additional resources

* [Meta Business Help Center](https://www.facebook.com/business/help)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.