- Home
- MCP servers
- Display Video 360 API
Display Video 360 API
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
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.
How to use
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.
How to install
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]"
Additional setup and configuration
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).
Troubleshooting and notes
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.
Tools and workflows
import subprocess
# Example to start the MCP server in stdio mode
subprocess.run([
"python",
"mcp_server/main.py",
"stdio",
])
Available tools
ServerRun
Starts and manages the MCP server using the designated transport (stdio in this configuration) and applies the provided configuration.
ConfigLoad
Loads the JSON configuration from a file or string to initialize security and transport settings.