MCP Configuration
Configure your Model Context Protocol (MCP) client to connect to Prometheus.
⚙️ 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.
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