home / mcp / doubleclick bid manager mcp server
MCP Server generated by mcp.ag2.ai
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.
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.
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_serverStep 2. Install development dependencies.
pip install -e ".[dev]"If you prefer using uv to execute the install, run:
uv pip install --editable ".[dev]"You start the MCP server with the stdio transport by running the following command:
python mcp_server/main.py stdioConfigure 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)
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.
Lints and formats Python code to ensure code quality and consistency.
Performs static type checking to catch type errors before runtime.
Runs tests to verify functionality and regressions.
Runs a suite of checks before committing changes to ensure code quality.
Builds and publishes the MCP package.
Executes development tasks and scripts as part of the environment setup.