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.

feat(transport): drop streamable_http_path override + bump to 1.0.108 (#124)

Yves Junqueira9cbd8aa4c523
diff --git a/meta_ads_mcp/core/server.py b/meta_ads_mcp/core/server.py
index e8240b6..5a4e629 100644
--- a/meta_ads_mcp/core/server.py
+++ b/meta_ads_mcp/core/server.py
@@ -337,10 +337,6 @@ def main():
mcp_server.settings.port = args.port
mcp_server.settings.stateless_http = True
mcp_server.settings.json_response = not args.sse_response
- # Mount streamable HTTP at /mcp/ (with trailing slash) so requests
- # forwarded by an upstream proxy at .../mcp/ are served directly
- # instead of receiving a 307 redirect to /mcp (the SDK default).
- mcp_server.settings.streamable_http_path = "/mcp/"
# Disable DNS rebinding protection. The SDK auto-enables it when the
# server binds to a loopback host (127.0.0.1 / localhost / ::1) and
# ships a port-wildcard allowlist (127.0.0.1:*). An upstream nginx
@@ -385,7 +381,7 @@ def main():
try:
logger.info("Starting FastMCP server with Streamable HTTP transport")
print(f"✅ Server configured successfully")
- print(f" URL: http://{args.host}:{args.port}{mcp_server.settings.streamable_http_path}/")
+ print(f" URL: http://{args.host}:{args.port}{mcp_server.settings.streamable_http_path}")
print(f" Mode: {'Stateless' if mcp_server.settings.stateless_http else 'Stateful'}")
print(f" Format: {'JSON' if mcp_server.settings.json_response else 'SSE'}")
mcp_server.run(transport="streamable-http")
diff --git a/pyproject.toml b/pyproject.toml
index 784d531..6ea84dc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "meta-ads-mcp"
-version = "1.0.107"
+version = "1.0.108"
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.json
index 1ca27fd..275d882 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.107",
+ "version": "1.0.108",
"remotes": [
{
"type": "streamable-http",