Skip to main content
This guide shows you how to register your own app with Meta to obtain your OAuth credentials (App ID and App Secret) for the Ads MCP server. These are required to let your users grant your app access to their Meta ad accounts through MCP.
1

Create a Meta Developer account

If you don’t already have one, go to Meta for Developers and create a developer account.
2

Create or reuse a Business-type app

  1. Go to the Meta Developer Dashboard.
  2. Click Create App, enter your App name, then click Next.
  3. Select Other, then click Next.
  4. Select Business, then click Next.
  5. Select the Business portfolio to associate with the app, then click Create app.
3

Add the Ads MCP use case

  1. In the left sidebar, click Use cases, then Add use case.
  2. In the popup, click Ads and monetization, select Create & manage ads with ads MCP server, then click Save. This automatically adds Facebook Login for Business to your app, which handles the OAuth flow.
4

(Optional) Request Advanced Access for agencies and partners

If you manage ads data on behalf of other businesses, you need Advanced Access on the ads_mcp_management permission and must submit your app for review:
  1. On the Use cases screen, click Customize on the ads MCP server use case.
  2. On the Permissions and features tab, click Actions next to ads_mcp_management, choose to request Advanced Access, then click Go to app review.
5

Configure OAuth settings

  1. From Facebook Login for Business > Settings, enable:
    • Client OAuth Login
    • Web OAuth Login
  2. In Valid OAuth Redirect URIs, add: https://api.nango.dev/oauth/callback
  3. Click Save Changes.
    Meta also lets you authenticate by passing a pre-obtained access token instead of OAuth. Nango’s Ads MCP integration uses OAuth for automatic token handling and refresh, so choose OAuth here.
6

Request the Ads MCP permissions

In App Review > Permissions and Features, request:
  • ads_mcp_management - required to use the Ads MCP server
  • ads_read - read ads data
  • ads_management - manage ads and campaigns
  • catalog_management - manage product catalogs
  • business_management - access Business Manager data
  • pages_show_list - list Pages the user manages
  • instagram_basic - read basic Instagram account data
    Some permissions may require App Review before going live.
7

Obtain your App credentials

Go to App Settings > Basic in the left sidebar, then copy your App ID (this is your Client ID) and App Secret (this is your Client Secret). You’ll need these when configuring the integration in Nango.
8

Next

Follow the Quickstart to connect your first account.
For more details, see the Ads MCP server documentation.