From f47a32b9a7255cfd2bc94a7ddaf7d0140d110906 Mon Sep 17 00:00:00 2001 From: Pavlov Alexandr Date: Sun, 14 Jun 2026 23:38:36 +0700 Subject: [PATCH] feat(observability): enable GlitchTip native MCP on web container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set GLITCHTIP_ENABLE_MCP=True on the glitchtip-web deployment so the native MCP server at /mcp (Streamable HTTP) is exposed; default False returns 404. Web container only — the worker serves no HTTP. Lets local AI agents read issues/error events from the self-hosted GlitchTip over MCP. Co-Authored-By: Claude Opus 4.8 (1M context) --- k8s/observability/91-glitchtip.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/k8s/observability/91-glitchtip.yaml b/k8s/observability/91-glitchtip.yaml index 83a0df9..cc630de 100644 --- a/k8s/observability/91-glitchtip.yaml +++ b/k8s/observability/91-glitchtip.yaml @@ -123,6 +123,12 @@ spec: value: "django.core.mail.backends.console.EmailBackend" - name: DEFAULT_FROM_EMAIL value: "glitchtip@solid-stats.ru" + # Native MCP server at /mcp (Streamable HTTP, GlitchTip API-token auth). + # Gated behind GLITCHTIP_ENABLE_MCP (default False → /mcp 404). Enabled on + # the web container only (the worker serves no HTTP) so agents can read + # issues/events over MCP. See plans agent-mcp-access brief. + - name: GLITCHTIP_ENABLE_MCP + value: "True" # Required behind nginx reverse proxy (Granian TRUSTED_PROXIES — v6 release notes). - name: TRUSTED_PROXIES value: "*"