Meta Ads (Facebook/Instagram) MCP server for Claude, ChatGPT, Perplexity & Cursor — the Meta node of Pipeboard’s 5-platform family (+ Google, TikTok, Snap, Reddit). Hosted remote MCP, badged Meta Business Partner, free plan — no self-hosting required.
Python advertisingai-agentschatgptclaudefacebook-adsinstagram-adsmcpmeta-adsmodel-context-protocolpipeboard
Update README to include new Meta Ads API functions and enhance existing descriptions
Yves Junqueirae621f29a591b
diff --git a/README.md b/README.mdindex 1d25053..645b52e 100644--- a/README.md+++ b/README.md@@ -158,38 +158,94 @@ Add this to your `claude_desktop_config.json` to integrate with Claude or `~/.cu- `adset_id`: Meta Ads ad set ID- Returns: Detailed information about the specified ad set-9. `mcp_meta_ads_get_ads`- - Get ads for a Meta Ads account with optional filtering+9. `mcp_meta_ads_create_adset`+ - Create a new ad set in a Meta Ads account- Inputs:- - `access_token` (optional): Meta API access token (will use cached token if not provided)- `account_id`: Meta Ads account ID (format: act_XXXXXXXXX)- - `limit`: Maximum number of ads to return (default: 10)- - `campaign_id`: Optional campaign ID to filter by- - `adset_id`: Optional ad set ID to filter by- - Returns: List of ads matching the criteria--10. `mcp_meta_ads_get_ad_details`+ - `campaign_id`: Meta Ads campaign ID this ad set belongs to+ - `name`: Ad set name+ - `status`: Initial ad set status (default: PAUSED)+ - `daily_budget`: Daily budget in account currency (in cents) as a string+ - `lifetime_budget`: Lifetime budget in account currency (in cents) as a string+ - `targeting`: Targeting specifications (e.g., age, location, interests)+ - `optimization_goal`: Conversion optimization goal (e.g., 'LINK_CLICKS')+ - `billing_event`: How you're charged (e.g., 'IMPRESSIONS')+ - `bid_amount`: Bid amount in account currency (in cents)+ - `bid_strategy`: Bid strategy (e.g., 'LOWEST_COST')+ - `start_time`, `end_time`: Optional start/end times (ISO 8601)+ - `access_token` (optional): Meta API access token+ - Returns: Confirmation with new ad set details++10. `mcp_meta_ads_get_ads`+ - Get ads for a Meta Ads account with optional filtering+ - Inputs:+ - `access_token` (optional): Meta API access token (will use cached token if not provided)+ - `account_id`: Meta Ads account ID (format: act_XXXXXXXXX)+ - `limit`: Maximum number of ads to return (default: 10)+ - `campaign_id`: Optional campaign ID to filter by+ - `adset_id`: Optional ad set ID to filter by+ - Returns: List of ads matching the criteria++11. `mcp_meta_ads_create_ad`+ - Create a new ad with an existing creative+ - Inputs:+ - `account_id`: Meta Ads account ID (format: act_XXXXXXXXX)+ - `name`: Ad name+ - `adset_id`: Ad set ID where this ad will be placed+ - `creative_id`: ID of an existing creative to use+ - `status`: Initial ad status (default: PAUSED)+ - `bid_amount`: Optional bid amount (in cents)+ - `tracking_specs`: Optional tracking specifications+ - `access_token` (optional): Meta API access token+ - Returns: Confirmation with new ad details++12. `mcp_meta_ads_get_ad_details`- Get detailed information about a specific ad- Inputs:- `access_token` (optional): Meta API access token (will use cached token if not provided)- `ad_id`: Meta Ads ad ID- Returns: Detailed information about the specified ad-11. `mcp_meta_ads_get_ad_creatives`+13. `mcp_meta_ads_get_ad_creatives`- Get creative details for a specific ad- Inputs:- `access_token` (optional): Meta API access token (will use cached token if not provided)- `ad_id`: Meta Ads ad ID- Returns: Creative details including text, images, and URLs-12. `mcp_meta_ads_get_ad_image`+14. `mcp_meta_ads_create_ad_creative`+ - Create a new ad creative using an uploaded image hash+ - Inputs:+ - `account_id`: Meta Ads account ID (format: act_XXXXXXXXX)+ - `name`: Creative name+ - `image_hash`: Hash of the uploaded image+ - `page_id`: Facebook Page ID for the ad+ - `link_url`: Destination URL+ - `message`: Ad copy/text+ - `headline`: Ad headline+ - `description`: Ad description+ - `call_to_action_type`: CTA button type (e.g., 'LEARN_MORE')+ - `instagram_actor_id`: Optional Instagram account ID+ - `access_token` (optional): Meta API access token+ - Returns: Confirmation with new creative details++15. `mcp_meta_ads_upload_ad_image`+ - Upload an image to use in Meta Ads creatives+ - Inputs:+ - `account_id`: Meta Ads account ID (format: act_XXXXXXXXX)+ - `image_path`: Path to the image file to upload+ - `name`: Optional name for the image+ - `access_token` (optional): Meta API access token+ - Returns: JSON response with image details including hash++16. `mcp_meta_ads_get_ad_image`- Get, download, and visualize a Meta ad image in one step- Inputs:- `access_token` (optional): Meta API access token (will use cached token if not provided)- `ad_id`: Meta Ads ad ID- Returns: The ad image ready for direct visual analysis-13. `mcp_meta_ads_update_ad`+17. `mcp_meta_ads_update_ad`- Update an ad with new settings- Inputs:- `ad_id`: Meta Ads ad ID@@ -198,7 +254,7 @@ Add this to your `claude_desktop_config.json` to integrate with Claude or `~/.cu- `access_token` (optional): Meta API access token (will use cached token if not provided)- Returns: Confirmation with updated ad details and a confirmation link-14. `mcp_meta_ads_update_adset`+18. `mcp_meta_ads_update_adset`- Update an ad set with new settings including frequency caps- Inputs:- `adset_id`: Meta Ads ad set ID@@ -210,7 +266,7 @@ Add this to your `claude_desktop_config.json` to integrate with Claude or `~/.cu- `access_token` (optional): Meta API access token (will use cached token if not provided)- Returns: Confirmation with updated ad set details and a confirmation link-15. `mcp_meta_ads_get_insights`+19. `mcp_meta_ads_get_insights`- Get performance insights for a campaign, ad set, ad or account- Inputs:- `access_token` (optional): Meta API access token (will use cached token if not provided)@@ -220,7 +276,7 @@ Add this to your `claude_desktop_config.json` to integrate with Claude or `~/.cu- `level`: Level of aggregation (ad, adset, campaign, account)- Returns: Performance metrics for the specified object-16. `mcp_meta_ads_debug_image_download`+20. `mcp_meta_ads_debug_image_download`- Debug image download issues and report detailed diagnostics- Inputs:- `access_token` (optional): Meta API access token (will use cached token if not provided)@@ -228,7 +284,7 @@ Add this to your `claude_desktop_config.json` to integrate with Claude or `~/.cu- `ad_id`: Meta Ads ad ID (optional, used if url is not provided)- Returns: Diagnostic information about image download attempts-17. `mcp_meta_ads_get_login_link`+21. `mcp_meta_ads_get_login_link`- Get a clickable login link for Meta Ads authentication- Inputs:- `access_token` (optional): Meta API access token (will use cached token if not provided)