The Google Ads MCP Server is a Model Context Protocol (MCP) server that enables Claude Desktop to access and interact with Google Ads data. It provides seamless integration for retrieving campaign performance, account metrics, and other Google Ads-related information directly within Claude.
bash
git clone https://github.com/yourusername/google-ads-mcp.git
cd google-ads-mcpbash
python -m venv .venv
source .venv/bin/activate # On Windows, use: .venv\Scripts\activatebash
pip install -r requirements.txt.env file with your Google Ads credentials:bash
cp .env.example .env
# Edit .env file with your credentialsbash
python server.pybash
docker build -t google-ads-mcp:latest .bash
docker run -p 8000:8000 --env-file .env google-ads-mcp:latestbash
docker-compose up -dThe application supports different environments (dev, test, prod) with environment-specific configurations:
- Set APP_ENV to dev, test, or prod to specify the environment
- Configure environment variables as documented in .env.example
- Feature flags allow enabling/disabling specific functionality
json
{
"mcpServers": {
"google-ads": {
"command": "python",
"args": ["/absolute/path/to/server.py"]
}
}
}This repository includes Kubernetes manifests for deployment:
- kubernetes/dev/ - Development environment deployment
- kubernetes/test/ - Test environment deployment
- kubernetes/prod/ - Production environment deployment
CI/CD pipelines are configured using GitHub Actions for automated testing, building, and deployment.
git checkout -b feature/my-featuregit commit -am 'Add new feature'git push origin feature/my-featureThis project is licensed under the MIT License - see the LICENSE file for details.