Prometheus Safe MCP
Prometheus Safe MCP
制限付きのPrometheus即時クエリ、アクティブなアラート、ターゲットの健全性に特化した、読み取り専用のMCPサーバーです。アルファ版: テストは合成HTTPレスポンスを使用しています。実稼働中のPrometheusリリースとの互換性は保証されていません。
インストールと実行
Python 3.11以上とuvが必要です。
uv sync --extra test
export PROMETHEUS_SAFE_URL=https://prometheus.example.invalid
uv run prometheus-safe-mcpこのプロセスはstdio上でMCPを話します。.envは読み込まれません。.env.exampleはドキュメントのみです。読み取り専用でネットワーク制限されたPrometheusエンドポイントのURLを設定してください。
Related MCP server: Prometheus MCP Server
安全性
すべてのツールはHTTP GETを使用します。クエリ長、HTTPの所要時間/バイト数、返されるターゲット数には制限があります。設定では、URL内の資格情報、クエリ、フラグメント、非HTTPスキームを拒否します。監査記録には、PromQLテキストやレスポンス本文ではなく、操作カテゴリが含まれます。これは、上流の認証、認可、またはエグレスポリシーを置き換えるものではありません。セキュリティ設計を参照してください。
検証
uv run --extra test pytest
uv run python -m compileall -q src tests
uv buildMIT © 2026 Ben Gauger.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceProvides access to Prometheus metrics and queries through standardized Model Context Protocol interfaces, allowing AI assistants to execute PromQL queries and analyze metrics data.6512MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query Prometheus metrics, monitor alerts, and analyze system health through read-only access to your Prometheus server with built-in query safety and optional AI-powered metric analysis.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to execute PromQL queries and discover metrics across multiple Prometheus tenants using the Model Context Protocol. It supports single and multi-tenant configurations with secure authentication for instant and range query analysis.MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools to search, query, and visualize Prometheus metrics, returning results in JSON format for AI analysis.763MIT
Related MCP Connectors
Query Churn Solution cancellation-flow metrics, revenue, and feedback analytics (read-only).
Query metrics, targets, entities, and team data in your Steep workspace via MCP.
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bgauger/prometheus-safe-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server