MCP (AI-Assisted Troubleshooting)

Oack exposes a Model Context Protocol server that lets AI agents read your monitoring data. All MCP tools are read-only.

Option 1: OAuth (browser flow)

For clients that can open a browser (Claude Code, Cursor), add the server to your config. On first use you'll be redirected to authorize access.

.mcp.json or Claude Code config
{
  "mcpServers": {
    "oack": {
      "type": "http",
      "url": "https://api.oack.io/mcp/"
    }
  }
}

To allow Claude to use all Oack MCP tools without permission prompts:

Terminal
/permissions add mcp__oack__* "allow all Oack MCP tools"

Option 2: Static API key (headless clients)

For headless clients that cannot open a browser (OpenAI Codex, custom scripts, CI/CD), create an MCP API key in Account Settings → API Keys → MCP Keys. Choose which accounts and teams the key can access.

Then pass the key as a Bearer token in your MCP client config:

.mcp.json
{
  "mcpServers": {
    "oack": {
      "type": "http",
      "url": "https://api.oack.io/mcp/",
      "headers": {
        "Authorization": "Bearer oack_mcp_YOUR_KEY_HERE"
      }
    }
  }
}

The key is shown only once at creation. Store it securely. You can revoke it at any time from Account Settings.