Prometheus MCP logo

Prometheus MCP

未认领

作者:prometheus

MCP server for LLMs to interact with Prometheus

安装

$docker run --rm -i ghcr.io/tjhop/prometheus-mcp-server:latest --prometheus.url "https://$yourPrometheus:9090"

此服务器需要专门配置。目前没有可复用的公开启动命令,请遵循项目说明。

项目说明

更多Developer Tools服务器

浏览完整目录

未认领列表

这个 MCP 服务器是你的吗?

此列表根据公开信息自动生成。认领后,你可以编辑页面、设置兼容性并解锁增长工具。全程不超两分钟。

认领此服务器

安全概况

已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理

30 个工具中显示 30 个

文档中列出的工具 (30)

内容来自项目文档。服务器握手不会验证每个工具的说明或行为。

alertmanagers

Get overview of Prometheus Alertmanager discovery

build_info

Get Prometheus build information

clean_tombstones

Removes the deleted data from disk and cleans up the existing tombstones

delete_series

deletes data for a selection of series in a time range

docs_list

List of Official Prometheus Documentation Files

docs_read

Read the named markdown file containing official Prometheus documentation from the prometheus/docs repo

docs_search

Search the markdown files containing official Prometheus documentation from the prometheus/docs repo

exemplar_query

Performs a query for exemplars by the given query and time range

flags

Get runtime flags

healthy

Management API endpoint that can be used to check Prometheus health

label_names

Returns the unique label names present in the block in sorted order by given time range and matchers

label_values

Performs a query for the values of the given label, time range and matchers

list_alerts

List all active alerts

list_rules

List all alerting and recording rules that are loaded

list_targets

Get overview of Prometheus target discovery

metric_metadata

Returns metadata about metrics currently scraped by the metric name

prometheus

n/a

query

Execute an instant query against the Prometheus datasource, returning one value per series at a single point in time

quit

Management API endpoint that can be used to trigger a graceful shutdown of Prometheus

range_query

Execute a range query against the Prometheus datasource, returning values over a time window

ready

Management API endpoint that can be used to check Prometheus is ready to serve traffic (i.e. respond to queries

reload

Management API endpoint that can be used to trigger a reload of the Prometheus configuration and rule files

runbooks_list

List the runbooks embedded in this server: guided workflows (Agent Skills) for common Prometheus tasks

runbooks_read

Read the named runbook by skill name (e.g. check-system-health)

runtime_info

Get Prometheus runtime information

series

Finds series by label matchers

snapshot

creates a snapshot of all current data into snapshots/<datetime>-<rand> under the TSDB's data directory and returns the directory as response

targets_metadata

Returns metadata about metrics currently scraped by the target

tsdb_stats

Get usage and cardinality statistics from the TSDB

wal_replay_status

Get current WAL replay status

工具变更历史

比较相同配置的完整检查。只列出工具,未调用工具。此处不测量输入结构的变化。

尚无完整工具检查。