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
Remove warnings for missing META_APP_ID and META_APP_SECRET in auth.py, streamlining the login process by initializing the auth manager directly.
Yves Junqueira047955acc090
diff --git a/meta_ads_mcp/core/auth.py b/meta_ads_mcp/core/auth.pyindex 493fce6..0ae6670 100644--- a/meta_ads_mcp/core/auth.py+++ b/meta_ads_mcp/core/auth.py@@ -502,13 +502,5 @@ def login():# Initialize auth manager with a placeholder - will be updated at runtimeMETA_APP_ID = os.environ.get("META_APP_ID", "YOUR_META_APP_ID")-# Only show warnings about missing META_APP_ID/META_APP_SECRET when not using Pipeboard-if not os.environ.get("PIPEBOARD_API_TOKEN"):- # Log warnings about missing environment variables- if META_APP_ID == "YOUR_META_APP_ID":- logger.warning("META_APP_ID environment variable is not set. Authentication will not work properly.")-- if not os.environ.get("META_APP_SECRET"):- logger.warning("META_APP_SECRET environment variable is not set. Long-lived token exchange will not work.")-+# Create the auth managerauth_manager = AuthManager(META_APP_ID)\ No newline at end of file