openITCOCKPIT MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OITC_HOST | No | Bind address for HTTP transport. Defaults to '0.0.0.0'. | 0.0.0.0 |
| OITC_PORT | No | Port for HTTP transport. Defaults to '8000'. | 8000 |
| OITC_APIKEY | Yes | API key for openITCOCKPIT. Required always. | |
| OITC_BASEURL | Yes | Base URL of the openITCOCKPIT instance. Required always. | |
| MCP_AUTH_TOKEN | No | Bearer token for HTTP transport. Required when OITC_TRANSPORT is 'http'. Must differ from OITC_APIKEY. | |
| OITC_CA_BUNDLE | No | Path to a CA bundle for self-signed instances. Optional. | |
| OITC_LOG_LEVEL | No | Log level (e.g., INFO, DEBUG). Defaults to 'INFO'. | INFO |
| OITC_TRANSPORT | No | Transport mode: 'http' or 'stdio'. Defaults to 'http'. | http |
| OITC_VERIFY_TLS | No | Whether to verify TLS certificates. Defaults to 'true'. | true |
| OITC_SHOW_BANNER | No | Print start-up banner. Defaults to 'true'. | true |
| OITC_COMPACT_CONTENT | No | Summarise text content. Defaults to 'false'. | false |
| OITC_TIMEOUT_SECONDS | No | Request timeout in seconds. Defaults to '20'. | 20 |
| OITC_ENABLE_WRITE_TOOLS | No | Set to 'true' to enable write tools. Defaults to 'false'. | false |
| OITC_SCOPE_CACHE_ENABLED | No | Enable scope-validation cache. Defaults to 'true'. | true |
| OITC_SCOPE_CACHE_TTL_SECONDS | No | Cache TTL in seconds. Defaults to '30'. | 30 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_log_entriesA | Host and service alert log entries from the last Each entry resolves its host and service name, costing one extra API request per entry. |
| get_host_infoA | Detailed status of a host plus the services running on it.
A host present in the configuration but not yet known to the monitoring engine is
returned with |
| list_services_by_stateA | Services currently in a given state. Pass state="critical" for the usual "what is broken" question. Before reporting an entry as a new incident, check list_service_acknowledgements and list_service_downtimes: a problem already acknowledged or inside a downtime window is known work. |
| get_monitoring_engine_statsA | Health of the monitoring engine itself: how many hosts and services it watches, and its check throughput and latency. Relevant when many unrelated checks fail at once: high check latency or a collapsed check rate means the engine is behind and its results are stale, which looks identical to a real outage. |
| list_host_downtimesA | Scheduled and running downtimes for hosts. Leave hostname empty for all hosts. Set only_active=True for downtimes running right now, rather than also those scheduled for later. |
| list_service_downtimesA | Scheduled and running downtimes for services. Leave hostname/servicename empty for all services. Set only_active=True for downtimes running right now. |
| list_host_acknowledgementsA | Acknowledgement history for one host: who acknowledged a problem, when, and with what comment. Per host only - openITCOCKPIT exposes no estate-wide acknowledgement list. To find out whether current problems are already handled, take the hosts from list_services_by_state and call this for each one. |
| list_service_acknowledgementsA | Acknowledgement history for one service: who acknowledged a problem, when, and with what comment. Per service only - openITCOCKPIT exposes no estate-wide acknowledgement list. |
| list_hostgroupsA | List host groups with their name and description. Use this to find a group's exact name before filtering hosts or services by it. |
| list_servicegroupsA | List service groups with their name and description. Use this to find a group's exact name before filtering by it. |
| list_servicetemplategroupsA | List service template groups (named groups of service templates, used e.g. to bulk-apply services to hosts). |
| list_commandsA | Find monitoring commands (check, notification and event-handler commands) by name. An instance holds hundreds; pass name_filter with a substring to narrow the result. |
| list_hosttemplatesA | Find host templates (reusable check/notification configurations for hosts) by name. Pass name_filter with a substring to narrow the result. get_allowed_elements_for_container reports which templates a specific container accepts. |
| list_servicetemplatesA | Find service templates (reusable check/notification configurations for services) by name. An instance holds hundreds; pass name_filter with a substring to narrow the result. |
| list_contactsA | Find contacts (people who can be notified) by name. Pass name_filter with a substring to narrow the result. |
| list_contactgroupsA | List contact groups (named groups of contacts used for notifications). |
| get_container_treeA | Get the organizational structure (containers: tenants, locations, nodes) starting at the given container, including which hosts, host groups and service groups live directly under it. Leave container_name at 'root' for the top-level structure. |
| list_host_checksA | Individual check executions for a host, newest first: output, latency and execution time per run. Returns one row per check execution. list_host_state_changes covers only the points where the state changed. |
| list_service_checksA | Individual check executions for a service, newest first: output, latency and execution time per run. Returns one row per check execution; list_service_state_changes covers only the points where the state changed. A rising executionTime before a failure indicates a timeout or resource exhaustion, an instant failure a configuration, auth or service-down condition. |
| list_host_state_changesA | Only the entries where a host's state changed, i.e. the timeline of an incident rather than every check run. |
| list_service_state_changesA | Only the entries where a service's state changed. Shows when it broke and whether it is flapping. |
| list_installed_softwareA | Software installed on a host, from the openITCOCKPIT agent's inventory. OS is auto-detected (Linux, Windows, macOS). A host carries hundreds to thousands of packages. Pass name_filter to search by package name, or only_updatable=True for just the outdated ones. For updates across the whole estate use list_pending_updates or list_pending_security_updates. A host with no agent inventory at all raises, rather than returning zero rows. |
| list_pending_security_updatesA | Hosts with pending security updates, with the package names and versions for each. Shorter than list_pending_updates and usually the relevant one. Naming each package costs one API request, so max_packages_per_host caps how many are resolved per host; the update count itself is always exact. |
| list_pending_updatesA | Hosts with any pending updates, security or not, with package names and versions. Covers all updates, not only security ones, and is correspondingly larger. Naming each package costs one API request, capped by max_packages_per_host. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| oitc-incident-triage | Investigate a failing host or service in openITCOCKPIT - find what broke, when, whether it is already handled, and whether the monitoring itself is at fault. Use when someone reports an alert, asks "what is broken", or asks why a service is critical. |
| oitc-patch-review | Produce a patch and security-update overview across the monitored estate from openITCOCKPIT's software inventory. Use when asked which machines need updates, which have pending security patches, or what is installed on a host. |
| oitc-capabilities | What this openITCOCKPIT server can and cannot do. Use when a request seems to need a tool you cannot find - acknowledging a problem, scheduling a downtime, deleting or disabling an object, forcing a recheck, or making a newly created host actually monitored. Read this before telling an operator something is impossible, and before inventing a tool name. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| oitc-incident-triage | Investigate a failing host or service in openITCOCKPIT - find what broke, when, whether it is already handled, and whether the monitoring itself is at fault. Use when someone reports an alert, asks "what is broken", or asks why a service is critical. |
| oitc-patch-review | Produce a patch and security-update overview across the monitored estate from openITCOCKPIT's software inventory. Use when asked which machines need updates, which have pending security patches, or what is installed on a host. |
| oitc-capabilities | What this openITCOCKPIT server can and cannot do. Use when a request seems to need a tool you cannot find - acknowledging a problem, scheduling a downtime, deleting or disabling an object, forcing a recheck, or making a newly created host actually monitored. Read this before telling an operator something is impossible, and before inventing a tool name. |
| system-prompt | Baseline behaviour for an openITCOCKPIT assistant. Belongs in the client's system prompt, not in a message. |
| system-prompt.de | The same baseline behaviour in German, section for section. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/openITCOCKPIT/openITCOCKPIT-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server