MCP Ads
Integrates with Google services including GA4, Google Search Console, and Google Tag Manager for reading analytics data, site performance, and managing tags.
Provides access to Google Ads for reading campaign performance, auditing wasted spend, building reports, and creating campaigns (paused by default unless explicitly launched).
Allows reading from and writing to Google Sheets for reporting and marketing data workflows.
Integrates with Meta Ads and the Meta Ad Library, enabling campaign management, performance auditing, reporting, and ad library access.
Adds creative generation capabilities using OpenAI to generate ad copy and creative assets.
Provides integration with Snapchat Ads for managing campaigns, accounts, and performance via Snapchat's OAuth-based API.
Provides integration with TikTok Ads for campaign management, reporting, and advertising operations via the TikTok Business API.
Provides a broad WordPress integration with a large set of actions for managing sites and content.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Adsaudit my Google Ads account for wasted spend over the last 30 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Ads
The open-source marketing MCP server. Run Google Ads, Meta Ads, GA4, Search Console, Tag Manager, WordPress and more from Claude, ChatGPT, Cursor, or any MCP client — read performance, audit wasted spend, build reports, and launch campaigns (created paused until you say otherwise).
~3,100 registered actions across 12+ platforms, exposed through 17 category dispatchers so your agent loads ~20 tool definitions instead of thousands.
Choose your path
☁️ Cloud — connected in 2 minutes, free tier
Go to mcp-ads.com, sign in, OAuth your ad accounts in the browser, and paste one URL into Claude. Done.
No API applications, no developer tokens, no app reviews — the platform approvals (Google Ads developer token, Meta App Review, and the rest) are already in place
Free tier: 30 tool calls/month, every platform. Paid plans for unlimited use
Your credentials stored encrypted; revoke any time from the dashboard
This is the right choice for almost everyone who wants to use the tools rather than host them.
🔧 Self-hosted — free forever, your keys, your machine
Clone this repo and run it with your own platform credentials. MIT licensed, no strings, no phone-home. Your tokens never leave your machine.
The honest cost: several of the ad platforms make you apply for API access (see the table below). If you already have those credentials — you're an agency with a Google Ads developer token, a developer with a reviewed Meta app — self-hosting takes minutes. If you don't, budget days to weeks for the platforms' own approval queues, or just use the cloud.
Same code, same actions, either way. The hosted product is this exact server plus multi-user auth and the approvals already done.
Related MCP server: Google Ads - AdLoop
Self-hosted quick start
git clone https://github.com/RoyAzran/mcp-ads.git
cd mcp-ads
pip install -r requirements.txt
cp .env.example .env # fill in the platforms you use
python server.py doctor # shows what's connectedThen add it to Claude Desktop (claude_desktop_config.json) or
Claude Code (.mcp.json):
{
"mcpServers": {
"mcp-ads": {
"command": "python",
"args": ["/absolute/path/to/mcp-ads/server.py"]
}
}
}That's the whole install. Ask your agent "audit my Google Ads wasted spend" and watch it go.
Docker instead:
cp .env.example .env
docker compose up -d # HTTP server on 127.0.0.1:8000, MCP endpoint at /mcpHTTP mode without Docker: python server.py serve --transport http
OAuth helper for the bearer-token platforms (opens a browser, stores and auto-refreshes the token):
python server.py auth snapchat_adsWhat works out of the box, honestly
Self-hosting means holding your own keys to each platform. Some hand them over in minutes; some make you apply. This is the real picture:
Platform | Actions | What you need | Realistic effort |
GA4 | 95 | Google OAuth client + refresh token | Minutes–hours |
Search Console | 23 | Same Google token | Minutes |
Tag Manager | 64 | Same Google token | Minutes |
Google Sheets | 69 | Same Google token | Minutes |
WordPress | ~1,800 | Site URL + Application Password | Minutes |
Google Ads | ~755 | Above plus a developer token (Google reviews the application) | 1–3 weeks |
Meta Ads | 234 | A Meta app; | Days for yourself, weeks for App Review |
Snapchat Ads | 12 | Self-serve OAuth app in Business Manager | Hours |
Microsoft Ads | 11 | Entra OAuth app + developer token (sandbox instant, production reviewed) | Hours–days |
TikTok Ads | 35 | Business API app review | Weeks |
LinkedIn Ads | 26 | Marketing Developer Platform approval — routinely refused to individuals | Often unobtainable |
Meta Ad Library | 7 | Token from a Meta-ID-verified identity | Days |
Ads Transparency | 7 | Nothing — but read the note below | Off by default |
Creative generation | 7 | Your OpenAI API key | Minutes |
If that table makes you tired, that's exactly what the cloud version is for — the approvals are done, you just connect your accounts.
How the tool surface works
Your agent sees one dispatcher per platform plus list_actions:
1. list_actions(category="meta_ads_action", search="budget")
2. meta_ads_action(action="<name from step 1>", params={...})Write actions create everything paused unless explicitly told to launch
Role gating (
permissions.py) separates read from write tools by name--surface fullregisters every action as its own MCP tool instead — useful for programmatic clients, far too many tools for a chat client
The NPX CLI
No Python on the client machine? The CLI is a ~300-line stdio proxy
(cli/) that forwards to any MCP Ads server:
# against your self-hosted server
MCP_ADS_BASE_URL=http://127.0.0.1:8000 npx -y @marketingmcp/cli
# against the cloud (API key from mcp-ads.com/manage)
MCP_ADS_API_KEY=mcp_live_xxx npx -y @marketingmcp/cliA note on Google Ads Transparency
tools/google_ads_transparency.py reads Google's public Ads Transparency
Center by calling the endpoints the website itself uses. Google documents no
API for this data; the endpoints can change or start refusing without notice,
and automated access to them is not something Google has blessed. The family
is off by default — set GOOGLE_ADS_TRANSPARENCY_ENABLED=true only after
reading that module's docstring. The Meta Ad Library tools use Meta's
official API and carry no such caveat.
Security posture
Credentials come from your
.envand an optional Fernet-encrypted local store (MCP_ADS_SECRET_KEY). Nothing phones home: telemetry is entirely opt-in and off unless you configure your own analytics project.HTTP mode is unauthenticated by design (it's you, on loopback). The server refuses to bind a public interface unless you set
MCP_ADS_ALLOW_PUBLIC_BIND=true, because it holds credentials that can spend real money.CI runs a boundary gate (
tests/test_no_private_imports.py) that fails on anything shaped like a secret entering the tree.
See SECURITY.md for reporting.
Contributing
Issues and PRs welcome — see CONTRIBUTING.md. The check
scripts in scripts/ are the review bar: each one pins a failure that
actually happened in production, and
python scripts/check_tools_execute.py before a PR catches most of what
review would.
One thing we can't help with: obtaining platform API access. Those approval queues belong to Google, Meta, LinkedIn, TikTok and Microsoft.
License
MIT.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceUnified MCP server for managing Meta Ads, LinkedIn Ads, Google Ads, GA4, and Search Console with 89 read/write tools, multi-account support, OAuth setup, and safe dry-run mutations.MIT
- AlicenseAqualityAmaintenanceAn MCP server that gives your AI assistant read + write access to Google Ads and GA4 — with safety guardrails that prevent accidental spend.67238MIT
- FlicenseNot gradedqualityCmaintenanceHosted MCP server that gives AI agents read and write access to your full marketing & ecommerce stack — Google Analytics, Search Console, Google & Meta Ads, Shopify, WooCommerce, Shopware, Slack and LinkedIn. 100+ tools across 10 connectors. BYOK, OAuth 2.1.
- AlicenseNot gradedqualityDmaintenanceEnables reading and mutating Google Ads campaigns via MCP tools, and includes structured marketer workflows for search term mining, budget optimization, and weekly reviews.514MIT
Related MCP Connectors
AI marketing agent for Google Ads, Meta, GA4, TikTok, LinkedIn, Shopify, HubSpot and more.
Run ads on Google, Meta, LinkedIn, TikTok and more from AI. 430+ tools across 13 platforms.
Paid remote MCP for AI Studio Workspace approval gate MCP, structured receipts, audit logs, and revi
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RoyAzran/mcp-ads'
If you have feedback or need assistance with the MCP directory API, please join our Discord server