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 default limit for ad accounts retrieval from 10 to 200 in get_ad_accounts function and README documentation
Yves Junqueira90b6a08e7143
diff --git a/README.md b/README.mdindex 8a18f38..a59acd1 100644--- a/README.md+++ b/README.md@@ -111,7 +111,7 @@ For local installation configuration, authentication options, and advanced techn- Inputs:- `access_token` (optional): Meta API access token (will use cached token if not provided)- `user_id`: Meta user ID or "me" for the current user- - `limit`: Maximum number of accounts to return (default: 10)+ - `limit`: Maximum number of accounts to return (default: 200)- Returns: List of accessible ad accounts with their details2. `mcp_meta_ads_get_account_info`diff --git a/meta_ads_mcp/core/accounts.py b/meta_ads_mcp/core/accounts.pyindex 9c387a1..db788b5 100644--- a/meta_ads_mcp/core/accounts.py+++ b/meta_ads_mcp/core/accounts.py@@ -8,14 +8,14 @@ from .server import mcp_server@mcp_server.tool()@meta_api_tool-async def get_ad_accounts(access_token: str = None, user_id: str = "me", limit: int = 10) -> str:+async def get_ad_accounts(access_token: str = None, user_id: str = "me", limit: int = 200) -> str:"""Get ad accounts accessible by a user.Args:access_token: Meta API access token (optional - will use cached token if not provided)user_id: Meta user ID or "me" for the current user- limit: Maximum number of accounts to return (default: 10)+ limit: Maximum number of accounts to return (default: 200)"""endpoint = f"{user_id}/adaccounts"params = {