@n9e/n9e-mcp-server
v0.1.1
Published
MCP server for Nightingale monitoring platform
Maintainers
Readme
Nightingale MCP Server
An MCP (Model Context Protocol) server for Nightingale monitoring system. This server enables AI assistants to interact with Nightingale APIs for alert management, monitoring, and observability tasks through natural language.
Key Use Cases
- Alert Management: Query active and historical alerts, view alert rules and subscriptions
- Target Monitoring: Browse and search monitored hosts/targets, analyze target status
- Incident Response: Create and manage alert mutes/silences, notification rules, and event pipelines
- Team Collaboration: Query users, teams, and business groups
Quick Start
1. Get an API Token
- Log in to your Nightingale web interface
- Navigate to Personal Settings > Profile > Token Management
- Create a new token with appropriate permissions
2. Configure MCP Client
Add to your MCP client config (e.g., ~/.cursor/mcp.json or ~/.opencode/mcp.json):
{
"mcpServers": {
"nightingale": {
"command": "npx",
"args": ["-y", "@n9e/n9e-mcp-server", "stdio"],
"env": {
"N9E_TOKEN": "your-api-token",
"N9E_BASE_URL": "http://your-n9e-server:17000"
}
}
}
}3. Restart Your MCP Client
Environment Variables
| Variable | Description | Default |
|----------|-------------|---------|
| N9E_TOKEN | Nightingale API token (required) | - |
| N9E_BASE_URL | Nightingale API base URL | http://localhost:17000 |
| N9E_READ_ONLY | Disable write operations | false |
| N9E_TOOLSETS | Enabled toolsets (comma-separated) | all |
Example Prompts
- "Show me all critical alerts from the last 24 hours"
- "What alerts are currently firing?"
- "List all monitored targets that have been down for more than 5 minutes"
- "Create a mute rule for service=api alerts for the next 2 hours"
Documentation
For full documentation and available tools, see the GitHub repository.
License
Apache License 2.0
