okffs
Provides tools for managing GitHub issues, branches, pull requests, and project boards, enabling workflow automation from issue creation to PR merging.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@okffsPlan the work for adding user authentication and create the issues."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
okffs
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.
One-shot planning — describe a chunk of work and get every issue + branch created, with relationships wired up.
The whole loop — create, comment, commit, open PRs, handle review feedback, and close, each as a simple ask.
Sensible defaults — Claude infers labels, priority, and effort from the task; GitHub stays the single source of truth.
Little to no config — signed in with the
ghCLI inside your repo? You're ready.
Quick start
1. Run the setup wizard from your project root:
npx @neturely/okffs setupIt 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:setupslash 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:
"Create an issue called 'Fix login button' and start a branch for it."
"Plan the work for adding user authentication and create the issues."
"Create issues from this task list: …"
"List all open issues."
"Mark issue #5 as blocked by issue #3."
"Done with issue #42 — open a PR and close it."
"Address the review comments on PR #42."
Claude infers labels (bug, enhancement, …) from the title and description and merges them with any you've set as defaults.
Related MCP server: cc-agent
Tools
Tool | What it does |
| Creates an issue and a matching branch. Infers labels, a board |
| Creates many issues + branches from a task list in one shot. Confirms first. Per-task |
| 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 |
| Lists open issues with branch, linked PR, board column, |
| Full details for one issue: title, body, labels, assignees, branch, status. |
| Posts a comment — handy for logging what a branch did. |
| Links two issues ( |
| Closes an issue and tips you to |
| Opens a PR for an issue branch — generates the title/body, pushes the branch, always includes |
| Stages, commits (message from your |
| The one okffs tool that merges: autonomously merges a green, review-resolved issue PR into the base branch (e.g. |
| Fetches a PR's inline review threads and summaries. |
| Replies to an inline review thread by id. |
| Resolves a review thread — only when |
| Bumps the version, rolls the CHANGELOG, commits on a release branch, and opens a PR. Confirms first; does not tag or publish. |
| Moves an issue between board columns ( |
| 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 |
| Edits an existing issue's core fields — |
| Writes okffs config to |
| Closes an issue and deletes its branch. Destructive — needs |
| Deletes a branch and closes its issue. Destructive — needs |
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.
Handling PR reviews
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.
Autopilot (minimum interference)
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: anything into OKFFS_PROTECTED_BRANCH (merge/tag/publish), destructive tools (delete_issue / delete_branch), anything billable (e.g. a Copilot review on a new promotion PR), and genuinely irreversible actions. 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.
Keeping CLAUDE.md in sync
The /okffs:update_guidance slash command reviews the changes on the current branch and maintains one okffs-owned section of your CLAUDE.md — ## Project Guidance (okffs usage), delimited by HTML markers — without ever touching your hand-written content. It's guidance curation (tools, env vars, conventions), not a changelog. Set OKFFS_UPDATE_GUIDANCE=true to have create_pull_request nudge Claude to run it at PR time; the command is always available.
Automatic doc updates
With OKFFS_UPDATE_DOCS=true, create_pull_request writes doc updates onto the branch so they land in the PR diff:
CHANGELOG.md — a per-issue Keep a Changelog fragment under
.changes/unreleased/, assembled intoCHANGELOG.mdat release time byprepare_release. Uniquely-named fragments avoid merge conflicts across parallel branches.SECURITY.md — updated when security-related keywords are detected (only if the file exists).
CLAUDE.md, CONTRIBUTING.md, and README.md are intentionally left for you to maintain. Exclude specific files per repo with OKFFS_EXCLUDE_DOCS (valid: CHANGELOG.md, SECURITY.md).
GitHub Projects v2
okffs can keep a Projects v2 board in step with your workflow. It's opt-in with zero overhead when off:
OKFFS_PROJECT_ENABLED=true
OKFFS_PROJECT_ID=PVT_kwHO... # the board's GraphQL node IDOnce enabled, list_issues shows each issue's column, priority, and effort (ordered by priority); update_project_status moves issues between Backlog, Ready, In Progress, and Review; and create_issue can set priority/effort and an initial column. Done is deliberately left to GitHub's native automation (PR merge / issue close → Done) so two systems never fight over the terminal state.
Priority & Effort work as either a project-native single-select field (any Projects-capable token) or a GitHub org-level Issue Field. Org-level Issue Fields live outside the project and need a classic PAT with admin:org plus OKFFS_CLASSIC_PAT=true — fine-grained PATs can't reach them yet, so okffs skips that path and asks you to set the value in the UI. Claude infers priority/effort per task by default, falling back to the OKFFS_DEFAULT_* values.
Auto-add (OKFFS_PROJECT_AUTO_ADD) is a fallback for boards without GitHub's native "Auto-add to project" workflow — leave it false if your board already auto-adds.
Token permission: Projects v2 is GraphQL-only and needs a Projects-capable token — a fine-grained PAT with Organization → Projects: Read and write, or a classic PAT with the project scope. A single classic token with repo + project + admin:org covers everything, including org-level Issue Fields. Missing permission surfaces a clear [okffs] error naming what's needed.
Configuration
The quickest way to configure okffs is the wizard — npx @neturely/okffs setup — which writes and maintains the .env described below for you. The rest of this section documents what it (or you, by hand) can set.
okffs resolves a token and a target repository with fallbacks, so most users need little config.
Token (first match wins):
GITHUB_TOKENin a.envfile — either a fine-grained PAT (recommended; least privilege) with Issues, Contents, Pull requests (read/write), Metadata (read), and Administration (read/write) on the repo, or a classic PAT with thereposcope (broader — grants access across all your repos).Otherwise the GitHub CLI token — if you've run
gh auth login, it just works.
Repository (first match wins):
GITHUB_OWNER/GITHUB_REPOin.env.Otherwise auto-detected from the
origingit remote of the directory okffs runs in.
okffs loads .env automatically from that directory — no --env-file flag needed. A minimal explicit .env:
GITHUB_TOKEN=ghp_your_token_here
# Optional — auto-detected from the git origin remote when omitted:
GITHUB_OWNER=your-github-username
GITHUB_REPO=your-repo-nameOptional settings
All optional; unset unless noted. Grouped by concern — the same groups appear in .env.example, a copyable template. (GITHUB_TOKEN / GITHUB_OWNER / GITHUB_REPO are covered under Setup above.)
Branching & pull requests
Variable | Default | Purpose |
| repo default | Branch new issue branches are created from. |
| — | A branch okffs must never autonomously merge, tag, or publish into (e.g. |
| — | Prefix for branch names: |
|
| Open a draft PR when a new issue branch is created. |
|
| PR merge method per branch tier ( |
|
| Let |
Issue defaults & inference
Variable | Default | Purpose |
| — | Comma-separated usernames assigned to every new issue. |
| — | Comma-separated labels merged with inferred ones. |
| — | Board Priority/Effort fallback when none is inferred or given. |
|
| Let Claude infer priority/effort from the task. |
|
| Let Claude infer the native GitHub Issue Type (Task/Bug/Feature/…) from the task. Org-level; skipped cleanly on user repos. |
| — | Native Issue Type fallback when none is inferred or given (e.g. |
|
| Set |
PR review
Variable | Default | Purpose |
|
| Auto-resolve PR review threads after they're addressed. |
Docs & changelog
Variable | Default | Purpose |
|
| Auto-write CHANGELOG/SECURITY updates on |
| — | Comma-separated docs to skip ( |
|
| Nudge Claude to keep |
GitHub Projects v2 (board)
Variable | Default | Purpose |
|
| Enable the GitHub Projects v2 integration. |
| — | The board's GraphQL node ID (required when enabled). |
|
| Add new issues to the board (fallback when the board has no native auto-add). |
| — | Column a freshly added issue lands in (e.g. |
|
| Set |
Branch promotion & releases (promote_branch)
Variable | Default | Purpose |
| — | Board Status column the promotion PR card lands in (e.g. |
| — | Comma-separated reviewers to request on the gate PR (e.g. |
|
| Opt in to auto-request those reviewers, on gate-PR creation only (never on re-runs). ⚠️ Cost: Copilot code review is billable, so this charges per newly-created promotion PR. |
Autopilot (minimum interference)
Variable | Default | Purpose |
|
| Default the session to autopilot: take the recommended option at each reversible fork, drive to a base-branch PR, and report the decisions. Hard stops (protected branch, destructive, billable, irreversible) still interrupt. Per-request activation ("fully handle this") works regardless. |
Conventions
Branches:
{issue-number}-{kebab-title-slug}(title truncated to ~5 words), e.g.42-add-hero-section-to-homepage.PRs: titled
Close #42 - Add hero section to homepage; the body always includesCloses #42. GitHub auto-closes the issue when the PR merges into the repo's default branch. IfOKFFS_BASE_BRANCHpoints at a non-default branch (e.g.develop), close the issue manually withclose_issue—create_pull_requestflags this.Destructive tools require
confirmed: true; bulk-creating tools confirm first.GitHub is always the source of truth for issue state — never local.
Prefer okffs tools over raw
git/gh. When an okffs tool covers the action — issues, PRs, comments, review threads (resolve_review_thread/address_pr_review), releases, project status — use it and honour its env toggles (OKFFS_RESOLVE_THREADS,OKFFS_BASE_BRANCH,OKFFS_PROTECTED_BRANCH, …) rather than re-deriving the behaviour. Fall back to rawgit/ghonly when no okffs tool fits.
Contributing
Bug reports, feature ideas, and PRs are welcome — see CONTRIBUTING.md for development setup, how to add a tool, commit/branch conventions, and publishing. Release notes live in CHANGELOG.md and on the Releases page.
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that enables AI assistants like Claude to help users manage their GitHub notifications through natural language commands.Last updated112716MIT
- AlicenseAqualityDmaintenanceMCP server that spawns autonomous Claude Code agents in GitHub repos, enabling task delegation with persistent state, multi-step workflows, and job monitoring.Last updated473162Apache 2.0
- Alicense-qualityDmaintenanceAn MCP server that enables managing GitHub repositories, pull requests, issues, and more through natural language in Cursor or Claude Desktop.Last updated324MIT
- Flicense-qualityDmaintenanceA working MCP server that connects to the real GitHub API, enabling users to manage repositories, issues, pull requests, and more through natural language in Claude Desktop.Last updated
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that gives your AI access to the source code and docs of all public github repos
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/neturely/okffs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server