GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server connecting Claude Code to GitHub for an issue to branch to PR to close workflow.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GITHUB_TOKEN, GITHUB_OWNER, GITHUB_REPOค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"okffs": {
"command": "npx",
"args": [
"-y",
"@neturely/okffs"
],
"env": {
"GITHUB_TOKEN": "ใส่ค่าของคุณ",
"GITHUB_OWNER": "ใส่ค่าของคุณ",
"GITHUB_REPO": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add okffs --env GITHUB_TOKEN='ใส่ค่าของคุณ' --env GITHUB_OWNER='ใส่ค่าของคุณ' --env GITHUB_REPO='ใส่ค่าของคุณ' -- npx -y @neturely/okffsเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"okffs": {
"command": "npx",
"args": [
"-y",
"@neturely/okffs"
],
"env": {
"GITHUB_TOKEN": "ใส่ค่าของคุณ",
"GITHUB_OWNER": "ใส่ค่าของคุณ",
"GITHUB_REPO": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"okffs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@neturely/okffs"
],
"env": {
"GITHUB_TOKEN": "ใส่ค่าของคุณ",
"GITHUB_OWNER": "ใส่ค่าของคุณ",
"GITHUB_REPO": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
GITHUB_OWNER envGITHUB_REPO envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub neturely ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GITHUB_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.15.0) เข้า registry 3 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Turn a conversation with Claude into GitHub issues, branches, and pull requests — without leaving Claude Code.
okffs is a Model Context Protocol server that gives Claude Code a clean issue → branch → PR → close workflow on GitHub. Talk through the work in plain language; okffs creates the issues, matching branches, and pull requests, keeps them linked, and (optionally) syncs a GitHub Projects board — all in one shot.
gh CLI inside your repo? You're ready.1. Run the setup wizard from your project root:
npx @neturely/okffs setup
It walks you through auth, repo, and any optional features, writes a .env, then runs a quick GitHub sanity check. Re-run it any time (e.g. after upgrading okffs) — it only asks about options that are new since your last run. If you're happy relying on the GitHub CLI (gh auth login) and working inside the repo you want to manage, you can skip this step entirely — okffs works with no config at all.
Already in Claude Code? Once okffs is connected you can configure it conversationally instead — run the `/okffs:setup` slash command and Claude will interview you and write the
.envfor you (no terminal needed). okffs also nudges you to run it after an upgrade introduces new options.
2. Add a `.mcp.json` to your project root:
{
"mcpServers": { "okffs": { "command": "npx", "args": ["@neturely/okffs@latest"] } } }
That's it — npx fetches okffs on first use, and Claude Code picks up the tools automatically. To use a token or a different repo instead of the gh/auto-detect defaults, run okffs setup (above) or edit .env by hand — see Configuration.
Now just ask Claude:
Claude infers labels (bug, enhancement, …) from the title and description and merges them with any you've set as defaults.
| Tool | What it does |
|---|---|
create_issue | Creates an issue and a matching branch (an Epic gets no branch or draft PR — work lands on its children). Infers labels, a board priority/effort, and a native Issue Type from the task (toggle with OKFFS_INFER_PRIORITY/OKFFS_INFER_EFFORT/OKFFS_INFER_TYPE). Optional assignees, labels, milestone, priority, effort, type. Opens a draft PR immediately when OKFFS_AUTO_PR=true. |
create_issues_from_list | Creates many issues + branches from a task list in one shot. Confirms first. Per-task labels, assignees, milestone, priority, effort, type. |
plan | Give it a free-text description plus the breakdown Claude generates (titles, descriptions, labels, priority/effort/type, relationships); it creates every issue + branch, wires up relationships, and opens draft PRs when OKFFS_AUTO_PR=true. Confirms first. |
list_issues | Lists open issues with branch, linked PR, board column, priority:/effort:, native type:, and relationships as a tree — ordered by priority so the most important work is on top. |
get_issue | Full details for one issue: title, body, labels, assignees, branch, status. |
comment_issue | Posts a comment — handy for logging what a branch did. |
link_issues | Links two issues (blocked_by, blocking, parent), stored under a ## Relationships section. |
close_issue | Closes an issue and tips you to /clear before the next one. |
create_pull_request | Opens a PR for an issue branch — generates the title/body, pushes the branch, always includes Closes #N, and comments back. Can write changelog fragments when OKFFS_UPDATE_DOCS=true. Pass allow_empty: true to backfill a draft tracking PR on a branch with no commits (pushes an empty init commit to diverge it). |
commit_and_update | Stages tracked changes (untracked need include_untracked: true), commits (your message verbatim, or an auto-generated one), pushes, and posts a progress comment to the issue. Refuses secret-looking files. |
merge_pull_request | Autonomously merges a green, review-resolved issue PR into the base branch (e.g. develop) using OKFFS_BASE_MERGE_METHOD, then closes the issue. Opt-in (OKFFS_AUTO_MERGE_BASE=true) and heavily gated — never touches OKFFS_PROTECTED_BRANCH, independently verifies checks/mergeability/threads. wait_for_checks: true waits (bounded, default 90s) for pending checks instead of refusing. |
get_pr_checks | Read-only: lists a PR's statuses and check runs with their states, plus the last ~50 log lines of each failed GitHub Actions job (needs Actions: read). Pass ref (a tag, branch or sha) to watch the deploy run a push or tag triggered, wait_for_checks to wait (bounded) for it, and log_match (a regex, e.g. \[health\] applied) to confirm a line appeared in the run's log. |
fix_into_base | Opens (and, under the same OKFFS_AUTO_MERGE_BASE gates, merges) an issue-less fix PR into the base branch — for small cleanups such as review-comment fixes. Never targets OKFFS_PROTECTED_BRANCH. |
promote_branch | Opens the issue-less promotion PR (e.g. develop → main), boards it, optionally requests reviewers, and lists the releases it carries per app. A re-run reports unresolved review threads and — when you opt in — merges the gate PR (OKFFS_AUTO_MERGE_PROTECTED) and tags the merged release(s) (OKFFS_TAG_RELEASE). See Releases and the promotion gate. |
list_pr_review_comments | Fetches a PR's inline review threads and summaries. |
reply_to_review_comment | Replies to an inline review thread by id. |
resolve_review_thread | Resolves a review thread — only when OKFFS_RESOLVE_THREADS=true. |
prepare_release | Bumps the version (package.json, or a plain VERSION file when there is none — created on the first release), rolls the CHANGELOG, commits on a release branch, and opens a PR. Confirms first; does not tag or publish. Per app under multisite. |
update_project_status | Moves an issue between board columns (Backlog, Ready, In Progress, Review). Needs OKFFS_PROJECT_ENABLED. |
set_issue_fields | Sets board Priority/Effort and/or the native Issue Type on an existing issue. Priority/Effort handle project-native and org-level Issue Fields (needs OKFFS_PROJECT_ENABLED); type is org-native and works independently. create_issue only sets these at creation; use this afterwards. Status stays with update_project_status. |
update_issue | Edits an existing issue's core fields — title, assignees, labels, milestone, body — via one PATCH with the configured token. labels/assignees replace the whole set ([] clears). For Priority/Effort/Type use set_issue_fields; for Status use update_project_status. |
configure | Writes okffs config to .env — the backend for the /okffs:setup prompt. Reuses the okffs setup wizard's manifest/serializer: updates only okffs's marked block, preserving your own variables and comments. app: "finance" writes finance/.env instead; makes sure .gitignore covers .env at every depth. Usually driven by /okffs:setup, not called directly. |
delete_issue | Closes an issue and deletes its branch. Destructive — needs confirmed: true. |
delete_branch | Deletes a branch and closes its issue. Destructive — needs confirmed: true. |
Destructive tools (delete_issue, delete_branch) always warn on the first call and only act when re-called with confirmed: true, posting a comment to the issue before doing anything.
okffs has a built-in loop for review feedback — just ask (*"address the review comments on PR #42"*). Claude reads the threads, fixes the valid ones, commits and pushes, replies per thread, and posts a summary. Claude brings the judgment and the fixes; okffs handles the GitHub plumbing. There's also a slash command, `/okffs:address_pr_review` (takes a PR number), that runs the same loop.
By default review threads are left open for you to resolve; set OKFFS_RESOLVE_THREADS=true to have okffs resolve them once addressed.
For a hands-off session, ask Claude to *"fully handle this"* (or *"minimum interference"*) — or set OKFFS_AUTOPILOT=true to make it the default. In autopilot, Claude stops asking you to choose between options for reversible decisions, takes the recommended option at each fork, and drives an issue all the way to a PR into the base branch (and a base merge when OKFFS_AUTO_MERGE_BASE=true) — then posts an "Autopilot decisions" report (one line per choice, with a one-line why) to the PR and the issue, so you can redirect anything in a single message.
It removes confirmation friction; it does not grant new powers. The hard stops always interrupt, even in autopilot: destructive tools (delete_issue / delete_branch), and anything into OKFFS_PROTECTED_BRANCH (merge/tag/publish), billable, or irreversible that you have not opted into. An explicit env opt-in is the consent and is never re-asked: OKFFS_PROMOTION_AUTO_REVIEW (the Copilot review is your own GitHub billing choice), OKFFS_AUTO_MERGE_PROTECTED, OKFFS_TAG_RELEASE. Correctness stops — a failing check, a pending review, an unresolved thread, a moved branch tip — are never overridden by a flag. And for a real *missing-information* call — where only you hold the context — Claude still asks one quick question rather than guess. Off by default.
prepare_release bumps the version and rolls the changelog on a release/X.Y.Z branch into your base branch. promote_branch then opens the issue-less promotion PR (e.g. develop → main), boards it, optionally requests reviewers such as Copilot, and lists the releases the promotion carries. From there, each further step is your call, or an explicit opt-in:
| Step | Manual (default) | Opt-in |
|---|---|---|
| Review feedback | Re-run promote_branch to see unresolved threads; fix via /okffs:address_pr_review + fix_into_base. | — |
| Merge the gate PR | You merge it on GitHub. | OKFFS_AUTO_MERGE_PROTECTED=true — a re-run merges once every gate passes (checks green, review landed, threads resolved). |
| Tag the release | You push the tag (v0.13.0, or finance-1.3.0 per app). | OKFFS_TAG_RELEASE=true — the re-run after the merge tags the release(s) on the merge commit. |
| Sync back | You merge main → develop with a merge commit. | OKFFS_SYNC_BACK=true — the same run opens and merges the main → develop PR as a merge commit (never squash) and checks it has 2 parents. |
With both flags on, the loop is: promote_branch → review lands → address it → re-run promote_branch merges and tags. okffs still
ตัดมาแค่ช่วงต้น อ่านต่อใน repo