Skip to content

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.

Revert "Enhance authentication function documentation"

Yves Junqueira522e708208d2
diff --git a/meta_ads_mcp/api.py b/meta_ads_mcp/api.py
index 48eb9f6..b2aca7d 100644
--- a/meta_ads_mcp/api.py
+++ b/meta_ads_mcp/api.py
@@ -1349,15 +1349,13 @@ async def debug_image_download(url="", ad_id="", access_token=None):
@meta_api_tool
async def authenticate(access_token: str = None) -> str:
"""
- Get a clickable login link for Meta Ads authentication. The link is safe to share with the LLM
- as it only initiates the standard OAuth flow where the user logs in directly with Meta - no
- credentials are exposed in the process.
+ Get a clickable login link for Meta Ads authentication.
Args:
access_token: Meta API access token (optional - will use cached token if not provided)
Returns:
- A clickable resource link for Meta authentication that safely initiates the OAuth flow
+ A clickable resource link for Meta authentication
"""
# Check if we have a cached token
cached_token = auth_manager.get_access_token()