incident.io
An MCP server for interacting with the incident.io V2 API for incident management.
incident.io MCP Server
A GoLang implementation of an MCP (Model Context Protocol) server for incident.io, providing tools to interact with the incident.io V2 API.
⚠️ Fair warning! ⚠️
This repository is largely vibe-coded and unsupported. Built by our CMO and an enterprising Solutions Engineer with questionable coding practices but undeniable enthusiasm. Use at your own risk! 🚀
🚀 Quick Start
# 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
# Build and run
go build -o bin/mcp-server ./cmd/mcp-server
./start-mcp-server.sh
📋 Features
- ✅ Complete incident.io V2 API coverage
- ✅ Workflow automation and management
- ✅ Alert routing and event handling
- ✅ Comprehensive test suite
- ✅ MCP protocol compliant
- ✅ Clean, modular architecture
🤖 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": "/path/to/incidentio-mcp-golang/start-mcp-server.sh",
"env": {
"INCIDENT_IO_API_KEY": "your-api-key"
}
}
}
}
Or, if you'd prefer to run everything in Docker:
{
"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
Alert Management
list_alerts
- List alerts with optional filtersget_alert
- Get details of a specific alertlist_alerts_for_incident
- List alerts for an incidentcreate_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
📝 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"
📚 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
🔧 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_id
as 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
Related Servers
Beancount MCP
Execute Beancount queries and submit transactions to a ledger.
Planfix
An MCP server for integrating with the Planfix project management and CRM platform.
Monarch Money
Access and manage your Monarch Money financial data and operations.
MCP Resume Server
Fetches resume data from a GitHub gist to provide professional background context to LLMs.
Google Contacts
Manage your Google Contacts, allowing you to create, search, and update contacts.
macOS Automator
Run AppleScript and JXA scripts to automate tasks on macOS.
Powerpoint
Create PowerPoint presentations with AI-generated images using the Stable Diffusion API.
Nineteen Blocks Sales Automation
A sales automation system that integrates Gmail, Google Sheets, Streak CRM, Notion, and Google Drive into a unified workflow.
LearnMCP Server
An MCP server that enhances the Forest application with learning content extraction and summarization capabilities.
Vedit-MCP
Perform basic video editing operations using natural language commands. Requires ffmpeg to be installed.