Loading...
npx -y @smithery/cli install @gomarble-ai/facebook-ads-mcp-server --client claude{
"mcpServers": {
"fb-ads-mcp-server": {
"command": "python",
"args": [
"/path/to/your/fb-ads-mcp-server/server.py",
"--fb-token",
"YOUR_META_ACCESS_TOKEN"
]
// If using a virtual environment, you might need to specify the python executable within the venv:
// "command": "/path/to/your/fb-ads-mcp-server/venv/bin/python",
// "args": [
// "/path/to/your/fb-ads-mcp-server/server.py",
// "--fb-token",
// "YOUR_META_ACCESS_TOKEN"
// ]
}
}
}list_ad_accountsLists ad accounts linked to the provided Meta access token.
Read-only operation, no modification of data.
get_details_of_ad_accountRetrieves detailed information for a specified ad account.
Read-only operation, no modification of data.
get_campaign_by_idRetrieves details for a specific ad campaign by its ID.
Read-only operation, no modification of data.
get_adset_by_idRetrieves details for a specific ad set by its ID.
Read-only operation, no modification of data.
get_ad_by_idRetrieves details for a specific ad by its ID.
Read-only operation, no modification of data.
get_ad_creative_by_idRetrieves details for a specific ad creative by its ID.
Read-only operation, no modification of data.
get_adsets_by_idsRetrieves details for multiple ad sets based on their IDs.
Read-only operation, no modification of data.
get_campaigns_by_adaccountRetrieves all campaigns associated with a given ad account.
Read-only operation, no modification of data.
get_adsets_by_adaccountRetrieves all ad sets associated with a given ad account.
Read-only operation, no modification of data.
get_ads_by_adaccountRetrieves all ads associated with a given ad account.
Read-only operation, no modification of data.
get_adsets_by_campaignRetrieves all ad sets associated with a given campaign.
Read-only operation, no modification of data.
get_ads_by_campaignRetrieves all ads associated with a given campaign.
Read-only operation, no modification of data.
get_ads_by_adsetRetrieves all ads associated with a given ad set.
Read-only operation, no modification of data.
get_ad_creatives_by_ad_idRetrieves all ad creatives associated with a given ad.
Read-only operation, no modification of data.
get_adaccount_insightsRetrieves performance insights for a specified ad account.
Read-only operation, no modification of data.
get_campaign_insightsRetrieves performance insights for a specified campaign.
Read-only operation, no modification of data.
get_adset_insightsRetrieves performance insights for a specified ad set.
Read-only operation, no modification of data.
get_ad_insightsRetrieves performance insights for a specified ad.
Read-only operation, no modification of data.
fetch_pagination_urlFetches data from a given pagination URL.
Read-only operation, retrieves data from a specified URL.
get_activities_by_adaccountRetrieves the change history for a specified ad account.
Read-only operation, no modification of data.
get_activities_by_adsetRetrieves the change history for a specified ad set.
Read-only operation, no modification of data.
This MCP server is relatively safe for read-only operations. However, the ability to modify ad campaigns introduces a moderate risk. Securely manage the Meta access token and monitor changes to ad campaigns to mitigate potential risks.