OSS Autopilot MCP server

OSS Autopilot MCP server

oss-autopilot•bycostajohnt

An MCP server that imports OSS Autopilot's core functions to check a user's open GitHub pull requests, classify their status, and support drafting replies or preparing fixes.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes 35 tools, 6 resources, and 4 prompts to MCP clients such as Cursor, Claude Desktop, Codex, and Windsurf.
  • •Fetches the user's open pull requests fresh from GitHub and classifies each by status such as failing CI, requested changes, merge conflict, or waiting on the maintainer.
  • •Shares one state file with the plugin and dashboard, and reads GitHub text as untrusted before passing it to a model.
  • •Reports to MCP users the same underlying data as the plugin's commands and agents.

BEST FOR

  • •Contributors juggling multiple open pull requests who want a daily dig made available inside an MCP client.
  • •Users in MCP clients who want to draft replies to maintainers or diagnose CI failures with per-action approval.

ABOUT OSS-AUTOPILOT

OSS Autopilot MCP server is cataloged as an MCP server attributed to costajohnt. An MCP server that imports OSS Autopilot's core functions to check a user's open GitHub pull requests, classify their status, and support drafting replies or preparing fixes. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for OSS Autopilot MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does OSS Autopilot do anything on GitHub without my approval?

In interactive use, which includes MCP, approval is per action: approving one reply does not approve the next, and pushes or comments happen only after you approve.

Where does OSS Autopilot keep my data?

Data stays in the local OSS Autopilot directory with restricted file permissions, and there is no telemetry.

Which forges does OSS Autopilot support?

It is GitHub only; GitLab, Bitbucket, and other forges are not supported.

上游原版 README

在 GitHub 查看同一版本原文

README.md · e1d6742969d4 · 采集于 2026-11-13 11:50:00 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

OSS Autopilot

Keep up with your open source pull requests. A Claude Code plugin, an MCP server, and a standalone CLI.

CI npm @oss-autopilot/core npm @oss-autopilot/mcp Node.js License Mentioned in Awesome Claude Code


If you contribute to more than a couple of projects, PRs go stale without you noticing. A maintainer asks for a change, CI breaks after a rebase, a branch picks up a conflict, and you find out two weeks later.

OSS Autopilot checks every open PR you have on GitHub and sorts them into what needs you and what is waiting on someone else. For the ones that need you, it helps draft the reply, diagnose the CI failure, or rebase the branch. You approve each push and each comment before it goes out.

OSS Autopilot demo

Contents

Requirements

  • Node.js 22 or newer
  • GitHub CLI installed and logged in (gh auth login), or a GITHUB_TOKEN in your environment
  • For the plugin: Claude Code, plus npm and network access on first run (see below)

CI runs on Ubuntu and macOS. Windows is untested.

Quick start (Claude Code)

/plugin marketplace add costajohnt/oss-autopilot
/plugin install oss-autopilot@oss-autopilot

Restart Claude Code, then:

/setup-oss

Setup asks for your GitHub username, the languages and labels you care about, and how many PRs you want open at once. After that, run /oss whenever you want to check in.

About the first run. The plugin ships as source. The first /setup-oss or /oss installs dependencies and builds the CLI inside the plugin directory, so it needs npm (or pnpm) and a network connection, and it takes longer than later runs. If the build fails, see Troubleshooting.

Other ways to run it

MCP server (Cursor, Claude Desktop, Codex, Windsurf, any MCP client)

Save your GitHub username once:

npx @oss-autopilot/core@latest init <your-github-username>

Then add the server to your MCP client config:

{
  "mcpServers": {
    "oss-autopilot": {
      "command": "npx",
      "args": ["@oss-autopilot/mcp@latest"]
    }
  }
}

The MCP server exposes 35 tools, 6 resources, and 4 prompts. @latest means you get new releases automatically; pin a version (@oss-autopilot/mcp@5.7.4) if you would rather update on your own schedule.

Standalone CLI
npx @oss-autopilot/core@latest init <your-github-username>
npx @oss-autopilot/core@latest daily          # human-readable digest
npx @oss-autopilot/core@latest daily --json   # structured output
npx @oss-autopilot/core@latest doctor         # check token, state, rate limit

# or install it
npm install -g @oss-autopilot/core
oss-autopilot --help

Every command accepts --json and returns { success, data, error, timestamp }, so it is easy to script.

As a library
npm install @oss-autopilot/core
import { runDaily, runSearch } from '@oss-autopilot/core/commands';

const digest = await runDaily();
const issues = await runSearch({ maxResults: 10 });

API reference: jcosta.tech/oss-autopilot.

The daily check

The /oss daily check: you run /oss, the CLI fetches and classifies your open PRs, the plugin shows an action menu, an agent drafts a reply or fix, you approve, and only then is anything pushed or posted

  1. Run /oss.
  2. The CLI fetches your open PRs from GitHub and classifies each one: failing CI, changes requested, unanswered maintainer comment, merge conflict, incomplete checklist, or waiting on the maintainer.
  3. You get a short list with the PRs that need you first, and a menu of actions.
  4. Pick one. An agent reads the thread and the diff, then drafts a reply or prepares a fix.
  5. You read the draft and approve, edit, or discard it. Nothing is pushed or posted until you approve that specific action.
  6. Repeat, or stop. Most days this is a few minutes.

If you are new to this, set maxActivePRs to 3 to 5. A few PRs you respond to quickly do better than many you let sit.

Commands

The plugin adds 9 slash commands:

CommandWhat it does
/ossDaily check: what needs attention, then an action menu
/oss-searchFind issues to work on, matched to your languages and history
/oss-overnightUnattended run that prepares fix branches locally and writes a morning report
/oss-dashboardOpen the local dashboard in your browser
/oss-guidelinesView or edit what the tool has learned about each repo's review preferences
/pr-readyPre-push loop: lint, tests, parallel review agents, fix, repeat until clean
/plan-readyThe same review loop for an implementation plan, before you write code
/setup-ossConfigure preferences
/oss-helpQuick reference

Commands: /oss, /oss-search, /oss-overnight, /oss-dashboard, /oss-guidelines, /pr-ready, /plan-ready, /setup-oss, /oss-help

The plugin also ships 8 specialized agents that Claude dispatches for you:

AgentJob
pr-responderDrafts replies to maintainer feedback
pr-health-checkerDiagnoses CI failures, conflicts, stale reviews; rebases when needed
pr-compliance-checkerChecks a PR against opensource.guide practices and the repo's own guidelines
pre-commit-reviewerReviews your diff before you commit
issue-scoutSearches for and vets issues
repo-evaluatorJudges whether a repo is worth your time before you start
contribution-strategistLooks at your history and suggests where to focus
overnight-preparerPrepares one fix branch in a local worktree during /oss-overnight

Agents exist only in the Claude Code plugin. MCP and CLI users get the same underlying data through tools and commands.

For a deeper pre-push review, install the optional pr-review-toolkit plugin from the Claude Code marketplace. /pr-ready uses its reviewers in parallel when present and falls back to the built-in pre-commit-reviewer when not.

Finding new issues

/oss-search (or oss-autopilot search) looks for open issues that match your configured languages and labels, then vets each candidate: is it already claimed, is there a linked PR, does the repo merge outside contributions, how fast do maintainers respond. Search and vetting live in a separate package, oss-scout.

Two documents explain the scoring so you can see why a repo did or did not show up:

  • Repo scores: the history score (your own merged and closed PRs in that repo) and the health score (the repo's current activity, review speed, and merge rate).
  • Anti-LLM policy detection: repos whose CONTRIBUTING, CODE_OF_CONDUCT, or README say they do not accept AI-assisted contributions are skipped.

Overnight mode

/oss-overnight runs the daily check unattended. For PRs with a CI failure, a conflict, or requested changes, it prepares a fix branch in a local git worktree and runs the project's tests. It writes a report to ~/.oss-autopilot/reports/, and your next /oss shows it so you can decide what ships.

To schedule it on macOS:

oss-autopilot overnight schedule --install --hour 2

--install writes a launchd plist to ~/Library/LaunchAgents/ and prints the launchctl bootstrap command that loads it. It does not load it for you. Without --install it only prints the plist. There is no built-in scheduler for Linux yet; commands/oss-overnight.md describes the invocation to put in a systemd timer.

Read this before scheduling it. The unattended run is started with an allowlist of tools and a deny list that blocks git push, gh pr comment, gh api, npm publish, and similar commands, and it cannot ask you questions. That stops a well-behaved model from writing to GitHub. It is not a sandbox: the run executes each project's test suite with your credentials available, the same as if you ran those tests yourself. If that is more trust than you want to give, run the job as a separate OS user with no push credentials. See commands/oss-overnight.md for the full threat model.

Dashboard

Dashboard

/oss-dashboard opens a local web UI at http://localhost:3000 with your PRs by status, contribution charts, and buttons to shelve or re-prioritize a PR. It binds to loopback only.

Without Claude Code, run it from the CLI (needs @oss-autopilot/core 3.28.1 or newer, and one daily run so there is data to show):

npx @oss-autopilot/core@latest daily
npx @oss-autopilot/core@latest dashboard serve

Configuration

Settings live in ~/.oss-autopilot/state.json under config. Change them with /setup-oss, or from the CLI:

oss-autopilot config                     # show everything
oss-autopilot config maxActivePRs 5      # set one value
SettingDefaultDescription
githubUsername(detected)Your GitHub username
maxActivePRs10Open-PR count at which the tool suggests finishing before starting more
maxOpenPRsColdRepo1While none of your PRs in a repo have merged, search leaves the repo out once you have this many open PRs there, and the PR workflow warns before pushing another (0 = off)
maxOpenPRsPerRepo0 (off)Same cap for every repo, including ones where your PRs have merged
maxConcurrentImplementations2How many implementations may run in the background at once, across sessions and machines (0 = off). Two never share a checkout
dormantDays30Days without activity before a PR is marked dormant
minStars50Minimum repo stars to count in stats and charts
languages(chosen at setup)Languages for issue search
labels(chosen at setup)Issue labels for issue search
squashByDefaulttrueSquash commits before merge (true, false, or "ask")
excludeRepos[]Repos to leave out of issue discovery. PRs already open there are still tracked; the pre-push repo-cap check warns before opening a new one
excludeOrgs[]Orgs to leave out of everything (for example, your employer)
avoidRepos[]Repos to rank lower in search without excluding them
boostIssueTypes[]Issue label types to rank higher in search (for example bug)
includeDocIssuestrueInclude documentation issues in search
complexIssuesoffwarm relaxes issue vetting in repos where you already have a merged PR, so larger and maintainer-filed issues surface there
autoExtractLearningstrueAfter a PR merges, extract what the maintainers asked for into per-repo guidelines
issueListPath(none)Path to your own curated issue list
projectCategories[]Categories to prioritize (nonprofit, devtools, and so on)
preferredOrgs[]Orgs to prioritize

Stats and badges. oss-autopilot stats prints your merged-PR numbers; --markdown gives a shareable report and --badge gives shields.io endpoint JSON. For a live profile badge and SVG cards, see oss-widgets.

Sync across machines (optional). State can be stored in a secret GitHub gist instead of only on disk. See oss-autopilot state --help. A secret gist is unlisted, not access-controlled, so anyone with the URL can read it.

How it works

Architecture: the Claude Code plugin, the MCP server, and the dashboard all sit on one core library and CLI, which talks to the GitHub API, delegates issue search to oss-scout, and stores state in ~/.oss-autopilot

  • One core, three front ends. The plugin calls the CLI with --json. The MCP server imports the same functions. The dashboard is served by the CLI. They share one state file.
  • The logic is code, not prompts. PR status, CI failure categories (your bug, fork limitation, auth gate, flaky infrastructure), staleness, and repo scores are computed in TypeScript with tests. The model reads structured JSON and does the parts that need language: reading a review thread, drafting a reply, proposing a fix.
  • Nothing is cached about your PRs. Each run fetches your open PRs fresh from GitHub's Search API and enriches them with CI status, review decisions, and conflict state. Local state holds your config, your merged and closed history, per-repo scores, and learned guidelines.
  • It is careful with the API. ETag-based HTTP caching, rate-limit backoff, bounded concurrency, and GraphQL batching keep a daily run well inside GitHub's limits.
  • Text from GitHub is treated as untrusted. Issue bodies, comments, and review text are fenced and labeled before an agent sees them.

More detail: ARCHITECTURE.md. Security model and reporting: SECURITY.md.

What it will and will not do on its own

Interactive (/oss, MCP, CLI)Unattended (/oss-overnight)
Read your PRs, issues, CI logsYesYes
Edit files in a local clone or worktreeWhen you pick an actionYes, in a worktree it creates
Run a project's testsWhen you pick an actionYes
Push a branchOnly after you approveDirect git push is blocked; the CLI's own overnight push-prep refuses
Post a comment, open or merge a PROnly after you approveDirect gh writes are blocked; the CLI's own post and claim refuse
Send data anywhere other than GitHubNoNo

In interactive use, approval is per action. Approving one reply does not approve the next one.

All data stays in ~/.oss-autopilot/ (files are written 0600, the directory 0700). There is no telemetry.

Troubleshooting

Start here. It checks your token, the CLI bundle, the state file, and your rate limit:

npx @oss-autopilot/core@latest doctor

gh is missing or not logged in

brew install gh        # macOS; see https://cli.github.com for other platforms
gh auth login

The plugin's first-run build failed

find ~/.claude/plugins -name "oss-autopilot" -type d    # locate the plugin
cd <that path>/packages/core
npm install
npm run bundle

My PRs do not show up

  • Run /setup-oss and confirm the GitHub username.
  • Only PRs you authored are tracked.
  • Check excludeRepos, excludeOrgs, and minStars.

Updating

  • Plugin: /plugin update oss-autopilot
  • MCP and CLI via npx ...@latest: nothing to do
  • Your configuration carries over. Changelogs: core, mcp

Found a bug? Open an issue with the output of doctor --json.

Limitations

  • GitHub only. No GitLab, Bitbucket, or other forges.
  • 1,000-result cap. GitHub's Search API returns at most 1,000 results per query. If you have more than 1,000 open, merged, or closed PRs, the oldest are not counted.
  • Single user. It tracks one person's PRs. No team views or shared state.
  • Overnight scheduling is macOS only out of the box.

Contributing

Bug fixes, new agents, CLI improvements, and documentation are all welcome. CONTRIBUTING.md has setup instructions.

git clone https://github.com/costajohnt/oss-autopilot.git
cd oss-autopilot
pnpm install
pnpm test
pnpm start -- daily --json      # run the CLI from source
claude --plugin-dir .           # load your checkout as the plugin

The diagrams in this README are generated from the JSON files in docs/diagrams/ with archify. Regenerate them with node docs/diagrams/export-svg.mjs.

About

Built and used daily by costajohnt. The contributions below were managed with it.

OSS contribution stats for costajohnt

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for OSS Autopilot MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/oss-autopilot)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools