Incident Management Skill
This skill allows you to create and list incidents using the Incident Management MCP server. It handles OAuth authentication if required.
Authentication
- •
The skill attempts to connect to the Incident Management MCP server.
- •
If the server requires OAuth, the skill will present an authentication URL to the user, following the process described in the mcp-server-oauth skill.
- •
If the mcp-server-oauth skill is not available, the skill will attempt to handle the OAuth flow itself using the references for portable scripts allow you to implement MCP OAuth on any platform:
- •
Clone/copy the scripts to your agent's execution environment
- •
Run
discover-oauth.jswhen connecting to a new MCP server - •
Run
build-auth-url.jsto generate the auth URL with PKCE - •
Present the URL to your user and wait for callback
- •
Run
exchange-token.jswith the authorization code - •
Store and inject the token in subsequent MCP requests
This works with Claude Desktop, Cursor, custom agents, or any environment with Node.js 18+.
- •After successful authentication (confirmed by the user), the skill stores the necessary credentials for future use.
Creating an Incident
- •Provide the required incident details:
- •
name(string): The name of the incident. - •
category(string): The category of the incident. - •
priority(string): The priority of the incident (critical, high, medium, low). - •
state(string): The state of the incident (raised, updated, cleared). - •
ackState(string): The ack state of the incident (acknowledged, unacknowledged). - •
occurTime(string): The time at which the incident occurred (e.g., 2024-01-01T12:00:00Z). - •
domain(string): The domain of the incident. - •
sourceObject(array): An array containing at least one object with anidrepresenting the source of the incident.
- •
- •The skill creates a new incident using the provided details.
Listing Incidents
- •The skill retrieves a list of existing incidents from the Incident Management MCP server.
- •The list of incidents is displayed to the user.
Usage
To create an incident, provide the required incident details. To list incidents, simply request the list.