Read and change Google Ads campaigns, keywords and budgets. Every change waits for your approval.
google ads MCP Server
Published by mharnettGoogle Ads MCP with MCC support: 86 tools for campaigns, keywords, reporting, GAQL.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 1.16.1
- SOURCE CHECKED
- Nov 27, 2026
Quick answers
How do I add google ads MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'GOOGLE_ADS_CLIENT_ID=<your-google-ads-client-id>' --env 'GOOGLE_ADS_CLIENT_SECRET=<your-google-ads-client-secret>' --env 'GOOGLE_ADS_REFRESH_TOKEN=<your-google-ads-refresh-token>' --env 'GOOGLE_ADS_DEVELOPER_TOKEN=<your-google-ads-developer-token>' --transport stdio google-ads -- npx -y mcp-google-adsReplace the <your-…> placeholder with your own GOOGLE_ADS_CLIENT_ID and GOOGLE_ADS_CLIENT_SECRET and GOOGLE_ADS_REFRESH_TOKEN and GOOGLE_ADS_DEVELOPER_TOKEN.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"google-ads": {
"command": "npx",
"args": [
"-y",
"mcp-google-ads"
],
"env": {
"GOOGLE_ADS_CLIENT_ID": "<your-google-ads-client-id>",
"GOOGLE_ADS_CLIENT_SECRET": "<your-google-ads-client-secret>",
"GOOGLE_ADS_REFRESH_TOKEN": "<your-google-ads-refresh-token>",
"GOOGLE_ADS_DEVELOPER_TOKEN": "<your-google-ads-developer-token>"
}
}
}
}Replace the <your-…> placeholder with your own GOOGLE_ADS_CLIENT_ID and GOOGLE_ADS_CLIENT_SECRET and GOOGLE_ADS_REFRESH_TOKEN and GOOGLE_ADS_DEVELOPER_TOKEN.
CodexCommand
Run this in your terminal:
codex mcp add google-ads --env 'GOOGLE_ADS_CLIENT_ID=<your-google-ads-client-id>' --env 'GOOGLE_ADS_CLIENT_SECRET=<your-google-ads-client-secret>' --env 'GOOGLE_ADS_REFRESH_TOKEN=<your-google-ads-refresh-token>' --env 'GOOGLE_ADS_DEVELOPER_TOKEN=<your-google-ads-developer-token>' -- npx -y mcp-google-adsReplace the <your-…> placeholder with your own GOOGLE_ADS_CLIENT_ID and GOOGLE_ADS_CLIENT_SECRET and GOOGLE_ADS_REFRESH_TOKEN and GOOGLE_ADS_DEVELOPER_TOKEN.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"google-ads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-google-ads"
],
"env": {
"GOOGLE_ADS_CLIENT_ID": "<your-google-ads-client-id>",
"GOOGLE_ADS_CLIENT_SECRET": "<your-google-ads-client-secret>",
"GOOGLE_ADS_REFRESH_TOKEN": "<your-google-ads-refresh-token>",
"GOOGLE_ADS_DEVELOPER_TOKEN": "<your-google-ads-developer-token>"
}
}
}
}Replace the <your-…> placeholder with your own GOOGLE_ADS_CLIENT_ID and GOOGLE_ADS_CLIENT_SECRET and GOOGLE_ADS_REFRESH_TOKEN and GOOGLE_ADS_DEVELOPER_TOKEN.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"google-ads": {
"command": "npx",
"args": [
"-y",
"mcp-google-ads"
],
"env": {
"GOOGLE_ADS_CLIENT_ID": "<your-google-ads-client-id>",
"GOOGLE_ADS_CLIENT_SECRET": "<your-google-ads-client-secret>",
"GOOGLE_ADS_REFRESH_TOKEN": "<your-google-ads-refresh-token>",
"GOOGLE_ADS_DEVELOPER_TOKEN": "<your-google-ads-developer-token>"
}
}
}
}Replace the <your-…> placeholder with your own GOOGLE_ADS_CLIENT_ID and GOOGLE_ADS_CLIENT_SECRET and GOOGLE_ADS_REFRESH_TOKEN and GOOGLE_ADS_DEVELOPER_TOKEN.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use google ads MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does google ads MCP Server need an API key?
To run it on your computer, set GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_REFRESH_TOKEN and GOOGLE_ADS_DEVELOPER_TOKEN first, with values from the publisher.
Is google ads MCP Server official?
It's published by mharnett. The Official MCP Registry accepts names under io.github.mharnett only from the GitHub account or organisation mharnett. We last checked its listing on Nov 27, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · mcp-google-ads@1.16.1