Commit Graph
9 Commits
Author SHA1 Message Date
teahubxyzandClaude Opus 5.5 fbb115923a mcp 2.0.1: tea_issues also takes labels as a comma-separated string
Connectors that were open before 2.0 keep 1.0's tool list, where labels is
one comma-separated string, until they refresh it. That form now works too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CYHXFvWMCs1GUmRmpySqQ6
2026-10-14 18:18:02 -07:00
teahubxyzandClaude Opus 5.5 fb8acb0af9 mcp: Teahub MCP 2.0, typed and with the tools agents kept asking for
One file, 29 tools, every one acting with the caller's own Gitea token.
Parameters are typed (patterns, ranges, enums), so FastMCP refuses a bad
argument before Gitea is asked anything and publishes the limits in each
tool's schema.

New: tea_pull_get/create/review/merge, tea_labels and tea_label,
tea_commit (up to 50 files, text or base64), tea_branch_create,
tea_repo_edit (including archived), tea_hook_create (one per URL),
tea_secret_set and tea_variable_set.

Fixed:
- unknown labels are refused instead of silently dropped
- a file update is chosen from a 404 on the path, not from matching "404"
  in an error message; paths with spaces are percent-encoded
- tea_org_add_member names its team; there is no default
- org repositories are private by default, like user repositories
- "more" and "truncated" come from X-Total-Count, so they are true
- tea_issue_comments pages client-side: Gitea's endpoint is unpaged
- tea_actions reads /actions/tasks: 1.24 has no /actions/runs, so the
  old tool always got a 404
- a Gitea that does not answer is named as such instead of a masked error

Tests run against a fake Gitea (27). The same code was run against
teahub.xyz with a temporary token in scratch repositories that were then
deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CYHXFvWMCs1GUmRmpySqQ6
2026-10-14 18:04:07 -07:00
teahubxyz 630de02cf6 mcp: org tools (create, add member, org repo) 2026-10-14 06:05:49 +00:00
teahubxyz 16f013f2ed mcp: org tools (create, add member, org repo) 2026-10-14 06:05:49 +00:00
teahubxyz 52e0c0cf54 mcp: README 2026-10-14 05:28:57 +00:00
teahubxyz f922a8f46e mcp: requirements 2026-10-14 05:28:46 +00:00
teahubxyz 53e4534b32 mcp: fly.toml (green-tea-mcp) 2026-10-14 05:28:40 +00:00
teahubxyz 9b96021ed7 mcp: Dockerfile 2026-10-14 05:12:31 +00:00
teahubxyz ae82332ab8 mcp: Green Tea MCP server (FastMCP, Gitea OAuth proxy, caller-authority tools) 2026-10-14 05:12:23 +00:00