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
chore(release): bump to 1.0.121 (#161)
Yves Junqueiraceee65b81803
diff --git a/SECURITY.md b/SECURITY.mdindex 9bbc8b0..7c56b1b 100644--- a/SECURITY.md+++ b/SECURITY.md@@ -148,3 +148,35 @@ rejects unauthenticated requests in both JSON and `--sse-response` modes.Meta access token (`https://developers.facebook.com/tools/debug/accesstoken/`)and review Graph API access logs for unexpected calls.- Credited to zx (Jace) — GitHub [@manus-use](https://github.com/manus-use).++### GHSA-6v2r-2m4r-768m — Reflected XSS in the local OAuth callback server error page++- **Severity:** Medium+- **Affected versions:** `<= 1.0.120` when the local OAuth login flow is used+ (the callback server listens on `127.0.0.1:8080-8089`).+- **Fixed in:** `1.0.121`+- **Affected configurations:** Anyone completing an interactive OAuth login on+ a desktop where a browser can reach `localhost` during the 180-second+ authorization window. The hosted MCP at `*.mcp.pipeboard.co` does not run the+ local callback server.++**What went wrong.** The callback server interpolated the `error` query+parameter straight into its HTML error page, so a page open in the user's+browser could navigate to the callback URL with script in `error` and execute+it on the `localhost` origin. The server also exposed an unauthenticated+`/token` endpoint that returned the stored OAuth authorization code to any+same-origin page — the escalation target for the XSS above.++**Fix.**+1. The `error` value is HTML-escaped (and truncated) before being reflected.+2. Every callback response now carries `Content-Security-Policy: default-src+ 'none'`, `X-Content-Type-Options: nosniff`, `X-Frame-Options: DENY`,+ `Referrer-Policy: no-referrer` and `Cache-Control: no-store`; the success+ page's inline script runs under a per-response nonce.+3. The unreferenced `/token` endpoint was removed.++**Action for operators.**+- Upgrade to `1.0.121` or later.+- If you completed an OAuth login on a machine where an untrusted page may have+ been open, reconnect the Meta account so a fresh token is issued.+- Credited to zx — GitHub [@manus-pi](https://github.com/manus-pi).diff --git a/meta_ads_mcp/__init__.py b/meta_ads_mcp/__init__.pyindex c66cb0d..14f6f7c 100644--- a/meta_ads_mcp/__init__.py+++ b/meta_ads_mcp/__init__.py@@ -6,7 +6,7 @@ This package provides a Meta Ads MCP integrationfrom meta_ads_mcp.core.server import main-__version__ = "1.0.120"+__version__ = "1.0.121"__all__ = ['get_ad_accounts',diff --git a/pyproject.toml b/pyproject.tomlindex 7294263..db9cca9 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "hatchling.build"[project]name = "meta-ads-mcp"-version = "1.0.120"+version = "1.0.121"description = "Model Context Protocol (MCP) server for Meta Ads - Use Remote MCP at pipeboard.co for easiest setup"readme = "README.md"requires-python = ">=3.10"diff --git a/server.json b/server.jsonindex 3cb3f2a..89edf8d 100644--- a/server.json+++ b/server.json@@ -2,7 +2,7 @@"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name": "co.pipeboard/meta-ads-mcp","description": "Facebook / Meta Ads automation with AI: analyze performance, test creatives, optimize spend.",- "version": "1.0.120",+ "version": "1.0.121","remotes": [{"type": "streamable-http",