メトロMCPサーバー
このリポジトリには、Metoro MCP(モデルコンテキストプロトコル)サーバーが含まれています。このMCPサーバーを使用すると、Claudeデスクトップアプリを介してKubernetesクラスターと対話できます。
MCP (モデルコンテキストプロトコル) とは何ですか?
モデルコンテキストプロトコルの詳細については、こちらをご覧ください: https://modelcontextprotocol.io
しかし、一言で言えば
モデルコンテキストプロトコル(MCP)は、LLMアプリケーションと外部データソースおよびツールとのシームレスな統合を可能にするオープンプロトコルです。AI搭載IDEの構築、チャットインターフェースの拡張、カスタムAIワークフローの作成など、MCPはLLMと必要なコンテキストを接続する標準化された方法を提供します。
Metrooとは何ですか?
Metoroは、Kubernetesで実行されるマイクロサービス向けに設計された可観測性プラットフォームです。eBPFベースのインストルメンテーションを使用することで、コードを変更することなく詳細なテレメトリを生成します。eBPFエージェントによって生成されたデータは、Metoroのバックエンドに送信され、保存されます。また、Metoroのフロントエンドでは、APIを介してMetoroに送信されます。
この MCP サーバーはこれらの API を LLM に公開し、Kubernetes クラスターに関する質問を AI に尋ねることができるようにします。
デモ
https://github.com/user-attachments/assets/b3f21e9a-45b8-4c17-8d8c-cff560d8694f
Metoro MCP サーバーはどのように使用すればよいですか?
- Claude デスクトップ アプリをインストールします。
- Golangがインストールされていることを確認してください。Mac の場合は
brew install go
、Ubuntu の場合はsudo apt-get install golang
。 - リポジトリをクローンします:
git clone https://github.com/metoro-io/metoro-mcp-server.git
- リポジトリディレクトリに移動します:
cd metoro-mcp-server
- サーバー実行ファイルをビルドする:
go build -o metoro-mcp-server
すでにMetoroアカウントをお持ちの場合:
Metoroアカウントの「設定」 ->「ユーザー設定」から認証トークンをコピーします。 ~/Library/Application Support/Claude/claude_desktop_config.json
に以下の内容のファイルを作成します。
Metrooアカウントをお持ちでない場合:
ご安心ください。Live Demo Clusterを使って試してみることができます。付属のトークンはデモトークンで、誰でも使用できます。 ~/Library/Application Support/Claude/claude_desktop_config.json
に以下の内容のファイルを作成してください。
claude_desktop_config.json
編集が完了したら、ファイルを保存し、Claude Desktop アプリを再起動します。- ClaudeデスクトップアプリのMCPサーバーのドロップダウンリストにMetoro MCPサーバーが表示されるようになりました。これで、ClaudeデスクトップアプリでMetoro MCPサーバーを使い始める準備が整いました。
で構築
このサーバーは、Golang MCP SDK上に構築されています。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Metoro で監視されている Kubernetes 環境に対してクエリを実行し、操作します。LLM を使用して、APM、メトリクス、トレース、プロファイリング情報を確認します。
Related MCP Servers
- AsecurityFlicenseAqualityA MCP server that can run Kubernetes commands with a given kubeconfig path and provide interpretation of the commands.Last updated -12JavaScript
- -securityAlicense-qualityA read-only MCP server for Kubernetes that allows querying cluster information and diagnosing issues through natural language interfaces like Claude.Last updated -1PythonMIT License
- -securityFlicense-qualityA server that enables LLMs to manage Kubernetes clusters through natural language commands, wrapping kubectl operations to provide a simplified interface for common Kubernetes tasks.Last updated -3Python
- -securityFlicense-qualityA Kubernetes-deployed server for the Model Context Protocol that enables secure communication with configurable environment variables, health monitoring, and scalable deployment on Azure Kubernetes Service.Last updated -932TypeScript