MCP Configuration

Configure your Model Context Protocol (MCP) client to connect to Prometheus.

Quick Tip: Copy this configuration and add it to your MCP client configuration file. You'll be prompted for your API key when connecting.

⚙️ Configuration

{ "servers": { "prometheus": { "type": "http", "url": "https://mcp.prometheus.sv/", "headers": { "Authorization": "Bearer ${input:prometheus-api-key}" } } }, "inputs": [ { "type": "promptString", "id": "prometheus-api-key", "description": "Enter your Prometheus API key", "password": true } ] }

📖 How to Use
1. Get Your API Key

Sign in to Prometheus and navigate to API Keys to generate an API key.

Keep your API key secure. Never share it or commit it to version control.
2. Add Configuration

Copy the configuration above and add it to your MCP client's configuration file. The location depends on your client (e.g., Claude Desktop, VS Code, etc.).

3. Connect

When you start your MCP client, you'll be prompted to enter your API key. The key is securely stored and used for all requests to Prometheus.

❓ What is MCP?

Model Context Protocol (MCP) is a standard protocol that allows AI assistants to securely access external data sources and tools. By connecting your AI assistant to Prometheus via MCP, you enable it to:

Search your knowledge base directly from conversations

Access structured guides and documentation

Retrieve context-aware information for better responses

An unhandled error has occurred. Reload 🗙