Skip to main content
Cachet includes a built-in Model Context Protocol (MCP) server that lets AI agents, such as Claude Code, Claude Desktop, and Cursor, operate your status page. Agents connected over MCP can manage components, incidents, incident templates, schedules, metrics, and subscribers.

Enabling the MCP server

The MCP server is disabled by default. To enable it, open Settings in your Cachet dashboard. Under MCP Server Settings, turn on Enable MCP Server. While the server is disabled, every MCP request receives a 404 response. Once enabled, the MCP server is available over the streamable HTTP transport at the /mcp path of your Cachet installation:
When you change Enable MCP Server, Cachet turns Require Authentication back on to prevent accidental public access.

Authentication

The MCP server uses the same API keys as the Cachet API. Send the token as a bearer token in the Authorization header:
The “Require Authentication” setting controls who may connect:
  • Enabled (default): Every MCP connection requires an API key. Requests without a valid token receive a 401 response.
  • Disabled: Read-only tools are public, matching the status page and the API. Write tools always require an API key with the matching permission.
The permissions on an API key determine which tools an agent can use. Write tools are only advertised to sessions whose token holds the matching permission, so an agent connecting with a read-only key is only offered read-only tools. Unauthenticated sessions see exactly what a status page guest sees: components in hidden groups, disabled components, and invisible incidents and schedules are excluded from results. Authenticated sessions can see all resources, matching the Cachet API.
Create a dedicated API key for each agent with only the permissions it needs. For example, an incident response agent may only need the “Manage Incidents” and “Manage Incident Updates” permissions.

Connecting an agent

Claude Code

Other MCP clients

Any MCP client that supports the streamable HTTP transport can connect with a configuration similar to:

Available tools

Most read-only tools require no permission. Subscriber tools and write tools require an API key with the permission listed below.

Status

Components

Component groups

Incidents

Incident updates

Incident templates

Schedules

Schedule updates

Metrics

Metric points

Subscribers

Every subscriber tool requires a permission, including list_subscribers, because subscriber data contains email addresses.

Rate limiting

Cachet rate-limits the MCP server to 300 requests per minute per API key, or per IP address for unauthenticated sessions.
You can override the default rate limit by setting the CACHET_MCP_RATE_LIMIT environment variable.