The Metoro MCP Server integrates with the Claude Desktop App to provide AI-powered insights about your Kubernetes clusters. This server connects your Claude AI assistant to Metoro's observability platform, allowing you to query and analyze your Kubernetes environment through natural language conversations.
Before installing the Metoro MCP Server, ensure you have:
brew install go
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
You'll need to create a configuration file to connect Claude with the Metoro MCP Server.
Create or edit the Claude configuration file at:
~/Library/Application Support/Claude/claude_desktop_config.json
If you already have a Metoro account, use your auth token from the Settings page → User Settings:
{
"mcpServers": {
"metoro-mcp-server": {
"command": "/path/to/your/metoro-mcp-server",
"args": [],
"env": {
"METORO_AUTH_TOKEN": "your-auth-token-here",
"METORO_API_URL": "https://us-east.metoro.io"
}
}
}
}
You can use the public demo cluster with this configuration:
{
"mcpServers": {
"metoro-mcp-server": {
"command": "/path/to/your/metoro-mcp-server",
"args": [],
"env": {
"METORO_AUTH_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjdXN0b21lcklkIjoiOThlZDU1M2QtYzY4ZC00MDRhLWFhZjItNDM2ODllNWJiMGUzIiwiZW1haWwiOiJ0ZXN0QGNocmlzYmF0dGFyYmVlLmNvbSIsImV4cCI6MTgyMTI0NzIzN30.7G6alDpcZh_OThYj293Jce5rjeOBqAhOlANR_Fl5auw",
"METORO_API_URL": "https://demo.us-east.metoro.io"
}
}
}
}
After configuration:
claude_desktop_config.json
fileYou can now ask Claude questions about your Kubernetes cluster such as:
The Claude AI will use Metoro's APIs to retrieve and analyze data from your Kubernetes environment to provide detailed answers to your questions.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "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"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"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"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"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"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect