Metoro Mcp 伺服器
概覽
什麼是 Metoro MCP 伺服器?
Metoro MCP 伺服器是一個開源項目,旨在促進各種微服務的管理和運行。它為開發人員提供了一個強大的框架,以高效地部署、管理和擴展他們的應用程序。該伺服器專注於性能、可擴展性和易用性,使其成為現代應用程序架構的理想選擇。
Metoro MCP 伺服器的特點
- 微服務架構:支持微服務的開發和部署,允許模塊化的應用程序設計。
- 可擴展性:輕鬆擴展以處理增加的負載,確保應用程序在高流量下保持響應。
- 開源:作為開源項目,允許開發人員參與其開發並根據需要進行自定義。
- 用戶友好的界面:提供簡單直觀的界面來管理服務,使各種技能水平的開發人員都能輕鬆使用。
- 強大的文檔:提供全面的文檔,幫助用戶有效理解和利用伺服器。
如何使用 Metoro MCP 伺服器
- 安裝:首先從 GitHub 克隆該存儲庫。使用以下命令:
git clone https://github.com/metoro-io/metoro-mcp-server.git
- 配置:根據您的環境配置伺服器設置。這包括設置數據庫連接、服務端點和其他必要參數。
- 部署:使用提供的部署腳本或通過您首選的 CI/CD 管道部署您的微服務。
- 管理:使用網頁界面或命令行工具來管理您的服務、監控性能並根據需要進行擴展。
常見問題解答
Metoro MCP 伺服器支持哪些編程語言?
Metoro MCP 伺服器主要使用 JavaScript 和 Node.js 構建,但它可以與用各種編程語言編寫的服務集成。
是否有社區提供支持?
是的,Metoro MCP 伺服器周圍有一個活躍的社區。您可以通過 GitHub 討論、論壇和社交媒體渠道尋求支持。
我可以為該項目做貢獻嗎?
當然可以!歡迎貢獻。您可以在 GitHub 存儲庫上提交問題、功能請求或拉取請求。
如何報告錯誤?
如果您遇到錯誤,請在 Metoro MCP 伺服器存儲庫的 GitHub 問題頁面上報告,並提供盡可能多的詳細信息,以幫助開發人員解決問題。
Metoro MCP 伺服器有許可證嗎?
是的,Metoro MCP 伺服器根據 MIT 許可證授權,允許免費使用、修改和分發。
詳細
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?
- Install the Claude Desktop App.
- Make sure you have Golang installed.
brew install go
for mac orsudo apt-get install golang
for ubuntu. - Clone the repository:
git clone https://github.com/metoro-io/metoro-mcp-server.git
- Navigate to the repository directory:
cd metoro-mcp-server
- 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"
}
}
}
}
- Once you are done editing
claude_desktop_config.json
save the file and restart Claude Desktop app. - 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.
伺服器配置
{
"mcpServers": {
"metoro-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--metoro-io--metoro-mcp-server--metoro-mcp-server",
"./out"
],
"env": {
"METORO_AUTH_TOKEN": "metoro-auth-token",
"METORO_API_URL": "metoro-api-url"
}
}
}
}