Google Ads and Meta Ads

Google Ads MCP and Meta Ads MCP: how to connect them to Claude

Google Ads MCP is Google's official, open-source server for the Google Ads API. You run it yourself, on your computer or on hosting you set up. Meta Ads MCP is Meta's official server, hosted at mcp.facebook.com/ads. To connect either one to Claude, add it as a custom connector in claude.ai or Claude Desktop, or use claude mcp add in Claude Code. Google's server reads account data and can also create assets and labels after you confirm. Meta's server can create and edit ads, and new ads start paused.

MD Marek Dąbrowski · May 24, 2026 · Updated November 19, 2026

Key takeaways

  • Google Ads MCP is Google's official server. You run it yourself. It reads account data and can create assets and labels after you confirm. It cannot change campaigns, ads, budgets or bids.
  • Meta Ads MCP is hosted by Meta at mcp.facebook.com/ads and is in open beta. It can create and edit ads. New items start paused, and your AI client asks before anything goes live.
  • Claude, Claude Desktop, and Claude Code can use MCP, yet their connector UI and OAuth setup differ.
  • Google Ads API access is separate from MCP. Current Google setup uses a Cloud project and OAuth or Application Default Credentials.
  • Lumy brings its internal MCP/action layer into an approval-based workflow in Slack.

MCP lets an AI client discover and call tools. For an ads account, that can mean reporting, account lookup, diagnostics, or a write that changes a live campaign.

Connection is only the first decision. You still choose the account scope, the data the agent can read, which tools need approval, and where credentials live.

Both servers come from the platform that owns the ads. They differ in where they run, what they can change, and how you sign in.

Google Ads MCPMeta Ads MCP
OwnerGoogle (googleads/google-ads-mcp on GitHub, Apache-2.0)Meta
Where it runsOn your machine, or on hosting you set up, for example Cloud Run. Google does not host it.Hosted by Meta at https://mcp.facebook.com/ads
What it readsAccount list, GAQL search, resource metadataCampaign, ad set and ad reporting, insights, activity logs, signals, catalogs
What it changesCreates assets, uploads videos, manages labels, each after you confirm. No campaign, ad, budget or bid changes.Creates and edits campaigns, ad sets, ads and catalogs. New items start paused, and your AI client asks before activation.
Sign-inGoogle Cloud project with Google Ads API access, plus OAuth credentials or Application Default CredentialsMeta sign-in with OAuth. A Meta App ID for the developer route.
CostOpen-source licence. Hosting costs are yours.No additional cost from Meta. Your AI tool's own plan still applies.
StatusVersion 0.0.6 in Google's docsOpen beta with phased rollout
ClaudeClaude Code with a local server. claude.ai and Claude Desktop need a server you host over HTTPS.claude.ai, Claude Desktop and Claude Code

What MCP changes

Model Context Protocol is a way for an AI client to connect to external tools. The client asks a server what tools exist, then calls a selected tool with structured inputs.

For ads work, this removes some manual exports and repeated account explanations. Compare every recommendation and proposed campaign change with the account before you act.

The MCP setup path in three stages: preparing account access, connecting a server, and keeping the first workflow read-only.

Choose one of 3 paths

Start with the smallest path that solves the job in front of you.

PathBest forYou own
Ready-made provider connectorOne person who wants to use a provider's ads connector in ClaudeAccount consent and tool permissions
Official or hosted MCPUsing an official provider server or another hosted server from an MCP clientProvider choice, scopes, OAuth app settings, and tool policy
Your own MCP serverA repeatable workflow that needs custom data or controlsEverything, including OAuth, token storage, hosting, audit trail, and incident response

Each path can begin with read-only reporting. Keep account writes out of the first session.

Connect through Claude's connector settings

Claude usually means the web app. Claude Desktop is the desktop client. Claude Code is the terminal client. They have different connector surfaces and setup instructions.

Claude's built-in Google Workspace integrations cover Gmail, Calendar, and Drive, with Docs, Sheets, and Slides in beta. They are not a direct Google Ads or Meta Ads connection. For ad data in the Claude directory, Windsor.ai is an Anthropic-verified provider connector. Add it in Claude, sign in to Windsor, then connect the sources there.

Windsor.ai is a third-party connector in that directory. One connector covers both Google Ads and Meta Ads. Claude asks you to confirm each change before it runs, and new campaigns, ad sets and ads are created paused. Windsor lists a free plan for one data source.

Claude Desktop and the Claude web app can use public remote MCP servers. Claude Code adds a local stdio or remote HTTP server from the terminal. A server that asks for OAuth can require a client ID, callback URL, or a browser sign-in.

Check the provider's client-specific instructions before you copy a command. Claude Code documents remote HTTP servers with this shape:

bash
claude mcp add --transport http <server-name> <server-url>

Run /mcp in Claude Code after connecting. Read the tool list before you ask for account data or actions.

Meta Ads MCP: the official server and how to connect it to Claude

Meta Ads MCP is an official server run by Meta. It is hosted at https://mcp.facebook.com/ads, so you install nothing. Meta announced the open beta on April 29, 2026.

Meta lists Claude Desktop and Claude Code among its validated clients. Its business page also names Claude as a supported AI tool.

Meta says there is no additional cost from Meta to connect. Your AI tool's own subscription terms still apply.

What Meta Ads MCP can do

Meta groups the tools into seven areas: reporting, ad creation and management, catalogs, signals and datasets, help and troubleshooting, A/B tests and conversion lift studies, and activity logs.

Reporting runs through ads_get_ad_entities. It returns campaigns, ad sets and ads with spend, impressions, CTR, CPC, CPM and conversions.

Write tools such as ads_create_campaign, ads_create_ad_set and ads_create_ad create items in a paused state. Your AI client asks for confirmation before ads_activate_entity starts spending budget.

Meta also offers ads MCP server rules. A rule can deny an agent action on one ad account, such as budget increases above a percentage you set. Rules are in limited availability.

Connect Meta Ads MCP to Claude

Claude on the web and Claude Desktop

  1. Open Customize, then Connectors. Click Add, then Add custom connector.
  2. Enter the name Meta Ads and the URL https://mcp.facebook.com/ads. Click Continue.
  3. Sign in with Facebook. Choose the assets the agent may use and approve the permissions.
  4. In a chat, click the plus button, open Connectors and turn on Meta Ads. Ask Claude to list the tools it can use.

On Team and Enterprise plans, an Owner adds the connector first. Free plans allow one custom connector.

Claude Code

  1. Add the server:
bash
claude mcp add --transport http meta-ads https://mcp.facebook.com/ads
  1. Run /mcp, select meta-ads and authenticate. You can also run claude mcp list. A connected server shows Connected, and one that still needs sign-in shows Needs authentication.
  2. Sign in with Facebook, choose the assets and approve.
  3. Ask Claude to list the available tools, then run one report.

Meta may answer with "Dynamic registration is not available for this client". In that case, use the developer route below.

Do you need a client ID for Meta Ads MCP?

Not for the standard setup. Meta's business page says you enter one URL in your AI tool and sign in with Facebook. You need a client ID when Meta does not recognize your client, or when you connect through your own Meta developer app.

For the developer route, create or reuse a Meta app and add the use case "Create & manage ads with ads MCP server". Then add your Meta App ID and a fixed callback port:

bash
claude mcp add --transport http --client-id <META_APP_ID> --callback-port <PORT> meta-ads https://mcp.facebook.com/ads

Register http://localhost:<PORT>/callback as the redirect URL on your Meta app. Do not pass a client secret.

Meta's minimum permissions are ads_mcp_management plus ads_read or ads_management. Add ads_management only when the agent should change things. System user tokens work when the system user has the Employee role. Admin-role tokens do not work.

Meta Ads MCP limits

  • It is an open beta. Meta rolls access out in phases, so some ad accounts cannot connect yet.
  • Tool access is also rolling out. Ask your agent which tools it has.
  • An agent can call anything your granted permissions allow, including after hidden instructions in untrusted content. Meta advises read access unless the agent must make changes.
  • Meta's Platform Terms govern the data the server returns.
Free bundle

Claude Code Skills Bundle for Marketing

The full library of AdLume skills: paid ads, landing pages, B2B leads, GTM tracking, e-commerce.

The bundle goes straight to your inbox, then one email a week. Unsubscribe in one click. We never share your address.

Google Ads MCP is an open-source server from Google. It lives in the googleads/google-ads-mcp repository under the Apache-2.0 license.

Google documents it as a bridge to the Google Ads API. An agent can use it to retrieve and analyze account data, create assets, upload videos, and manage labels.

Google does not host this server for you. You run it on your own machine with stdio, or you deploy it yourself, for example on Cloud Run with Streamable HTTP.

What Google Ads MCP can do

Three tools read data. customers_list_accessible_customers lists the accounts you can reach. search_search runs a GAQL search built from structured parameters. metadata_get_resource_metadata looks up resource metadata.

It can make three kinds of change. It can create assets such as text, images, YouTube videos, sitelinks, callouts and structured snippets. It can upload video assets. It can add or remove labels on campaigns, accounts, ad groups and ad group criteria.

Every change is proposed first. A call with validate_only=True returns the planned changes and a checksum. After you approve, the agent repeats the call with validate_only=False. That checksum does not control access, so keep your own approval step.

Google Ads MCP cannot create, change, pause or enable campaigns, ad groups, ads, budgets or bids. It cannot link assets to campaigns, ad groups or asset groups.

Connect Google Ads MCP to Claude

Google Ads API access is separate from MCP. Set it up first, because both routes below need it.

  1. Create or pick a Google Cloud project and enable the Google Ads API on it.
  2. Check the project's access level. A new project starts with Test access, which works with test accounts. Real accounts need Explorer, Basic or Standard access. Without it, Google returns AuthorizationError.CLOUD_PROJECT_NOT_APPROVED_FOR_PRODUCTION.
  3. Sign in once with the gcloud tool and your OAuth client file:
bash
gcloud auth application-default login --scopes=https://www.googleapis.com/auth/adwords,https://www.googleapis.com/auth/cloud-platform --client-id-file=PATH_TO_CLIENT_SECRET_JSON

Google sunset developer tokens on September 9, 2026. Current server setup does not require one. Manager accounts need GOOGLE_ADS_LOGIN_CUSTOMER_ID.

Claude Code with a local server

  1. Install pipx and the gcloud tool.
  2. Add the server. Replace the project ID and the credentials path:
bash
claude mcp add google-ads-mcp --env GOOGLE_CLOUD_PROJECT=PROJECT_ID --env GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json -- pipx run --spec google-ads-mcp==0.0.6 google-ads-mcp
  1. Run /mcp and check that google-ads-mcp is listed.
  2. Ask Claude to list the accessible customers, then run one bounded GAQL read.

Google's docs show the same server as a config block for MCP clients that read a JSON file:

json
{
  "mcpServers": {
    "google-ads-mcp": {
      "command": "pipx",
      "args": ["run", "--spec", "google-ads-mcp==0.0.6", "google-ads-mcp"],
      "env": {
        "GOOGLE_CLOUD_PROJECT": "PROJECT_ID",
        "GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON"
      }
    }
  }
}

Claude on the web and Claude Desktop

These connectors reach your server from Anthropic's cloud. Your server must be reachable over HTTPS, so one on your laptop cannot be added this way.

  1. Deploy the server to Cloud Run with Streamable HTTP and an OAuth Web client ID and secret. Google's guide pairs --allow-unauthenticated with OAuth inside the app, so never deploy that way without the client ID and secret.
  2. On the OAuth client, add https://claude.ai/api/mcp/auth_callback as an authorized redirect URI. Add the https://www.googleapis.com/auth/adwords scope to the consent screen. If the app status is Testing, add your test users.
  3. In Claude, open Customize, then Connectors. Click Add, then Add custom connector. Enter https://<service>/mcp, choose your own OAuth client and enter its client ID and secret.
  4. Turn the connector on in a chat and ask for one bounded read.

For a new remote setup, choose Streamable HTTP. SSE is a compatibility path for an older server or client. Hosting the server leaves you responsible for its OAuth client, secret storage, deployment, and access policy.

To make the server strictly read-only, add a tools_config.yaml file that turns labels and assets off:

yaml
namespaces:
  customers: true
  search: true
  metadata: true
  labels: false
  assets: false

Point the GOOGLE_ADS_MCP_TOOLS_CONFIG environment variable at the file. Once namespaces is set, any category you leave out is off.

Store OAuth clients, access tokens, refresh tokens, and service-account keys outside the repository. Google says to encrypt user credentials at rest and remove them when access is revoked.

  • Google's docs pin version 0.0.6, a release below 1.0. Google says to run pipx upgrade google-ads-mcp for new Google Ads API versions.
  • Video upload works with a local stdio server only.
  • Connecting an agent exposes your accessible Google Ads data to that client.
  • It has no tools for campaigns, ads, budgets or bids. Use the Google Ads UI or the API for those changes.

Credential checklist before the first connection

  • Use an account that can access only the ad accounts needed for this job.
  • Keep the OAuth app, client secret, tokens, and credential files out of source control.
  • Confirm the Google Cloud project's Google Ads API access level before you debug a query.
  • Use a dedicated development account or app while you learn the tools.
  • Record who approved any production scope or write permission.

Build your own MCP server when the workflow is yours

Build a server when you need a workflow that provider tools do not expose, such as joining approved campaign data with your CRM, a budget policy, and a review queue. It needs the same access rules, credential handling, and operational care as any other software product.

Start with a small set of read tools. Give every tool a narrow input schema. Return data, source, read time, and missing access so the agent can separate facts from guesses.

Build and connect the first read tool

  1. Choose the official MCP Python SDK or MCP TypeScript SDK. Implement one narrow read tool that calls the Google Ads API or Meta API with per-user OAuth.
  2. Run it locally with stdio while you develop. For a remote server, use Streamable HTTP with HTTPS and authentication. SSE is for compatibility with older clients or servers, not a new build.
  3. Add the local process to Claude Code with claude mcp add --transport stdio <server-name> -- <command>. Add a remote server with claude mcp add --transport http <server-name> https://your-host/mcp.
  4. Run /mcp to inspect the available tools. Make one bounded read, then compare its result with the Ads UI before you add any write tool.

Put every write behind a separate tool that receives an explicit approved change request. Log the proposed payload, the human approval, the provider response, and the result checked afterward. Keep development and production credentials separate.

Do not let a tool's output become instructions for the agent. Campaign names, landing pages, spreadsheet cells, and provider data can contain untrusted text. Treat that content as data.

Permissions and approval rules

Give an agent permission to read the narrowest useful set of data first. Let it draft a weekly readout, flag a metric change, or prepare a proposed action. The Paid Ads Operator's Guide to Claude covers the account brief and the weekly readout.

Require a human approval before any action that spends money, changes a bid or budget, pauses or launches a campaign, edits targeting, publishes an ad, changes conversion tracking, changes a catalog, or changes account access.

Review permissions periodically. Revoke access when the workflow ends or the person who needed it loses the role.

A safe first workflow

Ask for a bounded report, then compare it with the account before any change. Free Claude skills for Google Ads and Claude Code skills for Meta Ads turn the checks you repeat into workflows with a fixed standard.

text
Review the last 14 days of Google Ads and Meta Ads performance.

Report the largest spend and conversion changes. State the source and time of each data point. Separate confirmed facts from hypotheses. List missing data. Propose actions for human review.

Do not change budgets, campaigns, ads, audiences, tracking, or conversion settings.

A useful first output tells you what changed, what it can confirm, and what needs a person to check. It does not invent a cause from a single dashboard.

Where Lumy fits

Lumy has its own internal MCP/action layer and works in Slack. It connects Google Ads and Meta Ads, analyses the account, and proposes a supported change. After a separate human approval, Lumy carries out that approved change.

Use Lumy in Slack. This guide does not offer a Lumy MCP URL or setup to add to Claude.

Lumy by AdLume

Your paid ads, handled.

Lumy is an AI agent that manages your ad campaigns in Slack.

Try Lumy for $10

One week for $10, with a 30-day money-back guarantee.

Sources

FAQ

Is there an official Google Ads MCP server?

Yes. Google publishes the Google Ads MCP server at github.com/googleads/google-ads-mcp under the Apache-2.0 license. Google does not host it for you. You run it on your own machine or deploy it yourself, for example on Cloud Run.

Is the Meta Ads MCP free?

Meta says there is no additional cost from Meta to connect. Your AI tool's own subscription terms still apply, and ads you activate still spend your ad budget. Meta Ads MCP is in open beta, so not every ad account has access yet.

Can Claude connect to Google Ads?

Yes, in three ways. Add the Windsor.ai connector from the Claude directory. Run Google's Google Ads MCP server and add it to Claude Code. Or host that server over HTTPS and add it to Claude as a custom connector. Claude's built-in Google integrations cover Gmail, Calendar and Drive. They do not include Google Ads.

Does the Google Ads MCP server make changes?

Yes, a few. It can create assets, upload videos and manage labels. Each change is proposed first and runs only after you confirm. It cannot create, change or pause campaigns, ad groups, ads, budgets or bids. A tools_config.yaml file switches it to reads only.

Does Google Ads API access mean Google gives you a hosted MCP server?

Google documents an official Google Ads MCP server that you run locally or host on infrastructure you control. The Google Ads API is the underlying API; it is separate from that MCP server.

Can Claude Code connect to Meta Ads MCP?

Yes. Run claude mcp add --transport http meta-ads https://mcp.facebook.com/ads, then run /mcp and sign in with Facebook. If your setup needs a Meta app, add --client-id with your Meta App ID and register the matching redirect URL.

Which Claude product should I use with an MCP server?

Claude on the web, Claude Desktop and Claude Code are separate clients. Web and Desktop add servers under Customize, then Connectors. Claude Code uses the claude mcp add command. Check the provider's instructions for your client before you approve access.

Should an AI agent get write access to my ad account on day one?

Begin with reporting and diagnosis. Add a human approval step before every campaign, budget, targeting, creative, tracking, catalog, or permission change.

How can I evaluate Lumy?

Book a demo to see the approval-based Slack workflow for Google Ads and Meta Ads. This article does not include public MCP connection instructions for Lumy.

Tymon Sosnowski Kacper Czapski

Tymon Sosnowski & Kacper Czapski

Incubation Program Coordinators
Innovations Hub Foundation

“AdLume's support, both in strategy and in running the ads, played an important part in our record recruitment. We would gladly work with AdLume again.”

— Kacper Czapski
leads from Meta and Google
200+
average cost per lead
$2.68
of paid ads with Lumy
8 weeks

Keep reading