Alertmanager MCP server
MCP server by ntk148v Verified · gh:ntk148v
Alertmanager MCP server lets AI assistants query and manage Prometheus Alertmanager resources. It covers alerts, silences, receivers and alert groups. It suits teams that run Alertmanager and want to work with it through an assistant.
Install Alertmanager MCP server
Built from the published package, never by AI.
claude mcp add alertmanager-mcp-server -- uvx alertmanager_mcp_serverRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Alertmanager MCP server in Claude Code
{
"mcpServers": {
"alertmanager-mcp-server": {
"args": [
"alertmanager_mcp_server"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Alertmanager MCP server in Claude Desktop
{
"mcpServers": {
"alertmanager-mcp-server": {
"args": [
"alertmanager_mcp_server"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"alertmanager-mcp-server": {
"args": [
"alertmanager_mcp_server"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add alertmanager-mcp-server -- uvx alertmanager_mcp_server{
"mcpServers": {
"alertmanager-mcp-server": {
"args": [
"alertmanager_mcp_server"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Alertmanager MCP server in Antigravity CLI
gemini mcp add alertmanager-mcp-server uvx alertmanager_mcp_serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the alertmanager-mcp-server block.
About
Prometheus Alertmanager MCP is a Model Context Protocol server for Prometheus Alertmanager. It lets AI assistants and tools query and manage Alertmanager resources. The tools follow Alertmanager's API v2 and cover status, alerts, silences, receivers and alert groups.
List tools return paginated results with an offset, a count and a has_more flag, which helps keep large alert sets within an LLM context window. Connection settings come from environment variables, including the Alertmanager URL, optional basic auth and an optional tenant for Mimir or Cortex. The server runs over stdio by default, and also supports http and sse transports. It is aimed at people who use Alertmanager and want an AI assistant to help review alerts and manage silences.
Written from the project's README and checked against it.
Tools it gives your assistant
get_statusReturns the Alertmanager status.get_alertsLists alerts with filters and pagination, 10 per page by default, max 25.get_silencesLists silences with filters and pagination, 10 per page by default, max 50.post_silenceCreates a silence from a silence dictionary.delete_silenceDeletes a silence by its ID.get_receiversLists the configured Alertmanager receivers.get_alert_groupsLists alert groups with pagination, 3 per page by default, max 5.
What you need
- Python 3.12 or newer
- uv for dependency management
- A reachable Prometheus Alertmanager server
- Docker (optional, for containerized deployment)
Try asking
- Show me current alerts
- Filter alerts related to CPU issues
- Create a silence for this alert for the next 2 hours
Good to know
- Alert groups have lower page limits because each group contains all of its alerts.
- The http and sse transports are unauthenticated unless MCP_API_KEY is set.
- The default bind address is 127.0.0.1, so network access needs explicit configuration.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Alertmanager MCP server
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
Alertmanager MCP server: common questions
Does the Alertmanager MCP server support authentication?
Yes. It supports basic auth through the ALERTMANAGER_USERNAME and ALERTMANAGER_PASSWORD environment variables. For the http and sse transports, MCP_API_KEY can require a bearer key.
Does it work with multi-tenant Alertmanager setups like Mimir or Cortex?
Yes. The ALERTMANAGER_TENANT variable sets the tenant ID at startup. The source says caller-supplied X-Scope-OrgId headers are ignored.
Which transport modes does the server support?
It supports stdio, http and sse. stdio is the default, and the host and port settings apply only to http and sse.
How do I install Alertmanager MCP server?
In Claude Code run claude mcp add alertmanager-mcp-server -- uvx alertmanager_mcp_server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Alertmanager MCP server the official server?
Alertmanager MCP server is published by gh:ntk148v from its verified domain in the official MCP Registry.
Is Alertmanager MCP server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Alertmanager MCP server safe to use?
It scores 68 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Alertmanager MCP server?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Alertmanager MCP server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
