---
title: "Set up Meta's Ads MCP: Claude, ChatGPT and Cursor"
description: "Connect Meta's official Ads MCP server to Claude Code, Claude, ChatGPT or Cursor. Check OAuth, account access, admin rules and a read-only first request."
canonical: 'https://plainrouter.com/library/meta-ads-mcp-setup'
format: Guide
published_at: '2026-10-04'
last_updated: '2026-10-29'
---

This guide sets up Meta’s official hosted server at [mcp.facebook.com/ads](<https://mcp.facebook.com/ads>): add the endpoint to a compatible client, authenticate with Meta and confirm the account before allowing changes. For a server decision first, compare [Meta Ads MCP](</library/meta-ads-mcp-options>) options; for Plainrouter’s separate approval and measurement workflow, follow the [Plainrouter setup guide](<https://plainrouter.com/docs/mcp/setup>).

This guide covers Meta's own server. Published by Plainrouter, which offers a separate Meta Ads MCP service. Instructions and sources checked on 19 October 2026; the public endpoint checks below did not connect an ad account.

## Official Meta Ads MCP: the essentials

| Item | What to use or expect | Source |
| --- | --- | --- |
| Server URL | ` https://mcp.facebook.com/ads ` | [Meta overview](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-overview>) |
| Hosting | Meta-hosted remote server | [Meta overview](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-overview>) |
| Clients | Meta lists Claude, Claude Code, ChatGPT and Perplexity setup resources; other compatible clients use its developer integration path | [Meta connector help](<https://www.facebook.com/business/help/1456422242197840>) |
| Sign-in | Facebook Login for Business OAuth, or a supported access token | [Meta authentication](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-get-started>) |
| Token permissions | Minimum: ` ads_mcp_management ` plus ` ads_read ` or ` ads_management `. Additional scopes unlock additional tools | [Meta permissions](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-get-started#permissions>) |
| Tool areas | Reporting, ad management, catalogs, signals, troubleshooting, experiments and activity logs | [Meta tool overview](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-overview>) |
| New objects | Campaigns, ad sets and ads are created paused; activation is a separate tool | [Meta creation tools](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-tools-ad-creation-and-management>) |
| Administrative controls | Account/catalog rules in Meta Business Suite; availability varies | [Meta rule settings](<https://www.facebook.com/business/help/1456422242197840>) |
| Server price | No published price in the Meta documentation checked here; client subscriptions and ad spend are separate | [Meta overview](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-overview>) |

Meta announced account/catalog server rules on 16 July 2026. The beta and rule availability are described in [Meta's announcement and July update](<https://www.facebook.com/business/news/meta-ads-ai-connectors>).

## Before you start

Have access to the intended Meta ad account, a compatible client and permission to add its connector. Full control of the business portfolio is needed to manage Meta's server rules. Account access and rule administration are different permissions.

Meta offers two setup paths: supported AI connectors without your own developer app, and a custom integration with your own Meta app. For the latter, add the Create & manage ads with ads MCP server use case and register the client's OAuth redirect URL. [Meta connector setup](<https://www.facebook.com/business/help/1456422242197840>), [developer setup](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-get-started>).

Supported connectors can register their OAuth client automatically: Meta's [authorization-server metadata](<https://www.facebook.com/.well-known/oauth-authorization-server/ads>) advertises dynamic client registration, PKCE ` S256 ` and public-client authentication without a client secret. That explains why this path needs no app ID of your own; you still sign in to Meta and authorize access. A client that requires a preconfigured app uses the own-app path instead.

## Connect Claude Code

Add the remote endpoint:

```bash
claude mcp add --transport http meta-ads https://mcp.facebook.com/ads
```

Open [Claude Code](</agents/claude/meta>), run ` /mcp `, select ` meta-ads ` and follow its authentication flow. Adding the configuration alone does not establish an authenticated connection. [Claude Code MCP setup](<https://code.claude.com/docs/en/mcp>).

For Meta's own-app integration, use its documented variant:

```bash
claude mcp add --transport http --client-id <META_APP_ID> meta-ads https://mcp.facebook.com/ads
```

Configure the app's allowed redirect URL for your client before signing in. [Meta Claude Code instructions](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-get-started>).

## Connect Claude on the web or desktop

1. Open Customize → Connectors → + Add → Add custom connector.
1. Name it ` Meta Ads `, enter ` https://mcp.facebook.com/ads ` and select Continue.
1. Review authentication and choose Sign in now. If OAuth client options appear, use Register automatically for Meta's advertised registration path; Use your own OAuth client is the separate own-app route.
1. Select Add and complete Meta's authorization screen, checking the assets and permissions shown.
1. Enable it from the conversation's + → Connectors menu before requesting account data.

Team and Enterprise users may need an organization owner to add the connector first. Remote connectors are available in Claude Desktop as well as the web interface; local Desktop configuration files are a separate mechanism. [Claude custom connector instructions](<https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp>).

## Connect ChatGPT

1. On [ChatGPT on the web](</agents/chatgpt/meta>), open [Plugins](<https://chatgpt.com/plugins>). Select the plus button → Add custom MCP server.
1. Enter a name, such as ` Meta Ads `. Under Connection, enter ` https://mcp.facebook.com/ads ` as the Server URL; keep the ` /ads ` path.
1. Choose OAuth and use automatic client registration when offered. Review the warning, select I understand and want to continue, then Create as a plugin. Complete Meta sign-in when prompted and check the requested permissions.
1. Review the discovered tools and install the resulting plugin. Start a new conversation, type ` @ ` and select it.
1. For the first read, disable unwanted write tools in the app's details. Review write inputs and confirmation settings before permitting any later changes.

Eligibility: use ChatGPT on the web with permission to add custom MCP servers; workspace controls and Lockdown can restrict access. If the option is absent, check your account and workspace permissions with its administrator. These are documented steps, not an authenticated Meta connection test. [OpenAI custom MCP setup](<https://developers.openai.com/api/docs/guides/custom-mcp-server>), [connection and refresh instructions](<https://developers.openai.com/plugins/deploy/connect-chatgpt>).

For the own-app route, enter your Meta app ID as the OAuth Client ID in the client's OAuth settings and register its required redirect URL with Meta. Static credentials replace automatic registration; use the callback shown for your connection rather than guessing it. [Meta ChatGPT instructions](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-get-started>), [OpenAI OAuth setup](<https://developers.openai.com/plugins/build/auth>).

## Connect Cursor

Meta directs clients outside its listed connector resources to the developer integration path. For Cursor, prepare your Meta app and add this entry to your project's ` .cursor/mcp.json `, or to ` ~/.cursor/mcp.json ` for global use:

```json
{
  "mcpServers": {
    "meta-ads": {
      "url": "https://mcp.facebook.com/ads",
      "auth": {
        "CLIENT_ID": "${env:META_APP_ID}"
      }
    }
  }
}
```

Set ` META_APP_ID ` in the environment Cursor uses. For desktop OAuth, register ` http://localhost:8787/callback ` with Meta; Cursor's web/Agents callback is ` https://www.cursor.com/agents/mcp/oauth/callback `. Open the server's authentication control in Cursor and complete sign-in. These are documented configuration steps, not a claim that we tested a production account in Cursor. [Cursor remote MCP and OAuth](<https://cursor.com/docs/mcp>), [Meta custom integration](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-get-started>).

Cursor also supports an ` Authorization ` header using an environment variable for a Meta access token. Use this alternative only with the permissions and token roles Meta supports; do not put a token in a shared JSON file or prompt.

## Choose accounts and permissions carefully

List the accessible accounts after sign-in and name the intended account ID in subsequent prompts. Do not assume selecting a portfolio automatically limits every tool to one account. Check the actual authorization screen and account list.

For token-based integration, Meta documents a minimum of ` ads_mcp_management ` plus ` ads_read ` or ` ads_management `; this is not the same as granting every available tool. Its setup page additionally lists ` catalog_management `, ` business_management `, ` pages_show_list ` and ` instagram_basic `. Employee-role system-user tokens are supported; Admin-role system-user tokens are not. [Meta scope and role requirements](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-get-started>).

On 19 October, the public endpoint advertised nine scopes: ` ads_management `, ` ads_read `, ` catalog_management `, ` business_management `, ` pages_show_list `, ` pages_manage_ads `, ` instagram_basic `, ` instagram_branded_content_ads_brand ` and ` ads_mcp_management `. Meta's [permissions reference](<https://developers.facebook.com/documentation/development/permissions>) describes ` pages_manage_ads ` as managing Page-associated ads, including click-to-message ads, and ` instagram_branded_content_ads_brand ` as reading paid-partner posts and managing Partnership Ads permissions. Those are permission definitions, not proof that a specific MCP tool is available to your account; compare the consent screen with the task you intend to allow.

For a longer access-control checklist, see [AI agent safety for Meta ads](</library/ai-agent-meta-ads-safety>).

## Set Meta's server rules before allowing writes

In **Meta Business Suite → Settings → Integrations → Ads MCP server**, select the account or catalog and review the permitted actions. A portfolio administrator can block actions such as campaign creation or budget changes, including budgets above a chosen amount. If the menu is absent, Meta says the feature is not available to you yet. [Meta's rule instructions](<https://www.facebook.com/business/help/1456422242197840>).

Keep the AI client's confirmation settings enabled. Paused creation protects a new object's initial state; it does not make every existing-account edit read-only. [Meta creation and update tools](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-tools-ad-creation-and-management>).

## Test with a read-only first request

Ask:

```text
Use only the Meta Ads connector. First list the ad accounts I can access.
Do not create, edit, activate, pause or delete anything.
Wait for me to choose an account before requesting its reporting.
```

Then specify the account:

```text
For ad account <AD_ACCOUNT_ID>, report spend over the last seven
completed days. Include the dates, account timezone and currency.
Use reporting tools only; do not change anything.
```

This tests discovery and reporting without asking for an ad change. Prompt instructions supplement permissions and disabled write tools; they do not enforce read-only access by themselves.

### A successful first read from Plainrouter’s separate server

Example: a real read from a Plainrouter workspace, identifiers replaced. This trimmed get\_account\_state response comes from Plainrouter’s separate MCP server, not Meta’s official server; identifying fields have been omitted. The active connection and connected health status show that this account-state request succeeded, while the capability flags describe available reads rather than proving that every tool or reporting request will succeed.

```json
{
  "ad_account": {
    "platform": "meta",
    "currency": "EUR",
    "status": "active"
  },
  "connection": {
    "status": "active",
    "health": "connected"
  },
  "capabilities": {
    "signal_health": true,
    "verified_performance": false,
    "marketing_api_reads": true
  },
  "generated_at": "2026-10-11T09:07:39+00:00"
}
```

## What we saw when we checked the endpoint

We checked Meta's public endpoints without credentials on 19 October 2026. Opening ` https://mcp.facebook.com/ads ` with a browser-style GET returned HTTP 405: the response said MCP endpoints accept POST for JSON-RPC and do not support GET. This is expected and does not by itself mean the service is broken.

An unauthenticated POST ` initialize ` request returned this sign-in challenge. Only the status and ` WWW-Authenticate ` header are reproduced:

```http
HTTP/2 401
WWW-Authenticate: Bearer resource_metadata="https://mcp.facebook.com/.well-known/oauth-protected-resource/ads", scope="ads_management ads_read catalog_management business_management pages_show_list pages_manage_ads instagram_basic instagram_branded_content_ads_brand ads_mcp_management"
```

The [protected-resource metadata](<https://mcp.facebook.com/.well-known/oauth-protected-resource/ads>) identifies ` https://www.facebook.com/ads ` as its authorization server. Its [OAuth metadata](<https://www.facebook.com/.well-known/oauth-authorization-server/ads>) advertises registration at ` https://mcp.facebook.com/.well-known/register/ads `, PKCE ` S256 `, token-endpoint authentication ` none `, and authorization-code and refresh-token grants. A client supporting that registration flow can obtain its client identity without a developer app ID supplied by you.

These observations show the public sign-in handshake and advertised configuration only. We did not register a client, sign in, list Meta tools or read an ad account through Meta's server. They do not establish that any account or tool works. The earlier Plainrouter example is a separate authenticated read against Plainrouter, not evidence of a Meta-server connection.

## Troubleshoot the connection

| Symptom | Check next |
| --- | --- |
| Sign-in redirects fail | For your own app, compare its registered redirect URL with the client's documented callback. Restart authentication after correcting it. |
| An expected account is absent | Confirm the Meta identity used and its asset access; reconnect if you authorized the wrong identity or assets. |
| Tools are missing | Check scopes, client tool toggles and rollout availability. Refresh the client's tool inventory after changing access. |
| A write is refused | Inspect the account/catalog server rules rather than repeatedly submitting the same action. |
| Server is configured but disconnected | Finish OAuth in the client; a saved URL is not proof of authentication. |
| Browser shows Method Not Allowed | Expected for a GET. Add ` https://mcp.facebook.com/ads ` as the remote server in your MCP client rather than opening it as a webpage. |
| Client says unauthorized and never offers sign-in | The client is not completing the advertised 401 sign-in flow. Use a supported connector with OAuth discovery/registration, or Meta's own-app integration with the client's registered callback. |
| Sign-in asks for more permissions than expected | Compare the nine advertised scopes above with your intended task. Meta documents ` ads_mcp_management ` plus ` ads_read ` or ` ads_management ` as the minimum token combination; that does not promise every connector lets you reduce its consent request. |

These checks follow [Meta authentication](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-get-started>), [Meta availability and rules](<https://www.facebook.com/business/help/1456422242197840>) and the client documentation above.

## Frequently asked questions

### Does Meta have an official Ads MCP server?

Yes—as checked on 19 October 2026, Meta hosts its official Ads MCP server at ` https://mcp.facebook.com/ads `. It exposes permission-scoped reporting and ad-management tools to compatible clients. [Meta server overview](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-overview>).

### Is there a GitHub repo for Meta's Ads MCP?

Meta's documentation checked here directs you to its hosted endpoint, not a self-hosted GitHub package. Third-party Meta Ads MCP repositories are separate implementations; do not assume a GitHub result is Meta's official server. See [Meta's official server and alternatives](</library/meta-ads-mcp-options>) for hosting choices. [Meta overview](<https://developers.facebook.com/documentation/ads-commerce/ads-ai-connectors/ads-mcp-server/ads-mcp-server-overview>).

### Is Meta's Ads MCP server free?

The Meta pages checked for this guide publish no server price. That does not establish a permanent free tier; your AI client subscription and advertising spend still have their own costs.

### Does it work with ChatGPT?

Yes. Meta lists ChatGPT as a supported connector. Add the endpoint with OAuth through Plugins on an allowed web account; account and workspace restrictions still apply. Use Meta's own-app route if you supply a preconfigured OAuth client. [Current ChatGPT setup](<https://developers.openai.com/api/docs/guides/custom-mcp-server>).

### Is it safe to give it write access?

Review account access, block unwanted actions with Meta's rules and retain client confirmations. New objects begin paused, but permitted updates can still affect existing campaigns.

### Do I need a developer app?

Not for Meta's supported connector path. You do need one for the own-app developer integration described in Meta's get-started documentation, including its custom OAuth setup.

### Is this a self-hosted server?

No. The endpoint here is hosted by Meta; adding it does not install a local npm package. For other hosting and control options, see [Meta Ads MCP servers compared](</library/meta-ads-mcp-options>).

## Want approvals and an independent conversion check?

Plainrouter offers a separate hosted server with Read keys, Ask-mode approval and conversion-signal diagnostics. See [Plainrouter's Meta Ads MCP setup and capabilities](</solutions/meta-ads-mcp>) if those controls fit your workflow.
