gitea: wire real MCP server config into plugins/gitea/.mcp.json #66
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As part of the issue #6 gitea plugin redesign (deep-module skill split, see
docs/adr/0011-gitea-skill-deep-modules.mdfor the full decision record),plugins/gitea/.mcp.jsonwas deliberately left as an empty{"mcpServers": {}}shell. The actual gitea-mcp server configuration currently lives only in the user's~/.claude.json, configured manually. This means thegiteaplugin isn't installable/self-contained the wayplugins/git/andplugins/bin/are (both declare their own MCP servers in their.mcp.json).Wiring this in was explicitly deferred from issue #6 to keep that PR scoped to skill structure rather than plugin installation mechanics. This follow-up issue tracks doing that properly: server command/args, with token/URL sourced from env vars, not hardcoded — per this repo's credential-handling rules.
Follow-up from #6.
Opened #132 implementing this — pinned gitea-mcp@v1.7.0, portable bare
gocommand,GITEA_ACCESS_TOKEN/GITEA_HOSTrequired via${VAR}expansion with no inline defaults or hardcoded secrets. Full test suite and pre-push gate both green.The premise has changed on branch
docs/simplification-audit(simplification audit finding 37, ADR-0024):.mcp.json,plugins/gitea/.mcp.jsonincluded, was deleted along with native plugin install. Plugins are now consumed only through apm.plugins/gitea/apm.yml), with the token and URL taken from env vars. The other option is to decide the server stays user-configured in~/.claude.jsonand close this issue.Needs re-scoping before anyone works on it.