2.7 KiB
2.7 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| d326094f-63eb-4b42-8aa6-f2d53d6f2628 | decision | Migrated Gitea operations from tea CLI to gitea-mcp MCP server |
|
0.8 | 0.8 | 2026-02-26T01:00:32.395054+00:00 | 2026-03-03T21:25:54.799592+00:00 |
|
Migrated Gitea Operations from tea CLI to gitea-mcp MCP Server
Context
Previously, all Gitea operations in Claude Code sessions used the tea CLI via Bash tool calls, requiring --repo owner/name on every command due to tea's inability to auto-detect from git remotes.
Decision
Switch to preferring the mcp__gitea-mcp__* tools (gitea/gitea-mcp v0.8.1) for all Gitea operations, with tea CLI as fallback only.
Rationale
- Superset of tea CLI: 100+ MCP tools covering PRs, issues, branches, labels, releases, Actions, wiki, and PR reviews
- Native tool calls: No subprocess overhead, structured JSON responses
- No boilerplate: Eliminates the
--repo owner/namerequirement on every command - Always-on: Configured at user scope via
~/.claude.json, available in all sessions
Files Updated
~/.claude/CLAUDE.md— Gitea Operations section updated to say "Prefer the gitea-mcp MCP server" with tea CLI as fallback~/.claude/commands/commit-push-pr.md— ReplacedBash(tea pulls create:*)withmcp__gitea-mcp__create_pull_requestin allowed-tools and instructions
Unchanged Files
commit.mdandcommit-push.md— no Gitea operations, no changes needed
Key Tool Mappings
| Old (tea CLI) | New (MCP) |
|---|---|
tea pulls create --repo owner/name |
mcp__gitea-mcp__create_pull_request |
tea pulls list --repo owner/name |
mcp__gitea-mcp__list_repo_pull_requests |
tea issues list --repo owner/name |
mcp__gitea-mcp__list_repo_issues |
Commit
Synced to cal/claude-configs repo at commit 8642bb5.