1. Conduid
  2. AI
  3. Opsgenie
MCP server · AI

Opsgenie

Model Context Protocol (MCP) server for OpsGenie

Unclaimed Apache-2.0 mcpopsgeniealerts
59Fair

Scored yesterday · breakdown

About Opsgenie

Opsgenie is an MCP server published by giantswarm in the AI category: model Context Protocol (MCP) server for OpsGenie.

The repository has 9 stars and 3 forks, with the last commit 5 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Install
npx mcp-opsgenie
Claude Code
claude mcp add opsgenie -- npx -y mcp-opsgenie
npx
npx -y mcp-opsgenie

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (8)

acknowledge_alertUpdate

Parameters not published.

get_alertRead

Parameters not published.

get_heartbeatRead

Parameters not published.

get_teamRead

Parameters not published.

list_alertsRead

Parameters not published.

list_heartbeatsRead

Parameters not published.

list_teamsRead

Parameters not published.

unacknowledge_alertUpdate

Parameters not published.

Ask AI

✦

Ask AI about Opsgenie

Powered by Claude · Grounded in docs

I know everything about Opsgenie. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository just now. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.0.54mcp-opsgenie v0.0.54 · 8 May 2026What's Changed chore(deps): update go toolchain directive to v1.26.3 by @renovate[bot] in https://github.com/giantswarm/mcp-opsgenie/pull/79 Full Changelog**: https://github.com/giantswarm/mcp-opsgenie/compare/v0.0.53...v0.0.54
v0.0.53mcp-opsgenie v0.0.53 · 7 May 2026What's Changed fix(deps): update module github.com/mark3labs/mcp-go to v0.52.0 by @renovate[bot] in https://github.com/giantswarm/mcp-opsgenie/pull/76 Full Changelog**: https://github.com/giantswarm/mcp-opsgenie/compare/v0.0.52...v0.0.53
v0.0.52mcp-opsgenie v0.0.52 · 7 May 2026What's Changed chore(deps): update dependency architect to v8.0.2 by @renovate[bot] in https://github.com/giantswarm/mcp-opsgenie/pull/78 Full Changelog**: https://github.com/giantswarm/mcp-opsgenie/compare/v0.0.51...v0.0.52
v0.0.51mcp-opsgenie v0.0.51 · 6 May 2026What's Changed chore(deps): update dependency architect to v8 by @renovate[bot] in https://github.com/giantswarm/mcp-opsgenie/pull/77 Full Changelog**: https://github.com/giantswarm/mcp-opsgenie/compare/v0.0.50...v0.0.51
v0.0.50mcp-opsgenie v0.0.50 · 3 May 2026What's Changed fix(deps): update module github.com/mark3labs/mcp-go to v0.50.0 by @renovate[bot] in https://github.com/giantswarm/mcp-opsgenie/pull/75 Full Changelog**: https://github.com/giantswarm/mcp-opsgenie/compare/v0.0.49...v0.0.50

README

CircleCI GoDoc

OpsGenie MCP Server

A Model Context Protocol server that enables AI assistants to interact with OpsGenie

Overview

The OpsGenie MCP Server is a Model Context Protocol (MCP) server that provides AI assistants and other MCP clients with standardized access to OpsGenie. This server acts as a bridge between AI tools and your OpsGenie instance, allowing for automated management of alerts, teams, and heartbeats through natural language interactions.

Features

  • Alert Management: List, get, acknowledge, and unacknowledge OpsGenie alerts.
  • Team Management: List and get details for teams.
  • Heartbeat Monitoring: List and get the status of heartbeats.
  • Powerful Alert Filtering: Utilize advanced search queries to filter alerts.
  • Multi-Transport Support: Connect via stdio, Server-Sent Events (SSE), or Streamable HTTP.
  • Enhanced CLI: Version management, self-update capability, and comprehensive help system.
  • MCP Compliance: Fully compatible with the Model Context Protocol for seamless integration.
  • Secure Authentication: Uses OpsGenie API tokens for secure access.
  • Flexible Configuration: Configurable API endpoints, transport options, and logging.
  • Backwards Compatible: Maintains compatibility with existing configurations and scripts.

Prerequisites

  • Go 1.24.4 or later
  • An OpsGenie API token with appropriate permissions
Tool OpsGenie Permission
list_alerts Read
get_alert Read
acknowledge_alert Update
unacknowledge_alert Update
list_heartbeats Read
get_heartbeat Read
list_teams Read
get_team Read

Installation

Using Go Install

go install github.com/giantswarm/mcp-opsgenie@latest

Building from Source

git clone https://github.com/giantswarm/mcp-opsgenie.git
cd mcp-opsgenie
go build -o mcp-opsgenie

Self-Update

The server includes a built-in self-update mechanism:

mcp-opsgenie self-update

Configuration

Environment Variables

Set your OpsGenie API token as an environment variable:

export OPSGENIE_TOKEN="your-opsgenie-api-token-here"

Usage

CLI Commands

The MCP server provides several commands:

$ mcp-opsgenie --help
An MCP (Model Context Protocol) server that connects to OpsGenie's API.
This server enables AI assistants and other MCP clients to interact with your OpsGenie
instance through a standardized protocol.

The server requires an OpsGenie API token to authenticate with the service.

When run without subcommands, it starts the MCP server (equivalent to 'mcp-opsgenie serve').

Usage:
  mcp-opsgenie [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  self-update Update mcp-opsgenie to the latest version
  serve       Start the MCP OpsGenie server
  version     Print the version number of mcp-opsgenie

Flags:
      --api-url string            Base URL for the OpsGenie API endpoint (default "api.opsgenie.com")
  -h, --help                      help for mcp-opsgenie
      --http-addr string          HTTP server address (for sse and streamable-http transports) (default ":8080")
      --http-endpoint string      HTTP endpoint path (for streamable-http transport) (default "/mcp")
      --log-file string           Path to log file (logs is disabled if not specified)
      --message-endpoint string   Message endpoint path (for sse transport) (default "/message")
      --sse-endpoint string       SSE endpoint path (for sse transport) (default "/sse")
      --token-env-var string      Name of environment variable containing your OpsGenie API token (default "OPSGENIE_TOKEN")
      --transport string          Transport type: stdio, sse, or streamable-http (default "stdio")
  -v, --version                   version for mcp-opsgenie

Use "mcp-opsgenie [command] --help" for more information about a command.

Basic Usage (Backwards Compatible)

Start the MCP server with default settings using stdio transport:

# Both commands are equivalent and start the server
mcp-opsgenie
mcp-opsgenie serve

Multi-Transport Support

The server supports three transport types for different deployment scenarios:

Standard I/O (Default)

Best for MCP client integrations and development:

mcp-opsgenie serve --transport stdio

Server-Sent Events (SSE)

Ideal for web applications and browser-based clients:

mcp-opsgenie serve --transport sse --http-addr :8080

Streamable HTTP

Perfect for HTTP-based integrations and REST-like interactions:

mcp-opsgenie serve --transport streamable-http --http-addr :8080

Advanced Configuration Examples

# Use a custom API endpoint
mcp-opsgenie --api-url "https://api.eu.opsgenie.com"

# Use a different environment variable for the token
mcp-opsgenie --token-env-var "CUSTOM_OPSGENIE_TOKEN"

# Enable logging to a file
mcp-opsgenie --log-file "mcp-opsgenie.log"

# Run with SSE transport on custom port with custom endpoints
mcp-opsgenie serve \
  --transport sse \
  --http-addr :9090 \
  --sse-endpoint /events \
  --message-endpoint /messages

# Run with streamable HTTP transport
mcp-opsgenie serve \
  --transport streamable-http \
  --http-addr :8080 \
  --http-endpoint /api/mcp

Version Management

# Check current version
mcp-opsgenie version
mcp-opsgenie --version

# Update to latest version
mcp-opsgenie self-update

Integration with AI Assistants

This MCP server can be integrated with various AI assistants that support the Model Context Protocol:

  • Cursor: The server can be integrated with Cursor for AI-powered development.
  • VSCode Insiders: Compatible with VSCode Insiders for enhanced coding assistance.
  • Claude Desktop: Add the server to your Claude Desktop configuration
  • Custom MCP Clients: Use any MCP-compatible client to connect

Example MCP Client Configuration

Standard I/O Transport (Recommended)

{
  "servers": {
    "opsgenie": {
      "command": "/path/to/mcp-opsgenie",
      "env": {
        "OPSGENIE_TOKEN": "your-api-token-here"
      }
    }
  }
}

SSE Transport

{
  "servers": {
    "opsgenie": {
      "url": "http://localhost:8080/sse",
      "transport": "sse"
    }
  }
}

Streamable HTTP Transport

{
  "servers": {
    "opsgenie": {
      "url": "http://localhost:8080/mcp",
      "transport": "http"
    }
  }
}

Available Tools

list_alerts

Retrieve a list of alerts from OpsGenie using advanced search queries.

Parameters:

  • query (optional): Search query for filtering alerts

For comprehensive query documentation, see the OpsGenie Search Documentation.

get_alert

Retrieves a single alert from OpsGenie using its ID.

Parameters:

  • id: Identifier of the alert to be retrieved.

acknowledge_alert

Acknowledges an alert in OpsGenie.

Parameters:

  • id: Identifier of the alert to acknowledge.
  • note (optional): Note to add to the alert.
  • user (optional): Display name of the request owner.
  • source (optional): Display name of the request source.

unacknowledge_alert

Unacknowledges an alert in OpsGenie.

Parameters:

  • id: Identifier of the alert to unacknowledge.
  • note (optional): Note to add to the alert.
  • user (optional): Display name of the request owner.
  • source (optional): Display name of the request source.

list_teams

Retrieve a list of all teams from OpsGenie.

get_team

Retrieves a single team from OpsGenie by its ID or name.

Parameters:

  • identifier: Name or ID of the team to retrieve.
  • identifier_type (optional): Type of the identifier. Possible values are 'id' and 'name'. Defaults to 'id'.

list_heartbeats

Retrieve a list of all heartbeats from OpsGenie.

get_heartbeat

Retrieves a single heartbeat from OpsGenie by its name.

Parameters:

  • name: Name of the heartbeat to retrieve.

Deployment

Docker

You can run the server in a Docker container:

FROM golang:1.24.4-alpine AS builder
WORKDIR /app
COPY . .
RUN go build -o mcp-opsgenie

FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /app/mcp-opsgenie .
EXPOSE 8080
CMD ["./mcp-opsgenie", "serve", "--transport", "sse", "--http-addr", ":8080"]

Systemd Service

Create a systemd service for automatic startup:

[Unit]
Description=OpsGenie MCP Server
After=network.target

[Service]
Type=simple
User=mcp
ExecStart=/usr/local/bin/mcp-opsgenie serve --log-file /var/log/mcp-opsgenie.log
Environment=OPSGENIE_TOKEN=your-token-here
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target

Development

Building

go build -v .

Testing

make test

Contributing

We welcome contributions! Please see our Contributing Guide for details on how to submit issues, feature requests, and pull requests.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Support

For support and questions:

README fetched from the repository just now. The original is authoritative.

Questions

About Opsgenie

How do I install Opsgenie?

Run npx mcp-opsgenie, then add the server to your MCP client's configuration.

Is Opsgenie safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Opsgenie still maintained?

Yes — the latest release is v0.0.54 (8 May 2026), and the last commit was 5 months ago. The repository has 9 stars.