MCP.so
登录

mcp-server-prometheus

@MCP-Mirror

关于 mcp-server-prometheus

Mirror of

基本信息

分类

开发工具

传输方式

stdio

发布者

MCP-Mirror

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is mcp-server-prometheus?

mcp-server-prometheus is a TypeScript-based MCP server that bridges Claude with a Prometheus instance. It enables listing and reading Prometheus metric metadata and statistics through the Model Context Protocol.

How to use mcp-server-prometheus?

Configure the PROMETHEUS_URL environment variable (and optionally PROMETHEUS_USERNAME/PROMETHEUS_PASSWORD for basic auth). Add the server to your Claude Desktop config by pointing to the built index.js and setting the required environment. Use npm run build to compile, npm run watch for auto-rebuild, and npm run inspector for debugging.

Key features of mcp-server-prometheus

  • List all available Prometheus metrics with descriptions
  • Read detailed metric metadata and help text
  • Access current statistical data (count, min, max)
  • JSON mime type for structured metric access
  • Basic authentication support for secured Prometheus instances

Use cases of mcp-server-prometheus

  • Inspect Prometheus metric schema and metadata via Claude
  • Retrieve current statistics for a specific metric
  • Monitor Prometheus metric health without a dedicated dashboard

FAQ from mcp-server-prometheus

What environment variables are needed?

PROMETHEUS_URL is required. Optionally, set PROMETHEUS_USERNAME and PROMETHEUS_PASSWORD for basic authentication.

How do I add mcp-server-prometheus to Claude Desktop?

Add a JSON entry to the Claude Desktop config file (claude_desktop_config.json), specifying the command path to the built index.js and the required environment variables.

Can I debug the server?

Yes, use npm run inspector to launch the MCP Inspector, which provides a URL for browser-based debugging tools.

Does the server support authentication?

Yes, it supports basic authentication via PROMETHEUS_USERNAME and PROMETHEUS_PASSWORD environment variables.

What data does each metric resource return?

Each metric resource returns a JSON object containing the metric name, metadata (help text, type), and current statistics (count, min, max).

评论

开发工具 分类下的更多 MCP 服务器