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 to get 32-byte seed for MCP publisher

Yves Junqueirab8bd2833c258
diff --git a/.github/workflows/publish-mcp.yml b/.github/workflows/publish-mcp.yml
index 28c075c..55dc8d8 100644
--- a/.github/workflows/publish-mcp.yml
+++ b/.github/workflows/publish-mcp.yml
@@ -59,11 +59,11 @@ jobs:
- name: Login to MCP Registry (DNS auth)
run: |
- # Convert PEM private key to hex format
- echo "${{ secrets.MCP_PRIVATE_KEY }}" | openssl pkey -outform DER | xxd -p -c 256 > private_key_hex.txt
- PRIVATE_KEY_HEX=$(cat private_key_hex.txt)
+ # Extract 32-byte private key seed from PEM format
+ 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)
./mcp-publisher login dns --domain pipeboard.co --private-key "$PRIVATE_KEY_HEX"
- rm -f private_key_hex.txt
+ rm -f temp_key.pem
- name: Publish to MCP Registry
run: ./mcp-publisher publish