home / mcp / display video 360 api mcp server
Provides an MCP server for the Display Video 360 API openapi spec to enable MCP-based access and testing.
Configuration
View docs{
"mcpServers": {
"ag2-mcp-servers-display--video-360-api": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "JSON configuration string",
"SECURITY": "API keys or other security parameters",
"CONFIG_PATH": "PATH/TO/CONFIG.json"
}
}
}
}You run a Python-based MCP server that exposes a Machine Context Protocol interface for a defined API, enabling clients to query and interact with model contexts via a structured, protocol-driven channel. This server is useful for testing, integration, and building tooling that relies on consistent MCP communication with the Google Display & Video 360 API surface.
Start the MCP server in stdio mode to run locally and interact with clients using standard input/output streams. You will launch a Python process that hosts the MCP endpoint, then point your MCP client at that process. Use the server as your local MCP service for development, testing, and integration with tooling that consumes MCP endpoints.
Prerequisites: Python 3.9 or newer, and a Python package installer. You should also have a runtime for executing Python scripts (the system Python should be able to run scripts from the command line).
# Step 1: Clone and set up
git clone <repository-url>
cd mcp-server
# Step 2: Install development dependencies
pip install -e ".[dev]"
# If you prefer a runtime approach, you can use:
uv pip install --editable ".[dev]"Run the server using a local configuration and environment variables to control its behavior and security. You can use a JSON configuration file or inline JSON string to configure the MCP server, and you can set security parameters via environment variables.
Common environment variables you may configure include: - 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 (for example, API keys).
If the server does not start, verify that Python 3.9+ is installed and that you can execute Python scripts from the command line. Ensure your configuration path is correct and that required security parameters are provided via environment variables. For development and testing, run the server in a clean environment to avoid conflicts with other Python packages.
import subprocess
# Example to start the MCP server in stdio mode
subprocess.run([
"python",
"mcp_server/main.py",
"stdio",
])Starts and manages the MCP server using the designated transport (stdio in this configuration) and applies the provided configuration.
Loads the JSON configuration from a file or string to initialize security and transport settings.