---
title: "Check MCP connection health and token validity"
method: GET
path: "/api/utility-report/health"
tags: ["Utility Report"]
---

# Check MCP connection health and token validity

`GET /api/utility-report/health`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/utility-report/health`
- Auth: none declared

Tests the Cernion MCP connection using the configured token. Returns `status: "ok"` only when the token is present and the MCP server responds successfully. Use this endpoint to diagnose why report generation fails with MCP_CONNECTION_ERROR.

## Query parameters

- `token` string

## Response `200`

Health check result

- object
  - `success` boolean
  - `status` 'ok' | 'error'
  - `tokenPresent` boolean
  - `mcpReachable` boolean
  - `toolCount` number
  - `phase3Tools` object, nullable
    - `available` number
    - `unavailable` number
    - `unavailableList` string[]
  - `latencyMs` number
  - `error` string, nullable

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
