analytics
Opsgenie MCP, CLI, and Lua Integration for AI Agents
Opsgenie integration docs for AI agents: MCP gateway setup, Opsgenie CLI commands, Lua API reference, credentials, and function schemas.Opsgenie for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
opsgenie.opsgenie_list_alerts | Read read | 5 | List Opsgenie alerts. Optionally filter by query, status, or priority. Returns alert IDs, messages, statuses, and priorities. |
opsgenie.opsgenie_get_alert | Read read | 1 | Get full details of a specific Opsgenie alert by its ID. Returns message, description, priority, status, tags, and recipients. |
opsgenie.opsgenie_create_alert | Write write | 13 | Create a new Opsgenie alert. Specify message, priority (P1–P5), and optional description, alias, tags, teams, or recipients. |
opsgenie.opsgenie_list_incidents | Read read | 5 | List Opsgenie incidents. Optionally filter by query, status, or priority. Returns incident IDs, messages, statuses, and priorities. |
opsgenie.opsgenie_get_incident | Read read | 1 | Get full details of a specific Opsgenie incident by its ID. Returns message, description, priority, status, impacted services, and responders. |
opsgenie.opsgenie_list_teams | Read read | 0 | List all Opsgenie teams. Returns team IDs, names, and descriptions. |
opsgenie.opsgenie_get_current_user | Read read | 0 | Get the currently authenticated Opsgenie user. Useful for verifying credentials and identifying the connected account. |