A Model Context Protocol (MCP) server enabling LLMs to query, analyze, and interact with Prometheus databases through predefined routes.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add for-prometheus -- npx -y @smithery/cli install @CaesarYangs/prometheus_mcp_server --client claude~/.codex/config.toml
[mcp_servers.for-prometheus]
command = "npx"
args = ["-y", "@smithery/cli", "install", "@CaesarYangs/prometheus_mcp_server", "--client", "claude"]
# codex mcp add for-prometheus -- npx -y @smithery/cli install @CaesarYangs/prometheus_mcp_server --client claude~/.cursor/mcp.json
{
"mcpServers": {
"for-prometheus": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@CaesarYangs/prometheus_mcp_server",
"--client",
"claude"
]
}
}
}.vscode/mcp.json
{
"servers": {
"for-prometheus": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@CaesarYangs/prometheus_mcp_server",
"--client",
"claude"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"for-prometheus": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@CaesarYangs/prometheus_mcp_server",
"--client",
"claude"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"for-prometheus": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@CaesarYangs/prometheus_mcp_server",
"--client",
"claude"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"for-prometheus": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@CaesarYangs/prometheus_mcp_server",
"--client",
"claude"
]
}
}
}