Higress OPS MCP サーバー
Higressの包括的な設定と管理を可能にするモデルコンテキストプロトコル(MCP)サーバー実装。このリポジトリは、 LangGraphおよびLangChain MCP アダプター上に構築された MCP クライアントも提供し、適切に設計されたエージェントフローアーキテクチャを通じて Higress MCP サーバーとのやり取りを容易にします。
デモ
https://github.com/user-attachments/assets/bae66b77-a158-452e-9196-98060bac0df7
環境変数の設定
.env.example
ファイルを.env
にコピーし、対応する値を入力します。
MCPクライアントとMCPサーバーを起動する
stdioモードでは、MCPサーバープロセスはMCPクライアントプログラムによって起動されます。MCPクライアントとMCPサーバーを起動するには、以下のコマンドを実行します。
新しいツールを追加する
ステップ1: 新しいツールクラスを作成するか、既存のツールクラスを拡張する
- 完全に新しいツールカテゴリを追加する場合は、ツールディレクトリに新しいファイルを作成します。
- または、既存のカテゴリに該当する場合は、ツールを既存のクラスに追加します。
ステップ2: ツールがHigress Console APIと対話する必要がある場合は、HigressClientに新しいメソッドを追加します。
- API呼び出しをカプセル化するメソッドをutils/higress_client.pyに追加する
- 実際のAPI通信には既存のHTTPメソッド(get、put、post)を使用する
ステップ3: ツールクラスをサーバーに登録する
- server.pyのtool_classesリストにツールクラスを追加します。
- このリストはToolsRegisterによってすべてのツールをインスタンス化して登録するために使用されます
- ToolsRegisterはloggerとhigress_client属性を自動的に設定します
ステップ4: 人間による確認が必要な場合は、ツールをSENSITIVE_TOOLS
に追加します。
- このリストのツールは実行前に人間による確認が必要になります
This server cannot be installed
適切に設計されたエージェント フロー アーキテクチャを通じて、Higress の包括的な構成と管理を可能にするモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI models to perform real-time internet and knowledge searches through Higress, enhancing model responses with up-to-date information from Google, Bing, Arxiv, and internal knowledge bases.Last updated -15PythonApache 2.0
- -securityFlicense-qualityA Model Context Protocol server that enables integration with the TESS API, allowing users to list and manage agents, execute agents with custom messages, and manage files through natural language interfaces.Last updated -TypeScript
- -securityAlicense-qualityA Model Context Protocol server that allows language models to manage Hetzner Cloud resources through structured functions, including servers, volumes, firewalls, and SSH keys.Last updated -33PythonMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that provides a comprehensive interface to Alteryx Servers, enabling AI assistants to manage workflows, collections, users, schedules, credentials, and more.Last updated -438Python