使用说明
Google Ads MCP Server
This repository contains a Google Ads MCP server that can run locally in Docker for Claude Desktop or remotely on AWS Lambda behind a Function URL.
What it needs
Local Docker setup requires these Google Ads variables:
GOOGLE_ADS_DEVELOPER_TOKENGOOGLE_ADS_CLIENT_IDGOOGLE_ADS_CLIENT_SECRETGOOGLE_ADS_REFRESH_TOKENGOOGLE_ADS_LOGIN_CUSTOMER_IDif using a manager account
The full collection steps live in docs/local-variable-checklist.md.
Local Docker setup
- Copy
.env.exampleto.env. - Fill in the Google Ads values.
- Start the container:
docker compose up --build
- Point Claude Desktop to
http://localhost:8080/mcp.
Windows Claude Desktop config path:
%APPDATA%\Claude\claude_desktop_config.json
Mac Claude Desktop config path:
~/Library/Application Support/Claude/claude_desktop_config.json
Config:
{
"mcpServers": {
"google-ads-local": {
"url": "http://localhost:8080/mcp"
}
}
}
AWS deployment
The repo includes:
- deploy/aws/lambda-environment.example.json for Lambda environment variables
- CLIENT_CLAUDE_SETUP.md for client-facing setup instructions
- .github/workflows/deploy-development.yml for GitHub Actions deployment on
development
Typical deploy flow:
- Put Google Ads secrets in SSM Parameter Store.
- Build and push the image to ECR.
- Update the Lambda function to the new image.
- Enable a Lambda Function URL.
- Point Claude Desktop at
https://YOUR-LAMBDA-URL.on.aws/mcp.
Workshop assets
- docs/local-variable-checklist.md
- CLIENT_CLAUDE_SETUP.md
workshop/google-ads-mcp-setup-workshop.pptx
Notes
.envis gitignored and should stay local.- Docker Compose runs the same container image shape used by Lambda, but with local environment variables instead of SSM.
- The local Claude Desktop connector should use
/mcp, not/sse.