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 legacy login scripts and update README for authentication process
Yves Junqueira72ae1988a7f6
diff --git a/README.md b/README.mdindex 046eef5..9928ce7 100644--- a/README.md+++ b/README.md@@ -82,7 +82,7 @@ Before using the MCP server, you'll need to set up a Meta Developer App:uvx meta-ads-mcp# Authenticate with Meta Ads-uvx meta-ads-login --app-id YOUR_APP_ID+uvx meta-ads-mcp --login --app-id YOUR_APP_ID```### Authentication@@ -110,20 +110,10 @@ There are two ways to authenticate with the Meta Ads API:2. **Command Line Authentication**- You can also initiate authentication directly from the command line:+ You can authenticate directly from the command line:```bash- uvx meta-ads-login --app-id YOUR_APP_ID- ```-- Or use the convenience scripts:-- ```bash- # On macOS/Linux- ./login.sh YOUR_APP_ID-- # On Windows- login.bat YOUR_APP_ID+ uvx meta-ads-mcp --login --app-id YOUR_APP_ID```### Token Caching@@ -228,7 +218,7 @@ If you encounter authentication issues:- Check that the callback server is running properly (the tool will report this)2. When using the command line:- - Run with `--force-login` to get a fresh token: `uvx meta-ads-login --app-id YOUR_APP_ID --force-login`+ - Run with `--force-login` to get a fresh token: `uvx meta-ads-mcp --login --app-id YOUR_APP_ID --force-login`- Make sure the terminal has permissions to open a browser window3. General authentication troubleshooting:diff --git a/login.bat b/login.batdeleted file mode 100644index 5b6175b..0000000--- a/login.bat+++ /dev/null@@ -1,18 +0,0 @@-@echo off-REM Simple script to log in to Meta Ads MCP on Windows--SET APP_ID=%1--IF "%APP_ID%"=="" (- IF NOT "%META_APP_ID%"=="" (- SET APP_ID=%META_APP_ID%- ) ELSE (- echo Error: No Meta App ID provided.- echo Usage: login.bat YOUR_APP_ID- echo or set the META_APP_ID environment variable.- exit /b 1- )-)--echo Starting Meta Ads authentication with App ID: %APP_ID%-python meta_ads_generated.py --login --app-id "%APP_ID%"\ No newline at end of filediff --git a/login.sh b/login.shdeleted file mode 100755index a8a6b08..0000000--- a/login.sh+++ /dev/null@@ -1,17 +0,0 @@-#!/bin/bash-# Simple script to log in to Meta Ads MCP--# Check for app ID in argument or environment variable-if [ "$1" != "" ]; then- APP_ID="$1"-elif [ "$META_APP_ID" != "" ]; then- APP_ID="$META_APP_ID"-else- echo "Error: No Meta App ID provided."- echo "Usage: ./login.sh YOUR_APP_ID"- echo " or set the META_APP_ID environment variable."- exit 1-fi--echo "Starting Meta Ads authentication with App ID: $APP_ID"-python meta_ads_generated.py --login --app-id "$APP_ID"\ No newline at end of filediff --git a/pyproject.toml b/pyproject.tomlindex 833ac4c..095e014 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -33,7 +33,6 @@ dependencies = [[project.scripts]meta-ads-mcp = "meta_ads_mcp:entrypoint"-meta-ads-login = "meta_ads_mcp.api:login_cli"[tool.hatch.build.targets.wheel]packages = ["meta_ads_mcp"]