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.

Fix private key extraction using official MCP publisher method

Yves Junqueira7b0bb4015e6a
diff --git a/.github/workflows/publish-mcp.yml b/.github/workflows/publish-mcp.yml
index 55dc8d8..7abf577 100644
--- a/.github/workflows/publish-mcp.yml
+++ b/.github/workflows/publish-mcp.yml
@@ -59,9 +59,9 @@ jobs:
- name: Login to MCP Registry (DNS auth)
run: |
- # Extract 32-byte private key seed from PEM format
+ # Extract private key using official MCP publisher method
echo "${{ secrets.MCP_PRIVATE_KEY }}" > temp_key.pem
- PRIVATE_KEY_HEX=$(openssl pkey -in temp_key.pem -noout -text | awk '/priv:/{getline; gsub(/[^0-9a-f]/,""); print}' | head -c 64)
+ PRIVATE_KEY_HEX=$(openssl pkey -in temp_key.pem -noout -text | grep -A3 "priv:" | tail -n +2 | tr -d ' :\n')
./mcp-publisher login dns --domain pipeboard.co --private-key "$PRIVATE_KEY_HEX"
rm -f temp_key.pem