Is there a healthcheck endpoint?

As the title says, is there a healthcheck endpoint in the MCP server? I did a search in the source code for “health” and got no results. I also don’t see any endpoints defined in the server configuration. However, I don’t know Rust or the libraries, so maybe it’s built in to a library somewhere.

Thanks,
Chris

There currently isn’t a health check in the MCP server library, but we do have it logged as an item on our end. I opened up a GitHub issue
for this that you can follow.

We also did recently release the Apollo Runtime Container that combines an MCP server with the Apollo Router instance into the same image. The Apollo Router instance can be configured to have a health check (docs
). You can also run this container with a Grafana instance so you start having metrics for your MCP tools. Here is an example of how to do that. You could then add OTel exporters to Grafana in the same configuration for the health check (example
).

2 Likes

Thank you for the examples. This is helpful. Because the MCP server doesn’t have authorization capabilities yet, we are experimenting with adding an authorization header to the MCP server when it starts and then recycling the MCP server every so often with a new token. This is only for a PoC and using development resources, so the security concerns are minimized, but we do need that token in the calls.

I didn’t think about using the AIO image. That seems appropriate for our purposes.

Thanks again.
Chris