Query Prometheus / Thanos metrics on OpenShift clusters — as a CLI and an MCP server for AI assistants.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"kubectl-metrics": {
"command": "go",
"args": [
"run",
"github.com/yaacov/kubectl-metrics@latest"
]
}
}
}
Run in terminal:
claude mcp add kubectl-metrics go run github.com/yaacov/kubectl-metrics@latest
Add to .cursor/mcp.json:
{
"mcpServers": {
"kubectl-metrics": {
"command": "go",
"args": [
"run",
"github.com/yaacov/kubectl-metrics@latest"
]
}
}
}