ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Forgejo / Codeberg / Gitea

โดย brechanbechรุ่น 0.27.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.brechanbech/forgejo-mcp-rs

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Model Context Protocol server for Forgejo, Codeberg and Gitea, in Rust

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ผู้ทำยังไม่ได้ใส่วิธีติดตั้งใน registry ให้ดู README ของผู้ทำด้านล่าง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub brechanbech ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32700 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 79% ของอีก 32700 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32700 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Forgejo / Codeberg / Gitea ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.27.0) เข้า registry 9 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Rust ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Agent Data Tools: Utilities

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

forgejo-mcp-rs

A Model Context Protocol server for Forgejo, Codeberg and Gitea. It lets an MCP client (Claude Code, Claude Desktop, …) read your forge — the authenticated user, repositories, issues, and pull requests — over the Forgejo/Gitea REST API.

Status: read-only by default, with opt-in guarded writes (since v0.2). Read tools across

the forge — user, repos, issues, pull requests, search, orgs, notifications, comments,

reviews, and Actions (CI) runs — plus guarded writes (create_repo, edit_repo,

create_branch, delete_branch, create_issue, edit_issue, comment_on_issue,

create_pull_request, create_pull_request_review, merge_pull_request,

create_or_update_file, delete_file, delete_repo, migrate_repo, push-mirror

management, dispatch_workflow, cancel_workflow_run and rerun_workflow) gated behind a separate write token and a deliberate,

time-boxed write mode. See SPECIFICATION.md for the full design.

It speaks the Forgejo REST API directly through a small, in-house client (src/forgejo/client.rs, over the src/mcp_core/ transport) — an independent implementation over the documented API, not a port of any other server. There is no third-party forge SDK in the trust path, so the tool surface holding your token is code you can read and audit end to end.

The server speaks MCP protocol version 2026-07-28 (since v0.16) and negotiates down to 2024-11-05, so older clients keep working unchanged. It runs over stdio and exposes tools only — no resources, prompts, sampling, or roots.

Build

cargo build --release   # target/release/forgejo-mcp-rs

cargo install --path . # install to ~/.cargo/bin

Runs on macOS, where it is developed and used daily, and Linux, where it builds and runs (Glama builds and inspects it on Debian). Windows is untested.

Woodpecker CI

A companion server for Woodpecker CI shipped in this crate as a second woodpecker-mcp binary from v0.13.0 through v0.17.0. It now lives in its own repository and crate: woodpecker-mcp.

Woodpecker is its own system — it drives Gitea, GitHub, GitLab, and Bitbucket as readily as Forgejo, and that server never called the Forgejo API at all — so bundling it here made it invisible to everyone not running Forgejo. Nothing about it changed in the move; if you were using the woodpecker-mcp binary from this crate, install it from the new crate instead and point your MCP client at the new path.

Configure

The server is configured by environment variables:

VariableRequiredDefaultMeaning
FORGEJO_TOKEN_READ_ONLYyes—Read token (or FORGEJO_TOKEN). Read-only scopes are enough.
FORGEJO_TOKEN_WRITEno—Write/delete-scoped token. Providing it enables the write tools; omit it for a pure read-only server.
FORGEJO_WRITE_MINUTESno10Default write-mode window (minutes, max 60).
FORGEJO_MIRROR_TOKENno—Credential add_push_mirror sends as the remote's password (e.g. a GitHub PAT). Kept out of the conversation — never passed as a tool argument. Omit if you only use use_ssh=true mirrors.
FORGEJO_MIGRATE_TOKENno—Credential migrate_repo sends to the source instance it reads from. Also never passed as a tool argument. Kept separate from FORGEJO_MIRROR_TOKEN on purpose — that one authenticates to a push *target*, so sharing a variable would send a credential to a host it was never issued for. Omit if you only migrate public repos.
FORGEJO_UPLOAD_ROOTno—Directory upload_release_asset may read files from. Uploading is disabled while this is unset — see Release assets.
FORGEJO_UPLOAD_MAX_MBno100Ceiling on one uploaded asset (MiB). The file is read into memory to be sent.
FORGEJO_URLnohttps://codeberg.orgInstance base URL.
FORGEJO_FLAVORnoautoforgejo, gitea, or auto to detect from the instance version. Only the Actions (CI) tools consult it — see Forgejo and Gitea.

Mint a token at Codeberg → Settings → Applications (or your instance's equivalent). For the read tools, read scopes (read:repository, read:issue, read:user) suffice. The write token needs write:repository (including delete, and the repo-admin push-mirror endpoints).

A read token is mandatory: the server refuses to start on a write token alone, and the read token must be a *different* token from FORGEJO_TOKEN_WRITE — you can't shortcut by reusing the write token for reads.

Forgejo 15+ token scoping. Forgejo 15.0 tightened authorization on many repository

APIs to match its fine-grained, repository-scoped access tokens. Classic broad tokens are

unaffected, but if you mint a *repository-scoped* token it must actually carry the scopes

above — in particular the repo-admin scope for the push-mirror tools, which otherwise return

403. Scope the token to every repo you intend to reach.

Forgejo and Gitea

Forgejo began as a Gitea fork, and the REST surface is still very nearly the same one. Of the ~25 endpoints this server calls, only the Actions (CI) ones differ. Issues, pull requests, diffs, PR files, branches, file contents, search, orgs, notifications, push mirrors, and migration are identical in path, method, and response shape on both, so they need no special handling and get none.

The flavor is detected once, lazily, from the instance's GET /version — and only the Actions tools ever ask. Set FORGEJO_FLAVOR to forgejo or gitea to pin it if the detection ever guesses wrong on your instance.

The detection reads oddly on purpose: Forgejo names Gitea in its own version string

(Codeberg reports 16.0.0-dev-785-465b60ef+gitea-1.22.0) to advertise API compatibility,

while Gitea never names itself (29.0.0+dev-160-g55186ca39b). So a gitea- marker means

Forgejo, and anything without it is Gitea. The major version is no guide: Gitea has left the

1.x line, and before v0.21.0 that made gitea.com look like Forgejo.

Where the two forges differ, and what the server does about it:

ForgejoGiteaHandling
Run filter by git refref, fully qualifiedbranch, bare nameTranslated; refs/heads/main works on both
Run filter by workflowworkflow_id query parametera separate …/actions/workflows/{file}/runs pathTranslated
Run outcomestatus alonestatus (phase) plus conclusionNormalized: conclusion is promoted into status, and also kept verbatim
Run field namescommit_sha, prettyref, index_in_repo, title, created, trigger_eventhead_sha, head_branch, run_number, display_title, created_at, eventNormalized to one shape
Workflow file and refseparate: workflow_id and prettyrefcombined into path, as ci.yml@refs/heads/mainSplit apart; the ref is shortened (main, v0.16.0) and a pull-request ref kept whole
Unknown workflow filterempty list404 workflow "x.yml" not foundSurfaced as-is; the tool description says which is which
workflow_dispatch replythe created run (return_run_info)204 No ContentForgejo's run is passed through; on Gitea the tool returns an acknowledgement and tells the caller to find the run with list_workflow_runs
Workflow directory.forgejo/workflows, .github/workflows.gitea/workflows, .github/workflowsMentioned in the dispatch_workflow tool description
Jobs of a runbare array; no timestamps or steps{ jobs, total_count }, with timestamps and stepsUnwrapped and normalized like runs; what Forgejo omits stays absent
Pull-request filter by branchbase, head (Forgejo 16+)base_branch onlyTranslated; head is applied here on Gitea, by walking the list. Every answer is checked against both, since a forge ignores a filter it lacks
Cancel and rerun reply204 No Contentthe run (200/201); a job for a job rerunThe run from the reply where there is one, otherwise read back; reported in list_workflow_runs' shape
Rerun one job…/actions/jobs/{job_id}/rerun…/actions/runs/{run}/jobs/{job_id}/rerunTranslated; run_id is required on both
Cancel a finished run204, left unchangedunverified; its spec lists a 409 ConflictErrors surfaced as-is; on success the returned run's status says what happened

Translating rather than sending both spellings is deliberate: an unknown query parameter is *ignored*, not rejected, so sending Forgejo's ref to Gitea would silently return unfiltered runs — a filter that looks applied but isn't.

Gitea's path deserves its own warning, because the name lies: it is not a filesystem path. It is the workflow file, an @, and the fully-qualified ref — ci.yml@refs/heads/main, or test-pr.yml@refs/pull/1117/head. It is also the only reliable source of the ref, since head_branch is populated for branch runs and null for tags and pull requests.

Two more things regardless of flavor. Gitea requires a token for the Actions API even on public repositories. get_workflow_run answers in the same normalized shape as list_workflow_runs.

Write mode

The server is read-only by default. create_repo / edit_repo / delete_repo work only when (a) FORGEJO_TOKEN_WRITE is configured and (b) you've deliberately entered write mode via enable_write_mode — a time-boxed elevation (default 10 min, max 60) that slides forward on each write and auto-reverts. write_status reports the state; delete_repo also requires a confirm argument equal to "owner/repo".

enable_write_mode, disable_write_mode and write_status all report the instance they apply to, and the elevation note names it in prose, so the announcement reads "write mode is active on https://gitea.com/" rather than a bare "write mode is on". That matters once you run more than one of these servers at once — a Codeberg one and a Gitea one, say — where each has its own independent write mode and an unqualified warning tells you nothing about which forge is now writable. write_status deliberately never calls the instance, so its flavor is null until something else has detected it. See SPECIFICATION.md for the full design.

Migration source token (optional)

Only needed if you'll use migrate_repo against a private source. Public sources need no credential — skip this entirely.

Note the direction: every other variable here authenticates to *your* instance (FORGEJO_URL). FORGEJO_MIGRATE_TOKEN authenticates to a different instance — the one you're copying *from*.

  1. Mint a token on the source instance (its Settings → Applications), not on your own.
  2. Give it read scopes only — read:repository, plus read:issue if you're migrating issues and PRs. It never needs write: the migration only reads from the source. On Forgejo and Gitea, also set its repository access to all repositories, not public only, or a private source stays out of its reach.
  3. Set it as FORGEJO_MIGRATE_TOKEN in the same env block as your other tokens, on the server for the destination instance: that server asks the destination to do the copying, and the destination presents the token to the source.
  4. Call migrate_repo with authenticate: true. Without it the token is not sent at all.

**Understand where this token goes

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx