Best Open-Source Meta Ads MCP Servers on GitHub: 9 Compared
Quick answer: For Claude-based Meta Ads work, the best open-source MCP server is the one whose license, hosting model and write safeguards match what you will let an AI change. Ryze AI is our top pick for running Meta campaigns: it queues budget cuts and pauses for your approval, and Managed Campaigns act only inside your daily budget.
Ryze AI · Paid Ads
Run paid traffic with AI
- Google, Meta and 5 more platforms, fixes you approve
Used by 2,000+ marketers
What are the key points?
- Ryze AI is the pick when you want Meta changes made, not only queried. Its Paid Ads plan answers performance questions across the accounts your login can reach, then puts proposed fixes in a Needs you queue. Managed Campaigns pause losers and shift budget only inside a daily budget you set. A GitHub server gives you tools and leaves the process around them to you.
- For read-only reporting from Claude, start with gomarble-ai or run any server read-only. gomarble exposes 21 read tools under an MIT license. getmcpads and hashcott keep write tools off until you opt in.
- For controlled writes you host yourself, black12-ag and getmcpads-com have the clearest guardrails. black12 enforces budget limits and approval links on the server. getmcpads returns a preview and needs a second confirmed call.
- For agencies that want to self-host many client accounts, byadsco is the specialist. It is multi-tenant with Meta sign-in, encrypted tokens and an email allowlist.
- For the biggest tool surface, look at jeffreywlai and RoyAzran. jeffreywlai lists 180 tools. RoyAzran covers many ad platforms, though some pieces are hosted only.
- Check the license before you build on it. Pipeboard uses the Business Source License 1.1, which becomes Apache 2.0 on January 1, 2029. Black12 uses AGPL-3.0. The others in this list use MIT or Apache-2.0.
- None of these results come from our own testing. Everything below is taken from each repository's README as we read it, so confirm current stars, tool counts and versions before you commit.
Which open-source Meta Ads MCP servers compare best?
The table lists Ryze AI first, then nine GitHub projects that expose Meta Ads to an MCP client such as Claude. The nine are open source or source-available on GitHub; Ryze is a hosted product. Counts and stars are what each repository page showed when we opened it, and they change.
- Best for
- Running Meta campaigns with approvals and a budget mandate, no hosting
- License
- Hosted commercial product, not open source
- Tools (per README)
- No tool count; hosted agent on the Paid Ads plan
- Write behavior
- Proposed fixes go to a Needs you queue; Managed Campaigns act inside your daily budget
- Main limitation
- Paid ($89/month, 7-day trial); you cannot read or modify its code
- Best for
- Claude users who want a hosted remote server with no self-hosting
- License
- Business Source License 1.1 (Apache 2.0 from January 1, 2029)
- Tools (per README)
- 28 listed; hosted Meta server described as 130+
- Write behavior
- Writes need explicit confirmation; new campaigns default to paused
- Main limitation
- Cannot be offered as a competing hosted service; paid tiers have no prices in the README
- Best for
- Practitioners who want the widest Marketing API coverage in Python
- License
- MIT
- Tools (per README)
- 180, plus on-demand tool search
- Write behavior
- Writable by default; META_READ_ONLY=true blocks all writes
- Main limitation
- Default is writable, so set read-only yourself; no stars on the page
getmcpads-com/meta-ads-mcp-server
- Best for
- Teams that want preview-before-apply writes in Node
- License
- Apache-2.0
- Tools (per README)
- 41 read and 23 write
- Write behavior
- Writes off by default; preview first, then confirm: true
- Main limitation
- Small repo; the README says 44 tools in one place and lists 64 in tables
- Best for
- A TypeScript server that is read-only until you opt in
- License
- MIT
- Tools (per README)
- 54 (35 read, 19 write)
- Write behavior
- Write tools opt in via environment variable
- Main limitation
- No built-in approval or budget caps documented
- Best for
- Agencies self-hosting a multi-account server
- License
- MIT
- Tools (per README)
- 172
- Write behavior
- paused-only mode; some tools default to dry run
- Main limitation
- Heavier deployment: OAuth, Firestore, allowlist
- Best for
- Owners who want server-enforced limits and approval links
- License
- AGPL-3.0
- Tools (per README)
- Not stated as a single count
- Write behavior
- Budget changes, resumes and creative updates need approval
- Main limitation
- Needs PostgreSQL, Firebase and a public HTTPS address; AGPL terms
- Best for
- One server for Meta, Google, GA4 and Search Console
- License
- MIT
- Tools (per README)
- 230 Meta actions in the hosted build
- Write behavior
- Campaigns, ad sets and ads created paused
- Main limitation
- Some platforms are hosted only; Meta app review applies
gomarble-ai/facebook-ads-mcp-server
- Best for
- A simple read-only start for reporting in Claude Desktop
- License
- MIT
- Tools (per README)
- 21 (reads and insights)
- Write behavior
- No write tools
- Main limitation
- Token expiry means manual refresh
- Best for
- A small, inspectable server with budget cap and audit log
- License
- MIT
- Tools (per README)
- 13
- Write behavior
- Create, budget, pause, activate and delete tools
- Main limitation
- Includes delete_campaign; 60-day token
| Server | Best for | License | Tools (per README) | Write behavior | Main limitation |
|---|---|---|---|---|---|
| Ryze AI | Running Meta campaigns with approvals and a budget mandate, no hosting | Hosted commercial product, not open source | No tool count; hosted agent on the Paid Ads plan | Proposed fixes go to a Needs you queue; Managed Campaigns act inside your daily budget | Paid ($89/month, 7-day trial); you cannot read or modify its code |
| pipeboard-co/meta-ads-mcp | Claude users who want a hosted remote server with no self-hosting | Business Source License 1.1 (Apache 2.0 from January 1, 2029) | 28 listed; hosted Meta server described as 130+ | Writes need explicit confirmation; new campaigns default to paused | Cannot be offered as a competing hosted service; paid tiers have no prices in the README |
| jeffreywlai/meta-ads-mcp | Practitioners who want the widest Marketing API coverage in Python | MIT | 180, plus on-demand tool search | Writable by default; META_READ_ONLY=true blocks all writes | Default is writable, so set read-only yourself; no stars on the page |
| getmcpads-com/meta-ads-mcp-server | Teams that want preview-before-apply writes in Node | Apache-2.0 | 41 read and 23 write | Writes off by default; preview first, then confirm: true | Small repo; the README says 44 tools in one place and lists 64 in tables |
| hashcott/meta-ads-mcp-server | A TypeScript server that is read-only until you opt in | MIT | 54 (35 read, 19 write) | Write tools opt in via environment variable | No built-in approval or budget caps documented |
| byadsco/meta-ads-mcp | Agencies self-hosting a multi-account server | MIT | 172 | paused-only mode; some tools default to dry run | Heavier deployment: OAuth, Firestore, allowlist |
| black12-ag/meta-ads-mcp | Owners who want server-enforced limits and approval links | AGPL-3.0 | Not stated as a single count | Budget changes, resumes and creative updates need approval | Needs PostgreSQL, Firebase and a public HTTPS address; AGPL terms |
| RoyAzran/mcp-ads | One server for Meta, Google, GA4 and Search Console | MIT | 230 Meta actions in the hosted build | Campaigns, ad sets and ads created paused | Some platforms are hosted only; Meta app review applies |
| gomarble-ai/facebook-ads-mcp-server | A simple read-only start for reporting in Claude Desktop | MIT | 21 (reads and insights) | No write tools | Token expiry means manual refresh |
| attainmentlabs/meta-ads-mcp | A small, inspectable server with budget cap and audit log | MIT | 13 | Create, budget, pause, activate and delete tools | Includes delete_campaign; 60-day token |
What should you check before choosing one?
Open-source MCP servers differ less in what they can read than in how they handle writes, tokens and hosting. Five checks separate them.
License. MIT and Apache-2.0 let you modify and run a server inside your business without conditions that matter to most marketers. Black12's AGPL-3.0 means that if you run a modified version as a service for others, you must share your changes under the same license. Pipeboard's Business Source License allows use, modification and redistribution but forbids offering it as a competing hosted service, so it is source-available rather than a standard open-source license.
Write controls. A read-only tool cannot overspend your budget. A write tool can. Look for servers that default to read-only or paused creation, and that confirm before applying. getmcpads documents "applied": false previews. byadsco documents a paused-only header mode. black12 enforces limits on the server, not in the model.
Token type. Most servers need a Meta access token. Several READMEs recommend a System User token because it does not expire, while Explorer tokens last about an hour and long-lived user tokens last about 60 days according to the hashcott README. A token with ads_management can change a live account, so scope it to the assets you need.
Hosting. A local stdio server runs on your computer and dies when the client closes. A remote server needs a host, HTTPS and often an OAuth flow. Pipeboard offers a hosted URL for Claude so you can skip that work, and its README lists self-hosting as the advanced path.
Maintenance. The page captures we read did not show commit dates for most repos, and star counts range from zero to roughly 1,400. A small repo can work well, but you are the one who reads the code and patches it when Meta changes the Marketing API. For more on how servers compare on write access, see our guide to the best MCP servers for Meta Ads.
Meta now also runs an official hosted Ads MCP endpoint. The attainmentlabs README points to it and suggests using Meta's official connector if you want Meta-hosted OAuth and first-party support. That is a different category from a self-managed GitHub project, and the open-source options here suit people who want to inspect, fork or self-host.
How does Ryze AI compare with GitHub MCP servers?
A GitHub MCP server gives Claude a set of tools. You supply the token, the hosting, the prompts, the approval habits and the follow-through. Ryze AI is hosted software that covers the whole loop for Meta, and that is why it is our first choice if your goal is better campaigns rather than a project to maintain. Here is what its documentation says, step by step.
Input. You connect your Meta Business account. Ryze needs Advertiser access to read and Admin access to allow changes, plus the Paid Ads plan. It can answer questions about spend, ROAS, CTR, creatives and ad sets across the ad accounts your login can reach.
Action on existing campaigns. Ryze can create campaigns, adjust budgets, pause or resume campaigns and swap creatives through Meta's official API. These changes follow your Tool approvals setting, so you decide what needs your sign-off. Proposed fixes such as budget cuts and pauses show up under Home, Needs you for approval. Per the Meta Ads help page, the docs do not list which actions require approval by default, so check your setting when you start.
Action in Managed Campaigns. This is a separate mode. You set a daily budget in USD, the platforms, goal, location and landing page. The agent builds the ads, launches them on your connected accounts and keeps reviewing them. Inside that mandate it acts on its own: it pauses underperformers, shifts budget toward winners within your total daily budget and rotates in fresh creatives when current ones fatigue. Your existing campaigns are never paused, edited or reused by this mode.
What you still control. The agent never exceeds the budget, adds platforms, widens targeting or changes the landing page on its own. Those requests go to your Inbox for approval. You can also pause and resume manually, and resume first checks that the landing page is up and tracking works. A workspace can have up to 5 active Managed Campaigns.
The contrast with a repo is practical. With getmcpads or black12 you design the safety model yourself. With Ryze the approval queue, the budget mandate and the pause rules are documented product behavior. Ryze also reports that it fine-tuned its own model for marketing tasks, a vendor statement on its homepage under "Why Ryze outperforms" that comes without a published head-to-head benchmark. Its security policy states that customer conversations, campaign data and usage are not used for training. See the Ryze integrations page for the connected channels.
Where does Ryze AI fit?
Pick Ryze AI when you want to run Meta ads inside a governed workflow without hosting a server. It connects through Meta's official API, sends proposed fixes to a Needs you queue, and lets Managed Campaigns pause and reallocate inside your daily budget. You approve changes beyond that mandate. Choose a GitHub server instead if you need to read or modify the code, or want your own infrastructure.
The matching plan is Paid Ads at $89/month, with a 7-day free trial. Per the billing FAQ, plans with a trial charge a one-time $1 setup fee at the start, which is not refunded. Your Meta ad spend is separate and paid to Meta. Next step: start the trial on Paid Ads, connect your Meta account and review your first Needs you items.
Is Pipeboard the hosted remote server for Claude?
pipeboard-co/meta-ads-mcp has the most GitHub traction in this group, with about 1.4k stars and 289 forks on the page we read. Its README recommends the hosted remote server. For Claude Pro or Max, you add https://meta-ads.mcp.pipeboard.co/ as an integration in claude.ai settings. Cursor users add the same URL to their config.
The repository lists 28 tools covering creating campaigns, ad sets, ads and creatives, uploading images, updating budgets and statuses, and pausing or resuming. New campaigns default to paused, and the Features section says each write requires explicit confirmation. The README describes the hosted Meta server as having more than 130 tools.
Two cautions apply. The license is the Business Source License 1.1, not a standard open-source license, and it converts to Apache 2.0 on January 1, 2029. The README also mentions a free plan with paid tiers but gives no prices, so check the vendor before you plan around the hosted path. Self-hosting requires your own Meta developer app.
Does jeffreywlai have the widest Python tool surface?
jeffreywlai/meta-ads-mcp is MIT licensed and built on FastMCP. The README says it has 180 tools plus search_tools and call_tool for on-demand discovery, and that it covers 106 tools from Meta's official hosted server with mapping status for each. The default Marketing API version in its setup docs is v26.0.
Its safeguards are real but opt-in. META_READ_ONLY=true hides and refuses every mutating tool. Uploads are limited to one folder. Uncertain writes return mutation_outcome_unknown=true and are not retried. Several tools support dry runs, and duplicated campaigns, ad sets and ads start paused. list_mutation_tools lists every write tool with its safety notes.
Setup needs Python 3.12 or newer and uv or pipx. Auth uses a Meta access token in META_ACCESS_TOKEN, with an optional app secret for appsecret_proof. The default is writable, so set read-only first. The page showed no stars, which suggests a new project, so read the code before trusting it with a live account.
Does getmcpads preview writes before applying them?
getmcpads-com/meta-ads-mcp-server is Apache-2.0. The README tables list 41 read tools and 23 write tools, although the About text says 44 tools, so treat the count as approximate. Write tools are disabled until you switch on the writes flag described in the README.
When writes are on, each write tool returns a preview with "applied": false and changes nothing. A second call with confirm: true applies it. meta_create_campaign always creates campaigns as paused. A meta_health_check tool reports which token scopes are present without printing the token, and the README says requests go only to graph.facebook.com.
Setup needs Node.js 22.12 or newer. You can run it with npx from Claude Desktop, Claude Code or Cursor. The token needs ads_read, plus ads_management for writes. The latest release listed is v2.0.0 dated September 20, 2026. The repo is small, with 4 stars when we opened it.
Does hashcott keep writes off by default?
hashcott/meta-ads-mcp-server is MIT licensed with 54 tools: 35 read tools that are always on and 19 write or lifecycle tools that are opt-in. The README explains why. A mistaken call such as meta_ads_delete_campaign can permanently remove campaigns and their ads. To enable writes, set the write-tools environment variable named in the README, and the token also needs ads_management.
It keeps the token in memory and does not write it to disk, and it recommends a System User token for servers. Setup needs Node.js 18 or later and runs through npx. For Claude.ai connectors, switch the server to HTTP mode to expose /mcp and /health. The repo had 18 stars and 17 forks when we read it.
The README does not document approval links, budget caps or a dry-run step, so once you switch writes on, the safeguards are the ones you add yourself.
Is byadsco the multi-account server for agencies?
byadsco/meta-ads-mcp is MIT licensed and describes itself as multi-tenant by design. It exposes 172 tools covering campaigns, ad sets, ads, creatives, insights, audiences, leads, billing, Ad Library research and WhatsApp Business management. Read tools declare readOnlyHint: true, and mutating tools carry a warning in their descriptions.
Each user signs in with their own Meta token through Sign in with Meta. Long-lived tokens are encrypted with AES-256-GCM and stored in Firestore, and startup requires an allowlist of emails, domains or Facebook user IDs. The ads_portfolio_summary tool aggregates results across accounts.
Write controls include pacing against Meta's hourly quota, a circuit breaker after abuse signals, and a paused-only mode set with the X-Ads-Write-Mode header that creates objects as paused, blocks activation and deletion, and only pauses existing objects. You can deploy from source, GitHub Packages or a Docker image, and the README includes a Google Cloud Run reference deployment. It requires Node.js 22.13 or newer. It is the heaviest to run on this list, which is the cost of multi-account support. It had 30 stars when we opened it.
black12-ag: server-enforced limits and approvals
black12-ag/meta-ads-mcp is a self-hosted manager with an MCP server, a REST API and a dashboard. It is AGPL-3.0 licensed. Its pitch is that the AI changes ads only inside limits you set.
Tools fall into three groups. Reads run immediately. Safe changes, such as pausing ads or creating paused copies, run immediately. Resuming ads, setting budgets, updating creatives or ad sets and archiving need approval: these return an approval link, and meta_confirm_action reports the outcome. You configure the highest daily budget, the largest single raise, changes per day and protected campaigns. The server enforces them on every request, not the model.
That is the closest match on this list to a governed workflow, and it comes with the heaviest setup. The README asks for Node 22.9 or newer, PostgreSQL 13 or newer, a public HTTPS address, a Firebase project and your own Meta app. New Meta apps start in development mode, and managing other people's ad accounts requires Meta App Review and business verification. The repo had 1 star.
RoyAzran mcp-ads: one server across ad platforms
RoyAzran/mcp-ads is MIT licensed and covers Google Ads, Meta Ads, TikTok, LinkedIn, Microsoft Ads, Snapchat Ads, GA4, Search Console, Tag Manager and WordPress, among others. The README says the hosted build has 230 Meta Ads actions behind a single meta_ads_action dispatcher, plus 7 Meta Ad Library actions. Merchant Center, X Ads and Bing Webmaster Tools are hosted only and not in the self-hosted repo.
Campaigns, ad sets and ads are created paused by default. For read-only Meta use, the README suggests a token with only ads_read. Self-hosting Meta requires your own Meta app, and the ads_management and ads_read permissions need App Review, though they work for the app's own admins and testers before approval.
You can use the cloud endpoint at mcp-ads.com or self-host with pip or Docker. HTTP mode has no authentication by design, and the server refuses to bind a public interface unless you explicitly opt in with the bind override in the README. Choose it if one connection for Meta, Google and analytics matters more than Meta-specific depth. It had 7 stars when we read it.
gomarble-ai: the simple read-only start
gomarble-ai/facebook-ads-mcp-server is MIT licensed with about 370 stars and 112 forks. It exposes 21 tools in four groups: account and object reads, collection fetches, insights, and activity history. It has no write tools, which makes it the lowest-risk way to try Claude on Meta data.
Setup needs Python 3.10 or newer and the packages in requirements.txt. You add it to Claude Desktop or Cursor with the python command, the path to server.py and a --fb-token argument. The token needs permissions such as ads_read. When the token expires, you generate a new one and update your client configuration. GoMarble says it does not store the token if you use its optional installer. The page showed 38 commits, and we could not see the last commit date, so check for recent activity.
For ideas on what to ask once it is connected, see our guide to analyzing Meta Ads performance with Claude.
attainmentlabs: small server with a budget cap
attainmentlabs/meta-ads-mcp is MIT licensed with 13 tools: campaign creation, account summary, listing campaigns, ad sets and ads, status checks, insights, image upload, daily budget updates, pause, activate, delete and bulk status updates. It had 20 stars when we read it.
You supply a long-lived token with ads_management that expires after 60 days, an ad account ID and a Page ID. Two optional variables help with safety: META_ADS_MAX_DAILY_BUDGET_CENTS sets a budget cap and META_ADS_AUDIT_LOG_PATH writes a JSONL audit log. Install with uvx or pip. It requires Python 3.10 or newer and a Meta Business Manager account with an ad account and a Facebook Page.
The README calls it an early independent open source server first published in February 2026. It says Meta later introduced official Ads AI Connectors and a hosted Ads MCP endpoint, and suggests using Meta's official connector for Meta-hosted OAuth and first-party support. Choose this project if you want something small enough to read in one sitting. Because it includes a delete tool, set the budget cap and keep an eye on the audit log.
Which server should you choose for which job?
Match the server to the job, then match the safeguards to the risk.
- You want changes made with approval and a budget mandate, and no infrastructure: Ryze AI, on the Paid Ads plan. Proposed fixes wait in Needs you, and Managed Campaigns act only inside the daily budget you set.
- You want to ask Claude questions about spend and creatives: gomarble-ai for a read-only start, or any server with writes switched off.
- You want hosted Claude access with the least setup among GitHub projects: Pipeboard, after you read its license.
- You want a self-hosted server with preview-before-apply: getmcpads-com.
- You want server-side budget limits and approvals you host yourself: black12-ag, accepting the AGPL license and the larger stack.
- You run many client accounts and want your own deployment: byadsco.
- You want the widest toolset in Python: jeffreywlai, with read-only set first.
- You work across Meta, Google and analytics: RoyAzran mcp-ads.
If your honest goal is to make campaign decisions faster and not to maintain a server, start with Ryze AI. The reason is documented: it connects through Meta's official API, routes proposed fixes to an approval queue and keeps Managed Campaigns inside your daily budget. You can read the Paid Ads pricing before you start. If you later need your own code, the GitHub projects above are the specialists for that job.
Sources
- pipeboard-co/meta-ads-mcp on GitHub
- jeffreywlai/meta-ads-mcp on GitHub
- getmcpads-com/meta-ads-mcp-server on GitHub
- hashcott/meta-ads-mcp-server on GitHub
- byadsco/meta-ads-mcp on GitHub
- black12-ag/meta-ads-mcp on GitHub
- RoyAzran/mcp-ads on GitHub
- gomarble-ai/facebook-ads-mcp-server on GitHub
- attainmentlabs/meta-ads-mcp on GitHub
- Ryze Help: Meta Ads
- Ryze Help: Managed Campaigns
- Ryze AI pricing
- Ryze Help: Billing FAQ







