Listed from the MCP registry; nobody on Odel publishes it.
Checks your Google Ads accounts (168 checks) and changes them only after you approve. Self-hosted.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y perfoads-mcp
MCP client config
{
"mcpServers": {
"perfoads-mcp": {
"command": "npx",
"args": [
"-y",
"perfoads-mcp"
]
}
}
}A self-hosted MCP server that works with Google Ads. It lets an AI assistant (Claude Desktop, Claude Code, Cursor and other MCP apps) read your Google Ads accounts, run 168 deterministic account checks, and change things only with your approval and within limits you set in a policy file.
PerfoAds MCP works with Google Ads. It is not made, endorsed or supported by Google (not a Google product). It works with the Google Ads API through your own Google Cloud project and your own sign-in; nothing goes through anyone else's servers.
Package and CLI: perfoads-mcp. License: Apache-2.0. Status: early alpha. On npm: perfoads-mcp (0.2.0-alpha.2).
The checks say what is wrong: the evidence, how serious it is and the real spend behind it. They do not say how to fix it. Want fixes, not just findings? PerfoAds adds fix plans; Paweł Wilk offers a free 1-hour call - perfoads.com
No change can be applied through MCP without a human approving it outside the model. On hosts where the agent also has a shell or controls the browser (Claude Code, Cursor, browser-control tools) this holds only with the hardened setup (server + store under a separate OS user or in a container, approval_mode: code_only and open_browser: false), and only if you do the human steps (your password, approving, policy edits) from a session the AI can't change: another account's login session, SSH from another device, or with the AI agent sandboxed. An AI with a shell on your user can change your shell startup files, fake sudo and capture what you type.
The one exception is one you make yourself: the auto tier in your policy file (off unless you set it, and only for pausing a campaign or lowering a budget).
What this means in practice:
accounts.write.Read docs/THREAT-MODEL.md for what this protects against and what it does not.
node:sqlite).Step by step: docs/SETUP.md.
npx perfoads-mcp@0.2.0-alpha.2 init
Always name the exact version (@0.2.0-alpha.2, not @latest or none), so npm can't hand you a different release. init asks for your OAuth client id and secret, opens Google's sign-in in your browser, saves the sign-in encrypted, writes a read-only starter policy, runs doctor, and prints the config for your AI app.
Or build from source:
git clone https://github.com/vilovibe/perfoads-mcp.git
cd perfoads-mcp
pnpm install --frozen-lockfile && pnpm build
node packages/cli/bin/perfoads-mcp.js init
init then prints your AI app's config for that copy (full path to node and to packages/cli/bin/perfoads-mcp.js). Wherever these docs say npx perfoads-mcp@<version> <command>, run that node command instead.
The AI app config (init prints it with your version filled in; for a source build it prints the node form):
Claude Desktop (Settings > Developer > Edit Config, claude_desktop_config.json), Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"perfoads-mcp": {
"command": "npx",
"args": ["-y", "perfoads-mcp@<version>", "serve"]
}
}
}
Claude Code:
claude mcp add --scope user perfoads-mcp -- npx -y perfoads-mcp@<version> serve
Or as a Claude Code plugin (it pins the release version; claude-plugin/):
/plugin install perfoads --marketplace vilovibe/perfoads-mcp
ChatGPT desktop app and Codex: they run local MCP servers too; see docs/SETUP.md.
More: examples/ (Claude Desktop, Claude Code, Cursor, a starter policy). A Claude Desktop extension (.mcpb) can be built with node scripts/build-mcpb.mjs; run init in a terminal first, the extension uses the same settings folder.
Then ask your AI app: "run doctor", "list my Google Ads accounts", "audit account 123-456-7890".
What to ask your AI, step by step: docs/USING.md. Full list with every input: docs/TOOLS.md (generated from the server).
doctor (checks the setup and says what to fix), list_accounts (incl. accounts under manager accounts).get_account_overview, get_campaigns, get_ad_groups, get_keywords, get_search_terms, get_budgets_and_bidding, get_negatives, get_ads_and_assets, get_audiences, get_conversions, get_change_history, keyword_ideas, describe_resource, and query_gaql (one read-only GAQL SELECT). Summary first, then one page of rows and a cursor. Money is a decimal string in the account currency.build_snapshot reads what the checks need into a local snapshot, run_checks runs them (findings with evidence; "not run" with the reason, never "clean" when data was missing), explain_check. Prompt weekly_audit. Catalog: docs/CHECKS.md.propose_change, apply_change, undo_change, get_change, list_changes, resolve_change. Types: budgets, campaign status, bidding targets, negatives (campaign and shared lists), keywords, pausing keywords, responsive search ad text, sitelinks, callouts, audience exclusions, and creating a new Search campaign from plain fields (always made paused; undo only while it never ran).Text that comes from Google or the AI (names, search terms, ad texts, errors) is wrapped as {"untrusted": "..."} so the AI treats it as data, not instructions.
open_browser: false, you open it yourself with approvals open <id> in a terminal. You approve with its code, or reject.stale). An unclear answer from Google is never re-sent: it is re-checked by reading the account.verified), or says loudly that it did not.changes://log); undo_change proposes the reverse as a new change, with its own approval.Approval paths and approval_mode: see docs/HARDENED-SETUP.md.
policy.yaml in the settings folder decides which accounts the AI may read and change and how far: per-account spend limits in the account's currency, budget and target step limits, writes per minute and day, tiers per change type (auto, confirm, blocked), brand terms that are never negated (brand names and product names that work as brand names, such as a hero product people search by its own name), a Google Ads operations reserve for changes, and a kill switch. It is re-read on every check, and no tool can edit it.
npx perfoads-mcp@<version> policy check # is it valid, and what does it allow?
npx perfoads-mcp@<version> policy show # what the server uses now
Every key, range and default, with examples: docs/POLICY.md. Starter file: examples/policy.example.yaml.
Everything lives in one settings folder, never in your project: ~/.config/perfoads-mcp (or $XDG_CONFIG_HOME/perfoads-mcp), %APPDATA%\perfoads-mcp on Windows. Change it with PERFOADS_MCP_HOME, but keep it outside any folder the AI works in (doctor checks).
store.sqlite - your OAuth client id, client secret and refresh token (each encrypted, AES-256-GCM), the list of your accounts, proposed and applied changes, approval sessions (codes only as hashes), the audit log, Google Ads operations used, and every policy version loaded.snapshots/ - account snapshots for the checks (gzipped JSON, owner-only, kept 24 hours, at most 20). They hold account data such as campaign names and search terms.policy.yaml - your change policy. config.json - optional approval_mode, open_browser, retention_days and pro_plugin (an absolute path to a separately installed plugin package, loaded at start; a plugin runs as code with the server's rights, so set it only for a package you trust; it is refused when anyone but the user running the server, or root, can change its files or a folder above them; its text comes back wrapped as untrusted; doctor shows whether it loaded and why not)."retention_days" in config.json, 30 to 3650): when the server starts, changes in a final state (verified, failed, rejected, expired, stale, settled, abandoned), finished approval sessions, policy versions nothing still refers to, and the oldest audit log entries, all older than that, are deleted. Unfinished changes (proposed, approved, applying, in doubt, applied but not yet checked) and anything they need are never deleted. Before deleting, the server writes a retention_pruned entry to the audit log with what it removes and a checkpoint (the number and hash of the last entry removed), so the rest of the log still verifies. Snapshot temp files from interrupted saves go after 1 hour.secret-tool), or a key file (key) in the settings folder (always the key file on Windows).policy.yaml are created 0600 and snapshot folders 0700 (a config.json you write yourself keeps the mode you give it). On Windows file modes do nothing, so each time the store opens the server sets an ACL on the whole settings folder with %SystemRoot%\System32\icacls.exe: inheritance from the parent removed, full control for your Windows user only, applied to everything already in it and inherited by everything created later (store, key file, snapshots, policy.yaml, config.json); the key file, snapshot folders and files and the starter policy get it again when they are written. doctor warns on Windows when the settings folder is outside %APPDATA%, and fails (with the fix) when icacls could not make it owner-only.Tokens are encrypted at rest and never written to logs or shown in tool results. Encryption protects a copy of the folder (a backup, a synced folder). It does not protect against programs running as your own OS user: the Keychain entry, the keyring entry and the key file can be read by any process of the same user without a prompt, including an AI agent with a terminal. The hardened setup closes that, within its stated limits (human steps from a session the AI can't change).
Disconnect and delete: npx perfoads-mcp@<version> reset asks Google to revoke the saved sign-in (best effort; it says whether Google confirmed), then deletes the sign-in and its key (it asks first). Delete the settings folder to remove everything else. If reset says Google did not confirm, remove the app's access at myaccount.google.com/permissions.
Nothing is sent anywhere except to Google's APIs. No telemetry.
perfoads-mcp init guided setup
perfoads-mcp auth sign in again (uses the saved OAuth client)
perfoads-mcp doctor check the setup
perfoads-mcp reset delete the saved sign-in and its key (asks first)
perfoads-mcp serve run the MCP server over stdio (AI apps start this)
perfoads-mcp approve <change_id> approve with the code from the approval page (terminal only)
perfoads-mcp reject <change_id> reject a proposed change (terminal only)
perfoads-mcp approvals open <id> show a change's approval page from this terminal
perfoads-mcp policy check [file] check a policy file and say what it allows
perfoads-mcp policy show the change policy the server uses now
Use npx perfoads-mcp@<version> <command> (or the command init printed) if it is not installed globally.
approve and approvals open are a convenience, not a guard). An AI that controls your browser can read the approval page, code included. Until you open it, the page link is visible for a moment in the browser opener's command line (ps) and stays in browser history; it stops working after the first open.keyword_ideas needs Basic or Standard). The server keeps a share of each day's operations for approved changes.init and doctor warn; publish the app to production to avoid it (docs/SETUP.md).in_doubt until the new value shows, you settle them (resolve_change), or 30 days pass.PerfoAds MCP runs on your computer. Your Google Ads data goes only between your computer and Google; nothing is sent to PerfoAds, and there is no telemetry. What is stored locally, for how long, and how to delete it: What is stored, and how to delete it. Full policy: https://perfoads.com/privacypolicy
Terms of service: https://perfoads.com/termsofservice (the PerfoAds MCP section: free, as is, no warranty, Apache-2.0, your own Google account and costs, you approve every change).
Contact: contact@perfoads.com for privacy and security questions (security reports: see SECURITY.md). Bugs and support: https://github.com/vilovibe/perfoads-mcp/issues
.mcpb.Packages: ads-client, reads, snapshot, checks, changes, policy, store, mcp-server, cli (see packages/). Contributing: CONTRIBUTING.md.
Apache License 2.0. See LICENSE and NOTICE.
Google Ads is a trademark of Google LLC.