A Model Context Protocol (MCP) server enabling LLMs to query, analyze, and interact with Prometheus databases through predefined routes.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}