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 — the same capabilities as the Cachet dashboard.

Enabling the MCP server

The MCP server is disabled by default. To enable it, go to the “Settings” section of your Cachet dashboard and turn on the “Enable MCP Server” setting in the “MCP Server Settings” section. While the server is disabled, every MCP request responds with a 404. Once enabled, the MCP server is available over the streamable HTTP transport at the /mcp path of your Cachet installation:
Whenever the “Enable MCP Server” setting is changed, the “Require Authentication” setting is switched back on, so the server is never exposed publicly by accident.

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

Read-only tools require no permission. Write tools require an API key holding the permission listed next to them.

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.