OpsTrailsDocs
Console

Claude Code

Connect OpsTrails to Claude Code with a single command.

Setup

Run this command in your terminal:

bash
claude mcp add opstrails "https://api.opstrails.dev/api/mcp/mcp" \
  --transport http \
  --header "Authorization: Bearer YOUR_API_KEY"

Replace YOUR_API_KEY with a READ_ONLY API key from the console.

Usage

Once connected, ask Claude Code questions about your operational timeline:

Remove

To remove the MCP server:

bash
claude mcp remove opstrails