Menu
This is documentation for the next version of Grafana documentation. For the latest stable release, go to the latest version.
Enterprise
Open source
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:
Bash
# 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
Additional helpful documentation, links, and articles:
Video

Getting started with managing your metrics, logs, and traces using Grafana
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video

Getting started with Grafana dashboard design
In this webinar, you'll learn how to design stylish and easily accessible Grafana dashboards that tell a story.
Video

Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.
Choose a product
Viewing: next
Find another version
Scroll for more