Setup & Installation

Prerequisites

Install

From PyPI (once published)

pip install ads-mcp

From source

git clone https://github.com/cgarling/ads-mcp.git
cd ads-mcp
pip install -e .

Configure your API key

The server reads your ADS API key from the ADS_API_TOKEN environment variable.

Using environment variables directly

export ADS_API_TOKEN=your_real_ads_key_here
ads-mcp

Verify the installation

Run the server once to confirm it starts without errors:

ads-mcp

The server waits for MCP protocol messages on stdin/stdout. Press Ctrl-C to stop it. You should see no error output if the key is valid.