metoro-mcp-服务器
此仓库包含 Metoro MCP(模型上下文协议)服务器。此 MCP 服务器允许您通过 Claude 桌面应用与您的 Kubernetes 集群进行交互!
什么是 MCP(模型上下文协议)?
您可以在此处阅读有关模型上下文协议的更多信息: https://modelcontextprotocol.io
但简而言之
模型上下文协议 (MCP) 是一种开放协议,支持 LLM 应用程序与外部数据源和工具之间的无缝集成。无论您是构建 AI 驱动的 IDE、增强聊天界面,还是创建自定义 AI 工作流,MCP 都提供了一种标准化的方式,将 LLM 与其所需的上下文连接起来。
Metoro 是什么?
Metoro是一个专为 Kubernetes 中运行的微服务设计的可观测性平台,它使用基于 eBPF 的检测工具,无需更改代码即可生成深度遥测数据。eBPF 代理生成的数据会被发送到 Metoro 的后端进行存储,并通过我们的 API 发送到 Metoro 的前端。
该 MCP 服务器将这些 API 公开给 LLM,以便您可以向 AI 询问有关 Kubernetes 集群的问题。
演示
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
中创建一个文件,内容如下:
如果您没有 Metoro 帐户:
不用担心,您仍然可以使用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