Repository navigation
Conversation
Community plugin under external_plugins/gitea: a zero-dependency Node MCP server (33 tools) and six skills for Gitea issues, pull requests, repositories, labels, milestones, releases, organizations and Actions, including self-hosted instances. Source: https://github.com/OPVL/gitea-mcp Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin type (required) / 插件类型(必填)
Affected plugin name(s) / 涉及的插件名称:
gitea(Standard plugin)What / 改动内容
Adds a community Gitea plugin at
external_plugins/gitea(categorydeveloper-tools, version0.2.0). It fills the gap next to the existinggithubandgitlabplugins for teams on gitea.com or self-hosted Gitea.User problem: there is no Gitea integration in the marketplace, and a naive REST wrapper floods agent context. Raw Gitea objects embed full user and repository objects (one PR carries two complete repos), so a single
create_prreturned ~12k characters andlist_issueshit 60k+.Visible behaviour:
mcp/server.mjs, Node ≥ 18, no dependencies, 33 tools): repos, branches, tags, issues (+ cross-repo search), comments, labels, milestones, pull requests (view with status checks and optional clipped diff, create, edit, merge), releases, orgs, Actions runs, workflow dispatch, Actions secrets.setup(token configuration without pasting secrets into chat),issue,pr,repo,release,actions. Every write is confirmed with the user first;delete_repoadditionally requiresconfirm: true.{page,count,more,total}line plus one compact JSON row per item; create/edit return number/id, state and URL; long bodies, comments and diffs are clipped with opt-outs (full,last_comments,max_diff_chars).How it was tested:
create_pr~12,045 → 205 chars, 20-itemlist_issues60,100 (truncated) → 3,660,list_prs60,105 → 3,798,get_pr12,605 → 3,880.create_pr,edit_pr,create_issue,add_comment) checked against a local mock replaying real Gitea responses.python3 scripts/validate.pypasses (59 plugins) andgit diff --checkis clean.scripts/build_dist.pystops at the pre-existingexcalidraw: incomplete build; run pnpm build firstwithout a UI build, so I packagedexternal_plugins/giteawithbuild_dist.build_zipdirectly: 14 files, and the extracted plugin starts with the 0644 permissions the zip applies (the MCP command issh .../run-node.sh, so it does not rely on the executable bit).Version and registration: new plugin at
0.2.0; the manifest and themarketplace.jsonentry match (name, version, description,description_i18nen + zh-CN).Dependencies, network, permissions, side effects:
run-node.shlocates Node viaPATH, nvm, then Homebrew/system paths (POSIXsh, so macOS/Linux).~/.config/gitea/mcp.jsonorGITEA_URL/GITEA_TOKEN; writes no files. No hooks.Licensing / provenance: original work by the submitter, Apache-2.0 (
LICENSEincluded). Upstream source: https://github.com/OPVL/gitea-mcp. No third-party code or assets.Self-check / 自查清单
external_plugins/<name>/; existing fixes retain ownership / 插件名唯一且 kebab-case,外部新增插件位于external_plugins/<name>/,已有插件修复保留原归属categoryis set independently of publisher ownership / 用途分类category已填写,与维护归属分开versionbumped in BOTHplugin.jsonandmarketplace.json(artifacts are immutable) /plugin.json与marketplace.json两处版本号已同步升级(制品不可变)README.md(EN) andREADME_CN.md(中文) both updated and equivalent / 中英文 README 均已更新且语义一致description_i18nhas bothenandzh-CN/description_i18n包含en与zh-CNpython3 scripts/validate.pypasses;build_dist.pypackaging verified for this plugin (full run needs the UIpnpm build, see above) / 本地校验通过;本插件打包已验证(完整构建需先执行 UI 的pnpm build)🤖 Generated with Claude Code