Purpose
openITCOCKPIT MCP Server is an MCP server whose purpose is to establish a channel between an openITCOCKPIT monitoring instance and an LLM client. It enables language models to answer questions such as "what is broken, why is it broken, who is already handling it, and what has changed"; after write tools are enabled, it can also perform operations on the monitoring configuration.
Main capabilities
- Provides 42 tools: 20 read-only tools and 22 tools that change state.
- Read content covers host and service status, check history, logs, downtimes, acknowledgements, software inventory, and pending security updates.
- Write tools are disabled by default and are not registered until enabled, so they cannot be called by default.
- Tools use names rather than IDs: they accept host names, template names, and container paths, and the server resolves them itself.
- Write operations have scope validation: before sending anything, references are validated against the target container, which openITCOCKPIT's own API does not do.
Usage
- Point the client at
http://localhost:8000/mcpand use the bearer token in.env. - Compose reads the same file to obtain the published port, so setting
OITC_PORTthere moves both ends at the same time. - There are three key settings at startup:
MCP_AUTH_TOKEN(the token the client presents to this server),OITC_BASEURLandOITC_APIKEY(the credentials this server presents to openITCOCKPIT). All other settings have defaults. - Requires openITCOCKPIT 5.6 or later.
Toolsets and how to limit them
Running a monitoring instance is not a single task, so the server keeps all tools needed for each job and then gives one portion of them to an agent via a toolset: about ten tools, complete for that task and no more. Tools that were never registered cannot be called at all. The officially bundled toolsets include: health, operations, lifecycle, patch, reporting, catalog, onboarding, config, and provisioning. Toolsets are defined in replaceable files (docs/toolsets.md).
Evaluation
oitc-mcp-eval will ask operator questions about your instance and check whether the model answers based on tools rather than making things up. The results of each run are saved in SQLite, making it easy to compare different models and changes.
Security notes
The server holds one openITCOCKPIT credential and never sends it to the client. Clients authenticate with their own token; in delegation mode, each request carries a short-lived user token, and the server acts as that user and with that user's permissions. Write tools remain unregistered until enabled.
Limitations and risks
- The official notice explicitly says "use at your own risk": this server allows language models to read and, after write tools are enabled, to modify the monitoring configuration.
- Models may misunderstand requests or choose the wrong call, so their proposed actions should be reviewed before approval, and you should start with read-only access.
- The software is provided "as is", without any warranty or liability of any kind (MIT License).
- For each tool's name, parameters, and context overhead, see docs/tools.md (generated from the code); for result shapes and write behavior, see docs/using-the-tools.md.