Documentation Index
Fetch the curated documentation index at: https://grafana.com/llms.txt
Fetch the complete documentation index at: https://grafana.com/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: https://grafana.com/docs/grafana/next/developer-resources/mcp/configure/health-check-endpoint.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/grafana/next/developer-resources/mcp/configure/health-check-endpoint/. For the curated documentation index, use https://grafana.com/llms.txt. For the complete documentation index, use https://grafana.com/llms-full.txt.
This is documentation for the next version of Grafana documentation. For the latest stable release, go to the latest version.
Health check endpoint
When you use the SSE (-t sse) or streamable HTTP (-t streamable-http) transport, the MCP server exposes a health check at /healthz. Load balancers, monitoring, and orchestration can use it to verify that the server is running and accepting connections.
What you’ll achieve
You can probe readiness from scripts or upstream checks when the server uses an HTTP transport.
Before you begin
- The server running with
-t sseor-t streamable-http(not stdio).
Send a health check request
Endpoint: GET /healthz
Response:
- Status code:
200 OK - Body:
ok
Examples:
# For streamable HTTP or SSE transport with default listen address (localhost:8000)
curl http://localhost:8000/healthz
# With custom address
curl http://localhost:9090/healthzNote: The health check endpoint is only available when using SSE or streamable HTTP transports. It is not available with the stdio transport (-t stdio), because stdio does not start an HTTP server.
Next steps
Was this page helpful?
Related resources from Grafana Labs


