Back to MCP directory
publicPublicdnsLocal runtime

metoro-mcp-server

查询并 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

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client