Installation guide
How to install Google Ads MCP Server
In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.
This is a local install. You run Google's open-source `google-ads-mcp` server on your own machine, and your AI tool starts it over stdio using `pipx`. Authentication uses Google Application Default Credentials (ADC) with the Google Ads API scope, plus a Google Ads API developer token. An optional second mode runs the server over streamable HTTP with an OAuth proxy, for local containers or shared setups.
Have a person who already has access to the Google Ads accounts do this, ideally the account owner or an agency developer working from a manager (MCC) account. They need a Google Cloud project and a developer token requested from the manager account. The README describes mutate tools (assets and labels) as well as read tools. For a strictly read-only setup, disable those in `tools_config.yaml` before first use.

Before you start
- A Google Ads API developer token, requested from a Google Ads manager account. Take the exact way to supply it from the project
README, because the documentation excerpt we reviewed does not name the setting. - Python 3.11 or later and
pipxinstalled on the machine that will run the server. - A Google Cloud project with the Google Ads API enabled, and its project ID for
GOOGLE_CLOUD_PROJECT. - Application Default Credentials for a user or service account with access to the target accounts, including the
https://www.googleapis.com/auth/adwordsscope. ThegcloudCLI is used to create them. - The customer ID of each account to query, and the manager account ID if you work through an MCC.
- How it runs
- Local, runs on your machine
- Access
- Read-only
- Server address
- Copy it from the vendor documentation
Google Ads MCP Server in Claude
- Create ADC first: run
gcloud auth application-default login --scopes=https://www.googleapis.com/auth/adwords,https://www.googleapis.com/auth/cloud-platform --client-id-file=YOUR_CLIENT_JSON_FILE, then note the path printed afterCredentials saved to file:. - Open the Claude Desktop config file (
claude_desktop_config.json) through the app's developer settings, and add themcpServersentry shown below. - Replace
PATH_TO_CREDENTIALS_JSONandYOUR_PROJECT_ID. If you use a manager account, addGOOGLE_ADS_LOGIN_CUSTOMER_IDtoenv. Add the developer token as described in the projectREADME. - Save the file and fully restart Claude Desktop so it spawns the server.
- The server runs on your computer, so it fits the Claude Desktop app. The Claude.ai web custom connector needs a URL reachable from the internet, and the docs do not cover that route for this server.
{
"mcpServers": {
"google-ads-mcp": {
"command": "pipx",
"args": [
"run",
"--spec",
"git+https://github.com/googleads/google-ads-mcp.git",
"google-ads-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
"GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID"
}
}
}
}
Google Ads MCP Server in ChatGPT
- The documentation does not cover ChatGPT. ChatGPT connectors (Developer mode, custom MCP) need a server URL that ChatGPT can reach over the internet.
- This server runs locally by default, and its Mode B endpoint is
http://localhost:8080/mcp, which ChatGPT cannot reach from its own side. - To use ChatGPT you would have to host the server at a public
HTTPSaddress yourself, for example with the Cloud Run deployment theREADMEdescribes. Take the exact deployment steps from theREADME. - If you do that, enable Developer mode in ChatGPT settings, add a custom connector, and paste your public MCP URL.
- For most teams, a desktop or terminal client (Claude Desktop, Cursor, Claude Code) is the simpler route for this server.
Google Ads MCP Server in Gemini
- Create ADC with
gcloud auth application-default loginincluding thehttps://www.googleapis.com/auth/adwordsscope, and note the credentials file path. - The docs do not name Gemini CLI, but they say the
mcpServersJSONformat works across standard MCP clients. Open your Gemini CLI settings file. - Add the
mcpServersentry below, replacingPATH_TO_CREDENTIALS_JSONandYOUR_PROJECT_ID. - Add
GOOGLE_ADS_LOGIN_CUSTOMER_IDtoenvif you work through a manager account, and supply the developer token as theREADMEdescribes. - Restart Gemini CLI and check that the
google-ads-mcpserver and its tools are listed. The Gemini app extensions route is not covered by the docs.
{
"mcpServers": {
"google-ads-mcp": {
"command": "pipx",
"args": [
"run",
"--spec",
"git+https://github.com/googleads/google-ads-mcp.git",
"google-ads-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
"GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID"
}
}
}
}
Google Ads MCP Server in Microsoft Copilot
- For GitHub Copilot in VS Code, create ADC first and note the credentials file path printed by
gcloud auth application-default login. - Create or open
.vscode/mcp.jsonin your workspace. TheREADMEnames this file, but shows themcpServersformat. VS Code uses a top-levelserversobject, so the snippet below adapts the same values. - Replace
PATH_TO_CREDENTIALS_JSONandYOUR_PROJECT_ID, and add the manager ID and developer token as described above. - Save, then start the server from the editor's MCP controls and confirm its tools appear in Copilot's agent mode.
- Microsoft Copilot Studio is not covered by the docs. It expects a remotely hosted MCP endpoint, so it does not fit the default local setup.
{
"servers": {
"google-ads-mcp": {
"command": "pipx",
"args": [
"run",
"--spec",
"git+https://github.com/googleads/google-ads-mcp.git",
"google-ads-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
"GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID"
}
}
}
}
Google Ads MCP Server in Perplexity
- The documentation does not cover Perplexity. Use the Perplexity desktop app's connectors settings, where you add an MCP server.
- Local command servers are the relevant type here. Check the current Perplexity documentation for whether your plan and app version support adding one.
- If supported, enter the command
pipxwith the argumentsrun --spec git+https://github.com/googleads/google-ads-mcp.git google-ads-mcp. - Set the environment variables
GOOGLE_APPLICATION_CREDENTIALSandGOOGLE_CLOUD_PROJECT, plus the developer token as theREADMEdescribes. - If the app only accepts a remote URL, run the server in Mode B and use
http://localhost:8080/mcponly if the app can reach your machine. Take the Mode B setup from theREADME.
Google Ads MCP Server in Cursor
- Create ADC with
gcloud auth application-default loginincluding thehttps://www.googleapis.com/auth/adwordsscope, and note the credentials file path. - Open
.cursor/mcp.jsonin your project, or the global Cursor MCP settings, viaSettings > MCP. - Paste the
mcpServersentry below, replacingPATH_TO_CREDENTIALS_JSONandYOUR_PROJECT_ID. - Add
GOOGLE_ADS_LOGIN_CUSTOMER_IDtoenvif you query through a manager account, and supply the developer token as theREADMEdescribes. - Save and confirm the
google-ads-mcpserver shows as enabled with its tools listed. Reload Cursor if it does not.
{
"mcpServers": {
"google-ads-mcp": {
"command": "pipx",
"args": [
"run",
"--spec",
"git+https://github.com/googleads/google-ads-mcp.git",
"google-ads-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
"GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID"
}
}
}
}
Google Ads MCP Server in Claude Code
- Create ADC with
gcloud auth application-default loginincluding thehttps://www.googleapis.com/auth/adwordsscope, and note the credentials file path. - Run the command below in a terminal to register the server as a local stdio server.
- Provide
GOOGLE_APPLICATION_CREDENTIALSandGOOGLE_CLOUD_PROJECTto the server. Use Claude Code's environment option forclaude mcp add(seeclaude mcp add --help), or put themcpServersJSONwith anenvblock in the config file. TheREADMEnames~/.claude/settings.jsonfor this. - Add
GOOGLE_ADS_LOGIN_CUSTOMER_IDif you work through a manager account, and the developer token as theREADMEdescribes. - Run
claude mcp listto confirm the server is registered, then start a session and check that its tools are available.
claude mcp add google-ads-mcp -- pipx run --spec git+https://github.com/googleads/google-ads-mcp.git google-ads-mcpCheck that it works
Start with questions that only read data. If these answer from your real account, the connection is good.
- List the Google Ads accounts these credentials can access.
- For customer ID YOUR_CUSTOMER_ID, show campaign cost, clicks and conversions for the last 30 days using a GAQL query.
- Get the selectable fields for the campaign resource, then list the top 10 keywords by clicks in the last 7 days.
Troubleshooting
+The server does not start or its tools are missing in my client. What should I check?
Confirm Python 3.11 or later and `pipx` are installed and on the PATH the client uses. Check the JSON for syntax errors and restart the client fully. If you set `GOOGLE_ADS_MCP_TOOLS_CONFIG`, an invalid or missing file makes startup fail immediately, so check that path first.
+I get permission or authentication errors from the Google Ads API. How do I fix them?
Check that the Google Ads API is enabled in the project named in `GOOGLE_CLOUD_PROJECT`. Make sure the ADC file includes the `https://www.googleapis.com/auth/adwords` scope and the user can access the account. Confirm the developer token is set as the README describes. For client accounts under an MCC, set `GOOGLE_ADS_LOGIN_CUSTOMER_ID`.
+The listing says read-only, but I see assets and labels tools. Can I remove them?
Yes. The README lists mutate tools, protected by a propose and confirm step. For a strictly read-only setup, create a `tools_config.yaml` with `labels: false` and `assets: false` under `namespaces`, and point `GOOGLE_ADS_MCP_TOOLS_CONFIG` at it. Restart the client afterwards. Enable writes only for supervised tasks.
Written Nov 26, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.
Questions and answers
Questions readers and searchers ask about installing Google Ads MCP Server, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.