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.
7 functions 6 read 1 write API key auth
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.
Machine-Readable Metadata
- integration_slug
opsgenie- route_slug
opsgenie- package
opsgenie- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Opsgenie CLIHeadless setup and direct function calls. Opsgenie MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Opsgenie MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Opsgenie.
Claude Code Opsgenie MCP setup for Claude Code. Cursor Opsgenie MCP setup for Cursor. Codex Opsgenie MCP setup for Codex. OpenAI Agents Opsgenie MCP setup for OpenAI Agents SDK. Claude Agent SDK Opsgenie MCP setup for Claude Agent SDK. Vercel AI SDK Opsgenie MCP setup for Vercel AI SDK. LangChain Opsgenie MCP setup for LangChain. LangGraph Opsgenie MCP setup for LangGraph. CrewAI Opsgenie MCP setup for CrewAI. MCP clients Opsgenie MCP setup for Generic MCP Clients.
Opsgenie CLI Matrix
Use these pages for direct Opsgenie CLI workflows in scripts, CI, cron, and agent wrappers.
CI Opsgenie CLI for CI. Cron Jobs Opsgenie CLI for cron jobs. Shell Scripts Opsgenie CLI for shell scripts. Headless Automation Opsgenie CLI for headless automation. Coding Agents Opsgenie CLI for coding agents.
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. |