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.

Add server.json configuration and GitHub Actions workflow for MCP publishing

Yves Junqueira3ff068a26f64
diff --git a/.github/workflows/publish-mcp.yml b/.github/workflows/publish-mcp.yml
new file mode 100644
index 0000000..0b61513
--- /dev/null
+++ b/.github/workflows/publish-mcp.yml
@@ -0,0 +1,68 @@
+name: Publish to MCP Registry
+
+on:
+ push:
+ tags: ["v*"]
+
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ permissions:
+ id-token: write
+ contents: read
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v5
+
+ - name: Set up Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.12"
+
+ - name: Install uv
+ uses: astral-sh/setup-uv@v5
+
+ - name: Install dependencies
+ run: |
+ uv sync --all-extras --dev
+
+ - name: Run tests
+ run: |
+ uv run pytest -q
+
+ - name: Build wheel
+ run: |
+ uv build
+
+ - name: Validate server.json against schema
+ run: |
+ uv run python - <<'PY'
+ import json, sys, urllib.request
+ from jsonschema import validate
+ from jsonschema.exceptions import ValidationError
+ server = json.load(open('server.json'))
+ schema_url = server.get('$schema')
+ with urllib.request.urlopen(schema_url) as r:
+ schema = json.load(r)
+ try:
+ validate(instance=server, schema=schema)
+ except ValidationError as e:
+ print('Schema validation failed:', e, file=sys.stderr)
+ sys.exit(1)
+ print('server.json is valid')
+ PY
+
+ - name: Install MCP Publisher
+ run: |
+ curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
+
+ - name: Login to MCP Registry (DNS auth)
+ run: |
+ echo "${{ secrets.MCP_PRIVATE_KEY }}" > key.pem
+ ./mcp-publisher login dns --domain pipeboard.co --private-key-file key.pem
+ shred -u key.pem || rm -f key.pem
+
+ - name: Publish to MCP Registry
+ run: ./mcp-publisher publish
+
diff --git a/README.md b/README.md
index ef19a09..790c02f 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,8 @@ A [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for in
[![Meta Ads MCP Server Demo](https://github.com/user-attachments/assets/3e605cee-d289-414b-814c-6299e7f3383e)](https://github.com/user-attachments/assets/3e605cee-d289-414b-814c-6299e7f3383e)
+<!-- mcp-name: co.pipeboard/meta-ads-mcp -->
+
## Community & Support
- [Discord](https://discord.gg/YzMwQ8zrjr). Join the community.
diff --git a/server.json b/server.json
new file mode 100644
index 0000000..8ede7b0
--- /dev/null
+++ b/server.json
@@ -0,0 +1,23 @@
+{
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-16/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.1",
+ "packages": [
+ {
+ "registryType": "pypi",
+ "identifier": "meta-ads-mcp",
+ "version": "1.0.1",
+ "transport": {
+ "type": "stdio"
+ }
+ }
+ ],
+ "remotes": [
+ {
+ "type": "streamable-http",
+ "url": "https://mcp.pipeboard.co/meta-ads-mcp"
+ }
+ ]
+}
+