返回 MCP 目录
public公开dns本地运行

Metoro MCP 服务器

查询并 interacts 与 Metoro 监控的 Kubernetes 环境。查看 APM、指标、追踪、使用 LLM 的分析信息。

article

README

Metoro MCP Logo

GitHub stars GitHub forks GitHub issues GitHub pull requests GitHub license GitHub contributors GitHub last commit GoDoc Go Report Card Tests

metoro-mcp-server

This repository contains th Metoro MCP (Model Context Protocol) Server. This MCP Server allows you to interact with your Kubernetes cluster via the Claude Desktop App!

What is MCP (Model Context Protocol)?

You can read more about the Model Context Protocol here: https://modelcontextprotocol.io

But in a nutshell

The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you’re building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.

What is Metoro?

Metoro is an observability platform designed for microservices running in Kubernetes and uses eBPF based instrumentation to generate deep telemetry without code changes. The data that is generated by the eBPF agents is sent to Metoro's backend to be stored and in the Metoro frontend using our apis.

This MCP server exposes those APIs to an LLM so you can ask your AI questions about your Kubernetes cluster.

Demo

https://github.com/user-attachments/assets/b3f21e9a-45b8-4c17-8d8c-cff560d8694f

How can I use Metoro MCP Server?

  1. Install the Claude Desktop App.
  2. Make sure you have Golang installed. brew install go for mac or sudo apt-get install golang for ubuntu.
  3. Clone the repository: git clone https://github.com/metoro-io/metoro-mcp-server.git
  4. Navigate to the repository directory: cd metoro-mcp-server
  5. Build the server executable: go build -o metoro-mcp-server

If you already have a Metoro Account:

Copy your auth token from your Metoro account in Settings -> Users Settings. Create a file in ~/Library/Application Support/Claude/claude_desktop_config.json with the following contents:

{
  "mcpServers": {
    "metoro-mcp-server": {
      "command": "<your path to Metoro MCP server go executable>/metoro-mcp-server",
      "args": [],
      "env": {
          "METORO_AUTH_TOKEN" : "<your auth token>",
          "METORO_API_URL": "https://us-east.metoro.io"
       }
    }
  }
}

If you don't have a Metoro Account:

No worries, you can still play around using the Live Demo Cluster. The included token is a demo token, publicly available for anyone to use. Create a file in ~/Library/Application Support/Claude/claude_desktop_config.json with the following contents:

{
  "mcpServers": {
    "metoro-mcp-server": {
      "command": "<your path to Metoro MCP server go executable>/metoro-mcp-server",
      "args": [],
      "env": {
          "METORO_AUTH_TOKEN" : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjdXN0b21lcklkIjoiOThlZDU1M2QtYzY4ZC00MDRhLWFhZjItNDM2ODllNWJiMGUzIiwiZW1haWwiOiJ0ZXN0QGNocmlzYmF0dGFyYmVlLmNvbSIsImV4cCI6MTgyMTI0NzIzN30.7G6alDpcZh_OThYj293Jce5rjeOBqAhOlANR_Fl5auw",
          "METORO_API_URL": "https://demo.us-east.metoro.io"
       }
    }
  }
}
  1. Once you are done editing claude_desktop_config.json save the file and restart Claude Desktop app.
  2. You should now see the Metoro MCP Server in the dropdown list of MCP Servers in the Claude Desktop App. You are ready to start using Metoro MCP Server with Claude Desktop App!

Built with

This server is built on top of our Golang MCP SDK.

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端