SSyncDev

Facebook Ads MCP Server

MCP server acting as an interface to the Facebook Ads, enabling programmatic access to Facebook Ads data and management features.

Local serverstdioPython

What is the Facebook Ads MCP Server?

MCP server acting as an interface to the Facebook Ads, enabling programmatic access to Facebook Ads data and management features.

What it actually does

  • Installs and configures the MCP server locally
  • Automatically handles environment setup
  • Prompts for Meta token authentication during the process which is optional
  • If Meta access token is not provided then connect to GoMarble's server to create the token on your behalf

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_ad_accountsLists ad accounts linked to the token.
get_details_of_ad_accountRetrieves details for a specific ad account.
get_campaign_by_idRetrieves details for a specific campaign.
get_adset_by_idRetrieves details for a specific ad set.
get_ad_by_idRetrieves details for a specific ad.
get_ad_creative_by_idRetrieves details for a specific ad creative.
get_adsets_by_idsRetrieves details for multiple ad sets by their IDs.
get_campaigns_by_adaccountRetrieves campaigns within an ad account.
get_adsets_by_adaccountRetrieves ad sets within an ad account.
get_ads_by_adaccountRetrieves ads within an ad account.
get_adsets_by_campaignRetrieves ad sets within a campaign.
get_ads_by_campaignRetrieves ads within a campaign.
get_ads_by_adsetRetrieves ads within an ad set.
get_ad_creatives_by_ad_idRetrieves creatives associated with an ad.

Configuration

  • Python 3.10+ * Dependencies listed in requirements.txt 1. (Optional but Recommended) Create and Activate a Virtual Environment: Using a virtual environment helps manage project dependencies cleanly[Source]. 2. Install Dependencies: 3. Obtain Meta Access Token: Secure a Meta User Access Token with the necessary permissions (e.g.

Example prompts to try

  • “Use Facebook Ads to list ad accounts.”
  • “Use Facebook Ads to get details of ad account.”
  • “Use Facebook Ads to get campaign by id.”

Frequently asked questions

MCP server acting as an interface to the Facebook Ads, enabling programmatic access to Facebook Ads data and management features. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.