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-mcp
bash
python -m venv .venv
source .venv/bin/activate # On Windows, use: .venv\Scripts\activate
bash
pip install -r requirements.txt
.env
file with your Google Ads credentials:bash
cp .env.example .env
# Edit .env file with your credentials
bash
python server.py
bash
docker build -t google-ads-mcp:latest .
bash
docker run -p 8000:8000 --env-file .env google-ads-mcp:latest
bash
docker-compose up -d
The 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-feature
git commit -am 'Add new feature'
git push origin feature/my-feature
This project is licensed under the MIT License - see the LICENSE file for details.