home / mcp / cloud dns mcp server
MCP Server generated by mcp.ag2.ai
Configuration
View docs{
"mcpServers": {
"ag2-mcp-servers-cloud-dns-api": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "{\"example\":\"config\"}",
"SECURITY": "YOUR_SECURITY_PARAMS",
"CONFIG_PATH": "PATH_TO_CONFIG.json"
}
}
}
}You can run a dedicated MCP (Model Context Protocol) server that exposes the Google DNS v2 API as an MCP endpoint. It lets you connect an MCP client to the DNS API through a configurable, language-native server bridge, enabling consistent data access and actions within your development or integration workflow.
Start the local MCP server in stdio mode to run as a lightweight, self-contained process. Use your MCP client to connect to the server and perform operations against the DNS v2 API through the MCP interface. You can stop the server at any time and restart it as part of your development cycle.
Prerequisites before installation include Python 3.9 or newer, and the ability to run Python and package managers on your system.
# 1) Clone the MCP server repository
git clone <repository-url>
cd mcp_server
# 2) Install dependencies
pip install -e ".[dev]"
# If you prefer to use uv to run development tasks:
# uv pip install --editable ".[dev]"
# 3) Optional: run static checks and tests (see Development section for details)Configuration is driven by environment variables at runtime. The following variables influence how the server runs and where it looks for its configuration.
{
"CONFIG_PATH": "Path to a JSON configuration file (e.g., mcp_server/mcp_config.json)",
"CONFIG": "A JSON string containing the configuration",
"SECURITY": "Environment variables for security parameters (e.g., API keys)"
}Run linting to ensure code quality and consistency across the repository.
Format code according to project standards to maintain readability and reduce diffs.
Perform static analysis (type checking, security checks, etc.) to catch issues early.
Execute the test suite and collect coverage to verify behavior and prevent regressions.