Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana/v13.0/developer-resources/mcp/configure/health-check-endpoint.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana/v13.0/developer-resources/mcp/configure/health-check-endpoint/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
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


