home / mcp / doubleclick bid manager mcp server

Doubleclick Bid Manager MCP Server

MCP Server generated by mcp.ag2.ai

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ag2-mcp-servers-doubleclick-bid-manager-api": {
      "command": "python",
      "args": [
        "mcp_server/main.py",
        "stdio"
      ],
      "env": {
        "CONFIG": "<json-config-string>",
        "SECURITY": "<security-params>",
        "CONFIG_PATH": "<path-to-config.json>"
      }
    }
  }
}

You deploy this MCP server to provide programmatic access to the DoubleClick Bid Manager API through the MCP protocol. It lets you query, manage contexts, and interact with the API via a consistent, event-driven transport, enabling you to build client applications that rely on standardized MCP endpoints.

How to use

You run the server in stdio mode locally or in your development environment and connect MCP clients that send requests following the MCP protocol. Your client can initiate conversations, fetch context data, and receive responses in a structured, consistent format. When you start the server, it accepts configuration through environment variables and can be controlled via standard MCP client tooling.

How to install

Prerequisites: Python 3.9 or newer, pip, and uv.

Step 1. Clone the project and navigate into the MCP server directory.

git clone <repository-url>
cd mcp_server

Step 2. Install development dependencies.

pip install -e ".[dev]"

If you prefer using uv to execute the install, run:

uv pip install --editable ".[dev]"

Running and configuring the server

You start the MCP server with the stdio transport by running the following command:

python mcp_server/main.py stdio

Configure runtime behavior via environment variables. The following keys are used:

- CONFIG_PATH: Path to a JSON configuration file (for example, mcp_server/mcp_config.json)

- CONFIG: A JSON string containing the configuration

- SECURITY: Environment variables for security parameters (e.g., API keys)

Notes on configuration and usage

The server reads configuration from the provided path or string and applies security settings from the SECURITY variables. Check the main entry point for details on how these values are loaded at startup.

Available tools

ruff

Lints and formats Python code to ensure code quality and consistency.

mypy

Performs static type checking to catch type errors before runtime.

pytest

Runs tests to verify functionality and regressions.

pre-commit

Runs a suite of checks before committing changes to ensure code quality.

hatch

Builds and publishes the MCP package.

uv

Executes development tasks and scripts as part of the environment setup.