Gitea tea
$ tea Official Med RiskOfficial command-line tool for Gitea and compatible Forgejo instances. Exposes issues, pull requests, repositories, and notifications with machine-readable --output json formatting.
brew install tea Use tea with --output json for lightweight Gitea scripting instead of configuring a dedicated MCP server.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --output json on list/view subcommands, though initial tea login add setup can prompt interactively if flags are omitted.
- Supports
--output json(-o json) across issues, pulls, and releases - Interactive prompts occur if required flags are omitted on create commands
Separates multiple instances via named --login profiles in config, though lacks --dry-run for remote mutations.
- Supports named
--loginprofiles in~/.config/tea/config.yml - No global
--dry-runflag on write operations
Single static Go binary available via Homebrew, go install, and official release downloads.
- Cross-platform Go binary for macOS, Linux, and Windows
Covers daily Gitea PR, issue, and release workflows without heavy dependencies.
- Native support for pulls, issues, releases, and notifications
Official Gitea organization project under MIT license with steady community maintenance.
- Hosted under
gitea/teaofficial repository
Clear README documentation and --help flags, though less extensive than gh or glab manuals.
- Documented CLI flags in
tea --helpand repository README
Security, Auth & Guardrails
Stores instance logins and API tokens in ~/.config/tea/config.yml; supports --login selection across multiple Gitea servers.
MIT open-source CLI; operates against free self-hosted or hosted Gitea instances.
# Gitea tea Agent Rules - Always pass `--output json` when listing or viewing resources. - Specify `--login <name>` when multiple Gitea remotes are configured. - Confirm before merging pull requests or deleting releases.
Agent-Ready Command Recipes
Safe Read-Only Queries
tea pulls list --output json
Outputs open pull requests as JSON for clean parsing.
tea issues list --output json
Fetches repository issues in structured JSON format.
Controlled Writes & Previews
tea issues create --title "fix: build script" --description "Details here"
Supplies --title and --description explicitly so the command completes without interactive prompts.
Strengths for Agents
- + Clean
--output jsonformatting across list and inspect commands. - + First-class multi-server
--loginprofile support for self-hosted Gitea. - + Lightweight single Go binary with fast startup.
Caveats & Pitfalls
- ! Initial
tea login addrequires passing--name,--url, and--tokento stay non-interactive. - ! Lacks a built-in raw
apiescape hatch likegh apiorglab api.