MCP.so
登录

MCP Server Prometheus

@MCP-Mirror

基本信息

分类

开发工具

传输方式

stdio

作者

MCP-Mirror

关于 MCP Server Prometheus

Mirror of

MCP Server Prometheus 配置

暂无标准配置

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

代码仓库

MCP Server Prometheus 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

What environment variables are needed?

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

2

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.

3

Can I debug the server?

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

4

Does the server support authentication?

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

5

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 服务器