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
Meta Ads MCP Examples
This directory contains example scripts and usage demonstrations for the Meta Ads MCP server.
Files
http_client.py
A complete example HTTP client that demonstrates how to interact with the Meta Ads MCP server using the HTTP transport.
Features:
- Shows how to authenticate with a Meta access token
- Demonstrates all basic MCP operations (initialize, list tools, call tools)
- Includes error handling and response formatting
- Ready-to-use client class for integration
Usage:
# Start the MCP server
python -m meta_ads_mcp --transport streamable-http --port 8080
# Run the example (in another terminal)
cd examples
python http_client.py
Authentication:
- Set the
META_ACCESS_TOKENenvironment variable, or pass themeta_access_tokenparameter, using a token from your own Meta app
Adding New Examples
When adding new example files:
- Include comprehensive docstrings
- Add usage instructions in comments
- Update this README with file descriptions
- Follow the same authentication patterns as
http_client.py