
idanfishman/prometheus-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A Model Context Protocol (MCP) server implementation that provides AI agents with programmatic access to Prometheus metrics via a unified interface.
개요
A Model Context Protocol (MCP) server that provides seamless integration between AI assistants and Prometheus, enabling natural language interactions with your monitoring infrastructure. This server allows for effortless querying, discovery, and analysis of metrics through Visual Studio Code, Cursor, Windsurf, Claude Desktop, and other MCP clients. - . Direct API integration with Prometheus, no complex parsing needed. - . Structured JSON responses optimized for AI assistant consumption. - . Enable/disable tool categories based on your security and operational requirements. - . Works with both stdio and HTTP transports for maximum compatibility. - Node.js 20.19.0 or newer - Access to a Prometheus server - VS Code, Cursor, Windsurf, Claude Desktop or any other MCP client First, install the Prometheus MCP server with your client. A typical configuration looks like this: After installation, the Prometheus MCP server will be available for use with your GitHub Copilot agent in VS Code.
README
원문 README의 일부입니다. 원문 보기.
Prometheus MCP Server
Key Features
- Fast and lightweight. Direct API integration with Prometheus, no complex parsing needed.
- LLM-friendly. Structured JSON responses optimized for AI assistant consumption.
- Configurable capabilities. Enable/disable tool categories based on your security and operational requirements.
- Dual transport support. Works with both stdio and HTTP transports for maximum compatibility.
Requirements
- Node.js 20.19.0 or newer
- Access to a Prometheus server
- VS Code, Cursor, Windsurf, Claude Desktop or any other MCP client
Getting Started
First, install the Prometheus MCP server with your client. A typical configuration looks like this:
{
"mcpServers": {
"prometheus": {
"command": "npx",
"args": ["prometheus-mcp@latest", "stdio"],
"env": {
"PROMETHEUS_URL": "http://localhost:9090"
}
}
}
}
설치
npx prometheus-mcp@latest stdio설정
{
"mcpServers": {
"prometheus": {
"command": "npx",
"args": ["prometheus-mcp@latest", "stdio"],
"env": {
"PROMETHEUS_URL": "http://localhost:9090"
}
}
}
}