Traffic Director MCP Server
MCPサーバー
このプロジェクトは、AG2 のMCP ビルダーを使用して自動生成された、指定された OpenAPI URL - https://api.apis.guru/v2/specs/googleapis.com/trafficdirector/v2/openapi.json用の MCP (Multi-Agent Conversation Protocol) サーバーです。
前提条件
Python 3.9以上
pipとuv
Related MCP server: Cloud Monitoring API Server
インストール
リポジトリをクローンします。
git clone <repository-url> cd mcp-server依存関係のインストール: .devcontainer/setup.shスクリプトは
pip install -e ".[dev]"を使用して依存関係のインストールを処理します。dev コンテナを使用していない場合は、このコマンドを手動で実行できます。pip install -e ".[dev]"あるいは、
uvを使用することもできます。uv pip install --editable ".[dev]"
発達
このプロジェクトでは、リンティングとフォーマットにruffを使用し、静的型チェックにmypy使用し、テストにpytest使用します。
リンティングとフォーマット
リンティングの問題を確認するには:
ruff checkコードをフォーマットするには:
ruff formatこれらのコマンドは、scripts/lint.shスクリプト経由でも利用できます。
静的分析
静的分析を実行するには (mypy、bandit、semgrep):
./scripts/static-analysis.shこのスクリプトは、 .pre-commit-config.yamlでコミット前フックとしても構成されます。
テストの実行
カバレッジ付きテストを実行するには:
./scripts/test.shpytest が実行され、カバレッジレポートが生成されます。レポートとクリーンアップを組み合わせたものを作成するには、以下を使用します。
./scripts/test-cov.shコミット前フック
このプロジェクトでは、 .pre-commit-config.yamlで定義されたコミット前フックを使用します。フックをインストールするには、以下の手順に従います。
pre-commit installフックは各コミットの前に自動的に実行されます。
サーバーの実行
MCPサーバーは、mcp_server/main.pyスクリプトを使用して起動できます。様々なトランスポートモード(例: stdio 、 sse )をサポートしています。
サーバーを起動するには(例:stdio モード):
python mcp_server/main.py stdioサーバーは環境変数を使用して設定できます。
CONFIG_PATH: JSON 構成ファイルへのパス (例: mcp_server/mcp_config.json )。CONFIG: 構成を含む JSON 文字列。SECURITY: セキュリティ パラメータ (API キーなど) の環境変数。
これらがどのようにロードされるかの詳細については、 mcp_server/main.pyのif __name__ == "__main__":ブロックを参照してください。
tests/test_mcp_server.pyファイルは、テストのためにプログラムでサーバーを起動して操作する方法を示しています。
建築と出版
このプロジェクトは、ビルドと公開にHatchを使用しています。プロジェクトをビルドするには、以下の手順に従ってください。
hatch buildプロジェクトを公開するには:
hatch publishこれらのコマンドは、scripts/publish.shスクリプト経由でも利用できます。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
The Google Compute Engine MCP server is a fully-managed Model Context Protocol server that provides tools to manage Google Compute Engine resources through AI agents. It enables capabilities including instance management (creating, starting, stopping, resetting, listing), disk management, handling instance templates and group managers, viewing machine and accelerator types, managing images, and accessing reservation and commitment information. The server operates as a zero-deployment, enterprise-grade endpoint at https://compute.googleapis.com/mcp with built-in IAM-based security.
The Google GKE MCP server is a managed Model Context Protocol server that provides AI applications with tools to manage Google Kubernetes Engine (GKE) clusters and Kubernetes resources. It exposes a structured, discoverable interface that allows AI agents to interact with GKE and Kubernetes APIs, enabling them to inspect cluster configurations, retrieve Kubernetes resource YAMLs, monitor operations like cluster upgrades, diagnose issues, and optimize costs—all without needing to parse text output or use complex kubectl commands.
The Google Maps MCP server is a fully-managed server provided by the Maps Grounding Lite API that connects AI applications to Google Maps Platform services. It provides three main tools for building LLM applications: searching for places, looking up weather information, and computing routes with details like distance and travel time. The server acts as a proxy that translates Google Maps data into a format that AI applications can understand, enabling agents to accurately answer real-world location and travel queries.
The BigQuery remote MCP server is a fully managed service that uses the Model Context Protocol to connect AI applications and LLMs to BigQuery data sources. It provides secure, standardized tools for AI agents to list datasets and tables, retrieve schemas, generate and execute SQL queries through natural language, and analyze data—enabling direct access to enterprise analytics data without requiring manual SQL coding.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with Google Cloud Game Services API, allowing users to manage game server deployments, realms, and configurations through natural language.1
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides access to Google Cloud Monitoring API, enabling interaction with cloud resources monitoring data through natural language commands.
- FlicenseNot gradedqualityDmaintenanceAn MCP Server that enables interaction with Google's Public Certificate Authority API for managing publicly trusted TLS certificates via natural language.
- FlicenseNot gradedqualityDmaintenanceAn MCP Server that provides a natural language interface to Google Cloud Resource Settings API, enabling users to view and manage settings for Google Cloud resources through conversation.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ag2-mcp-servers/traffic-director-api'
If you have feedback or need assistance with the MCP directory API, please join our Discord server