incident.io
Interact with the incident.io API to manage incidents and workflows.
incident.io MCP Server
A GoLang implementation of an MCP (Model Context Protocol) server for incident.io, providing comprehensive tools to interact with the incident.io API. Built following industry-standard Go project layout patterns.
⚠️ Fair warning! ⚠️
We're experimenting a fair bit in the MCP space, so use at your own risk! 🚀 If you find issues, please raise issues in the repository.
🚀 Quick Start
go run github.com/incident-io/incidentio-mcp-golang/cmd/mcp-server@latest
📋 Features
- ✅ Complete incident.io V2 API coverage including Custom Fields
- ✅ Workflow automation and management
- ✅ Alert routing and event handling
- ✅ Comprehensive test suite
- ✅ MCP protocol compliant
- ✅ Industry-standard Go project structure
- ✅ Clean, layered architecture (client → handlers → server)
🤖 Using with Claude
Add to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"incidentio": {
"command": "go",
"args":[
"run",
"github.com/incident-io/incidentio-mcp-golang/cmd/mcp-server@latest"
],
"env": {
"INCIDENT_IO_API_KEY": "your-api-key"
}
}
}
}
Or, if you'd prefer to run everything in Docker:
# Clone the repository
git clone https://github.com/incident-io/incidentio-mcp-golang.git
cd incidentio-mcp-golang
# Set up environment
cp .env.example .env
# Edit .env and add your incident.io API key
{
"mcpServers": {
"incidentio": {
"command": "docker-compose",
"args": ["-f", "/path/to/docker-compose.yml", "run", "--rm", "-T", "mcp-server"],
"env": {
"INCIDENT_IO_API_KEY": "your-api-key"
}
}
}
}
Available Tools
Incident Management
list_incidents- List incidents with optional filtersget_incident- Get details of a specific incidentcreate_incident- Create a new incidentupdate_incident- Update an existing incidentclose_incident- Close an incident with proper workflowcreate_incident_update- Post status updates to incidents
Follow-up Management
list_follow_ups- List follow-ups with optional filtersget_follow_up- Get details of a specific follow-up
Postmortem Management
list_postmortems- List postmortem documents with optional filtersget_postmortem- Get metadata for a specific postmortem documentget_postmortem_content- Get the full markdown content of a postmortem
Alert Management
list_alerts- List alerts with optional filtersget_alert- Get details of a specific alertlist_incident_alerts- List connections between incidents and alertscreate_alert_event- Create an alert eventlist_alert_routes- List and manage alert routes
Workflow & Automation
list_workflows- List available workflowsget_workflow- Get workflow detailsupdate_workflow- Update workflow configuration
Team & Roles
list_users- List organization userslist_available_incident_roles- List available incident rolesassign_incident_role- Assign roles to users
Catalog Management
list_catalog_types- List available catalog typeslist_catalog_entries- List catalog entriesupdate_catalog_entry- Update catalog entries
Custom Fields
list_custom_fields- List all custom fieldsget_custom_field- Get details of a specific custom fieldsearch_custom_fields- Search for custom fields by name or typecreate_custom_field- Create a new custom fieldupdate_custom_field- Update custom field configurationdelete_custom_field- Delete a custom fieldlist_custom_field_options- List all custom field optionscreate_custom_field_option- Add a new option to a select field
📝 Example Usage
# Through Claude or another MCP client
"Show me all active incidents"
"Create a new incident called 'Database performance degradation' with severity high"
"List alerts for incident INC-123"
"Assign John Doe as incident lead for INC-456"
"Update the Payments service catalog entry with new team information"
"Show me all custom fields configured in incident.io"
"Search for custom fields related to 'priority'"
"Create a new custom field called 'Root Cause' with type single_select"
"List all postmortems for incident INC-123"
"Get the full content of the postmortem for our last major incident"
📚 Documentation
- Development Guide - Setup, testing, and contribution guidelines
- Configuration Guide - Environment variables and deployment options
- Contributing Guide - How to contribute to the project
- Testing Guide - Testing documentation and best practices
- Deployment Guide - Deployment instructions and considerations
- Code of Conduct - Community guidelines and standards
🏗️ Project Structure
This project follows industry-standard Go project layout:
├── cmd/mcp-server/ # Main application entry point
├── internal/
│ ├── client/ # incident.io API client (HTTP layer)
│ ├── handlers/ # MCP protocol handlers (adapter layer)
│ └── server/ # MCP server orchestration
├── pkg/mcp/ # Public MCP types
└── docs/ # Documentation
Design Philosophy:
internal/client: Pure HTTP API client for incident.io - reusable, testableinternal/handlers: MCP protocol adapters - converts MCP requests to API callsinternal/server: MCP server that orchestrates handlers and manages the protocol
🔧 Troubleshooting
Common Issues
- 404 errors: Ensure incident IDs are valid and exist in your instance
- Authentication errors: Verify your API key is correct and has proper permissions
- Parameter errors: All incident-related tools use
incident_idas the parameter name
Debug Mode
Enable debug logging by setting environment variables:
export MCP_DEBUG=1
export INCIDENT_IO_DEBUG=1
./start-mcp-server.sh
🤝 Contributing
Contributions are welcome! Please see our Development Guide for details on setup, testing, and contribution guidelines.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Built with the Model Context Protocol specification
- Powered by incident.io API
- Created with assistance from Claude
Servidores relacionados
Unmarkdown
The document publishing layer for AI tools: Create, style, and publish formatted documents from any MCP client.
Wishfinity +W
Universal wishlist for AI shopping. Save any product URL from any store to a persistent wishlist directly from AI conversations.
Offorte
Create and send business proposals using AI with Offorte.
MCP Calendar Assistant
An intelligent assistant for managing calendars and tasks.
Claude Desktop Extension
An MCP extension for the Claude Desktop application that enables automation and integration.
Rebrandly MCP Tool (Go)
Generate short URLs using the Rebrandly API.
NPX-MCP
A TypeScript server for automation and integration, featuring Microsoft OAuth, browser control, and basic utilities.
SoftCroft Doc Server MCP
Manages BookStack documentation for the SoftCroft multi-agent system, aiding in Sage 200 to Odoo 17 migration.
legends-mcp
Chat with legendary founders & investors via MCP. 36 AI personas including Elon Musk, Warren Buffett, Steve Jobs, CZ, and more. No API key required - Claude does the roleplay!
OneNote MCP
An MCP server for Microsoft OneNote that supports personal notebooks and caches credentials for authentication.