Provides tools for monitoring and analyzing Kubernetes cluster alerts through Karma Alert dashboard, including listing alerts by cluster, filtering by severity and state, and retrieving detailed alert information.
Karma MCP Server
Simple MCP server for integrating Claude with Karma Alert dashboard.
Quick Start
1. Install dependencies
2. Configure environment
3. Test with your Karma instance
4. Using Docker (Alternative)
5. Configure in Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json
):
Available Tools
check_karma
: Check connection to Karma serverlist_alerts
: List all active alerts with basic infoget_alerts_summary
: Get statistical summary of alerts by severity and stateget_alert_details
: Get detailed information about a specific alert by namelist_clusters
: List all available Kubernetes clusters with alert countslist_alerts_by_cluster
: Filter alerts by specific cluster name
How it works
This MCP server connects to your Karma Alert dashboard API and provides tools for Claude to:
- Check if Karma is accessible
- Retrieve and display active alerts
- Filter alerts by cluster, severity, namespace, and state
- Get detailed information about specific alerts
- Analyze alert statistics and trends
The server uses the Karma JSON API endpoints to fetch alert data.
Testing
Manual testing scripts are available in tests/manual/
:
See tests/manual/README.md
for complete testing documentation.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Development Setup
Running Tests
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Karma Alert Dashboard by prymitive
- Model Context Protocol by Anthropic
- FastMCP for simplified MCP server development
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables Claude to interact with Karma Alert dashboard to monitor and analyze Kubernetes alerts. Provides tools to check alert status, filter by cluster/severity, get detailed alert information, and analyze alert statistics and trends.