Grafana MCP
The GenUI container receives the Grafana MCP endpoint as:
GRAFANA_MCP_URL=http://mcp-grafana:8000/sse
Token provisioning
- Create a dedicated Grafana service account for MCP access.
- Grant only the datasource and dashboard permissions required for investigation.
- Create a service-account token.
- Store the token in the core stack's secret mechanism; never commit it to Compose or
.envfiles. - Restart the MCP service and verify its health from inside
monitor-net.
GenUI status
The endpoint is reserved in compose-genui.yaml, but the current Chainlit code
does not open an MCP session or call Grafana tools. Treat this page as the
connection contract for the future integration.