"Meta MCP" is ambiguous on purpose — Meta operates four distinct API surfaces that developers might want to connect to AI assistants via the Model Context Protocol. This guide walks through each option, which has an existing MCP server, and how to wire it up.
This article was inspired by the rapidly-growing MCP ecosystem and the practical question of how to integrate Meta's developer APIs with AI tools.
Quick navigation: Meta Ads MCP · Llama MCP · Horizon OS MCP · Custom Graph API MCP · Comparison table · FAQ
The Four Meta API Surfaces (and Their MCP Status)
Meta exposes four developer surfaces that AI assistants can usefully connect to:
| Surface | What it does | MCP status | Best for |
|---|---|---|---|
| Meta Ads API | Manage Facebook + Instagram ad campaigns | ✅ Community MCP exists | Marketers, growth teams |
| Llama API | Inference on Meta's open Llama models | ⚠️ Community MCPs (mostly local) | Developers building chatbots |
| Meta Horizon OS API | Quest VR development tools | ✅ Official Meta MCP | XR / VR builders |
| Graph API (FB/IG content) | Post to pages, read comments, fetch insights | ❌ No official MCP | Social media automation |
Each is a separate integration with a separate auth flow. You can stack them — running all four MCPs in the same Claude Code session is fine — but most teams pick the one that matches their workflow.
1. Meta Ads MCP — Manage Campaigns from Claude {#ads}
Meta Ads is the integration most marketing teams want when they say "connect Meta to my AI assistant." Use cases: pause underperforming ads, generate copy variants, schedule budget changes, pull spend reports.
Existing MCP: meta-ads-mcp (Pipeboard, MIT license).
Setup (Claude Code):
claude mcp add meta-ads npx -y @pipeboard/meta-ads-mcp
You'll need a Meta Business app with Marketing API permissions. Pipeboard's docs walk through the OAuth setup. The MCP exposes tools like list_campaigns, pause_ad, update_budget, and get_insights.
Alternative: Pipeboard also offers a remote-hosted version at https://pipeboard.co — saves the local install but routes traffic through their servers.
What it unlocks:
- Claude reviews campaign performance, suggests budget reallocations
- Generate 10 ad copy variants, push them as A/B tests in one conversation
- Daily standup-style report ("Show me yesterday's top 3 campaigns by ROAS")
2. Llama MCP — Use Meta's Open Models {#llama}
Meta's Llama family (Llama 3, Llama 3.1, Llama 4) are open-weight models you can run locally or via hosted APIs (Together, Replicate, Groq, Fireworks).
Existing MCPs vary by hosting setup:
- llama-mcp-server — wraps a local llama.cpp instance. Best for fully-offline use.
- OpenAI-compatible MCPs — Most Llama hosts (Together, Groq, Fireworks) expose OpenAI-format APIs. Use a generic OpenAI-compatible MCP and point it at the host's URL.
- Replicate MCP — covers many Llama variants alongside other open models.
Setup for Together AI (typical hosted Llama):
# OpenAI-compatible MCP pointed at Together
TOGETHER_API_KEY=your-key claude mcp add llama-together \
npx -y @modelcontextprotocol/server-openai-compat \
--base-url https://api.together.xyz/v1 \
--model meta-llama/Llama-3.1-70B-Instruct-Turbo
What it unlocks:
- Use Llama for tasks where you want open weights: cost-sensitive bulk inference, on-prem requirements, or fine-tuned variants
- Chain Llama (cheap, fast) with Claude (smart, expensive) for cost-optimized pipelines
- Run experiments on Llama without leaving your AI-assistant interface
3. Meta Horizon OS MCP — XR/VR Development {#horizon}
For Quest and Horizon OS developers, Meta shipped an official MCP as part of their Unity tooling. It exposes the Horizon Quick Deploy & Backend (hzdb) tooling for AI-assisted Quest development.
Status: official, by Meta.
Docs: developers.meta.com → Horizon Documentation → Unity → MCP integration.
What it unlocks:
- AI-assisted Quest app development inside Cursor or Claude Code
- Automated build / deploy workflows for VR projects
- Quick scaffolding of Horizon Worlds and Quest apps
This is niche but if you're a Quest developer, Meta's tooling is the gold standard.
4. Custom Graph API MCP — Post to FB/IG Pages {#graph}
For posting content to Facebook Pages or Instagram Business accounts (the most-requested social media automation use case), there's no official MCP as of mid-2026. You build a custom one.
The Meta Graph API exposes:
-
POST /{page-id}/feed— publish a post on a Page -
POST /{ig-user-id}/media+/media_publish— Instagram posts (two-step) -
GET /{page-id}/insights— analytics -
GET /{post-id}/comments— fetch comments
A minimal custom MCP server is a Python or Node script that:
- Speaks MCP over stdio (use the official SDK)
- Exposes tools for
post_to_facebook,post_to_instagram,get_page_insights - Calls the Graph API with your stored access token
- Returns results
There are reference implementations on GitHub if you search "graph-api mcp" — none have reached "official" status, so quality varies. Building your own (~200 lines of code) is often cleaner.
Use case: AI-assisted social media management. Claude drafts a post, calls the MCP to publish, monitors comments, drafts replies. End-to-end content distribution from one chat.
Comparison Table {#table}
| Need | MCP option | Effort | Cost |
|---|---|---|---|
| Manage FB/IG ad campaigns | meta-ads-mcp (Pipeboard) | 5 min setup | Free MCP, paid Meta API |
| Inference with Llama models | OpenAI-compatible MCP + hosted Llama API | 5 min | Per-token via Together/Groq/etc. |
| Local Llama (offline) | llama-mcp-server | 30 min (need llama.cpp) | Free, but needs hardware |
| Quest / VR development | Meta Horizon official MCP | 15 min | Free |
| Post to Pages / Instagram | Build custom Graph API MCP | 2-4 hours | Free MCP, free Meta API |
| Pull insights / analytics | Custom or extend meta-ads-mcp | 1-2 hours | Free |
Pros and Cons of Going via MCP vs Direct API
Pros:
- Use the same conversation interface for AI generation + Meta operations
- No glue code — Claude handles auth, retries, error parsing
- Easy to chain ("Generate 3 ad copy variants with Claude, push the best to Meta Ads")
- Token / credential management handled by the MCP runtime
Cons:
- Adds a dependency (MCP server) that can break independently
- Some MCPs are unofficial / community-maintained — quality and stability vary
- Latency: MCP roundtrip + Meta API roundtrip vs direct API
- Fewer features than Meta's full SDKs
Who Should Use Each
Marketing teams running FB/IG ads → Meta Ads MCP. Highest ROI for the time invested.
Devs building AI products with Llama → OpenAI-compatible MCP + hosted Llama (Together, Groq, Fireworks). Don't bother with local llama.cpp unless you have a strict offline requirement.
Quest / VR developers → Meta's official Horizon MCP. It's the only path supported by Meta directly.
Social media managers → Build a custom Graph API MCP. Worth the 2-4 hours upfront for ongoing automation savings.
Frequently Asked Questions {#faq}
Is there an official Meta MCP?
Only for Horizon OS (VR development). Meta has not shipped official MCPs for Ads, Llama, or Graph API as of mid-2026. The community has built MCPs for Ads and Llama; Graph API still requires a custom build.
Can I use multiple Meta MCPs in the same Claude session?
Yes. MCP clients (Claude Code, Claude Desktop, Cursor) support multiple connected servers. Add Ads + Llama + a custom Graph API server simultaneously and Claude routes tool calls to the right one based on the operation requested.
What permissions does the Meta Ads MCP need?
Standard Marketing API permissions: ads_management, ads_read, and business_management. Your Meta app must be approved for these scopes (App Review process). Personal apps work for testing.
Is meta-ads-mcp safe to use?
It's open-source under MIT license — readable on GitHub. Pipeboard maintains it actively. Like any third-party tool handling auth tokens, run it in environments you trust and don't expose tokens to untrusted callers.
Can I post to Instagram via MCP without a Facebook Page?
No. Meta requires Instagram Business / Creator accounts to be linked to a Facebook Page for Graph API access. Personal Instagram accounts can't post via the Graph API.
What about WhatsApp Business via MCP?
WhatsApp Business uses a separate Cloud API (different endpoints, different auth). No mainstream MCP exists yet — would need a custom build similar to the Graph API path.
Is using AI-generated content for ads against Meta's policies?
No. Meta explicitly allows AI-generated ad creative as of 2024. There are still standard policies (no misleading claims, deceptive practices, etc.) — AI-generated content is held to the same bar as human-created content.
The Short Take
There is no single "Meta MCP" — there's an ecosystem of MCPs covering different Meta API surfaces, with varying levels of official vs community support. For most teams, meta-ads-mcp is the highest-ROI integration. Llama-via-OpenAI-compatible-MCP is the cleanest path for inference workloads. Quest developers get Meta's official Horizon MCP. Social media posting still requires a small custom build.
Pick the surface that matches your workflow, not "Meta as a whole." The integrations don't compete — they stack.
This article was researched and drafted with AI assistance using publicly available documentation from Meta, the Model Context Protocol specification, and community-maintained MCP repositories. Reviewed and published by the PromptZone editorial team.
Top comments (0)