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/server-tls-streamable-http.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/grafana/next/developer-resources/mcp/configure/server-tls-streamable-http/. 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.
Server TLS (streamable-http)
When you use the streamable-http transport, you can serve the MCP server over HTTPS using your own TLS certificate and key.
What you’ll achieve
Clients connect to the server with https:// instead of http://. This is separate from client TLS, which configures how the server connects to Grafana.
Before you begin
- A TLS certificate and private key for the host and port where the server will listen.
- The server run with
-t streamable-http.
Configure server TLS
Use these flags with streamable-http:
- –server.tls-cert-file – Path to the server TLS certificate file.
- –server.tls-key-file – Path to the server TLS private key file.
Example:
mcp-grafana -t streamable-http \
--server.tls-cert-file /path/to/server.crt \
--server.tls-key-file /path/to/server.key \
--address :8443Clients then connect to https://localhost:8443 with the streamable-http path (default --endpoint-path is /mcp, for example https://localhost:8443/mcp).
Next steps
- Transports and addresses for transport options.
- Client TLS (Grafana connection) for TLS toward Grafana.
Was this page helpful?
Related resources from Grafana Labs


