From 5c8341c79776e8635fa8149152391d9d9c010073 Mon Sep 17 00:00:00 2001 From: Mathias Date: Mon, 24 Aug 2026 17:31:11 +0200 Subject: [PATCH] =?UTF-8?q?fix(mcp):=20drop=20the=20gitea=20server=20?= =?UTF-8?q?=E2=80=94=20it=20was=20a=20redundant,=20silently=20stale=20copy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every gitea__* call from Claude Code on koala already resolves through the claude.ai connector, not through this env-var-authenticated HTTP server. The entry was a second path to the same service that nothing actually used. That redundancy is exactly why it rotted unnoticed. GITEA_MCP_TOKEN on koala resolves ~/.op-env -> op://HomeLab/GITEA_MCP_TOKEN, an item orphaned by the 2026-07-30 consolidation that moved gitea-mcp, agentsquad-serve and crush-runner onto a single shared item in the AgentSecrets vault. The host env-file was never migrated and cannot be: koala's 1Password service account has no access to AgentSecrets, while onepassword-connect in-cluster maps both vaults. So the host copy diverged and stayed diverged for five days. The cluster was never affected — zero 401s from the pod CIDR in 30 days, every rejection came from the gateway. Deleting the divergent copy beats maintaining a second source of truth for a token this host does not need. brain stays: it authenticates, and it is genuinely used from the plugin. infra stays but is currently unreachable for an unrelated reason — infra-mcp.d-ma.be fails TLS with "unrecognized name", an SNI/cert gap at the NPM edge, tracked separately. Bump-Type: patch Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01BeAp5LTscnz2W7Ubt4eJ6m --- .mcp.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.mcp.json b/.mcp.json index 8da20c9..2151502 100644 --- a/.mcp.json +++ b/.mcp.json @@ -7,13 +7,6 @@ "Authorization": "Bearer ${BRAIN_MCP_TOKEN}" } }, - "gitea": { - "type": "http", - "url": "https://git-mcp.d-ma.be/mcp", - "headers": { - "Authorization": "Bearer ${GITEA_MCP_TOKEN}" - } - }, "infra": { "type": "http", "url": "https://infra-mcp.d-ma.be/mcp"