# oss-autopilot

An MCP server for contributing to other people's open source repos: it watches pull requests, hunts for issues and reads CI failures.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 24
- Author: costajohnt
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/costajohnt/oss-autopilot/tree/HEAD/packages/mcp-server
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/mcp/oss-autopilot

## What it does

The server hands your agent 30 tools, 6 resources and 4 prompts. You can check where your PRs stand, search GitHub for issues worth picking up, score a repo on a 1–10 health rubric, pull the comment thread on a pull request and draft a reply. Resources such as `oss://prs` and `oss://pr/{owner}/{repo}/{number}` feed context straight to the agent.

Both stdio and Streamable HTTP transports are supported. In HTTP mode the server writes a token to `~/.oss-autopilot/mcp.token` on first start with `0600` permissions, and every request has to carry an `Authorization: Bearer` header. A non-loopback `Host` gets `403`; a missing, non-numeric or oversized `Content-Length` gets `413`. The token survives restarts — delete the file and restart to rotate it.

Node.js 22+ and an authenticated GitHub CLI are required. Skip `gh auth login` and anything that talks to GitHub stops working. Some tools write to your account: `post` leaves a comment, `claim` takes an issue, `move` shifts a PR between states. Call `init` with your GitHub username once before anything else — it writes `~/.oss-autopilot/state.json`.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `GITHUB_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add oss-autopilot -e GITHUB_TOKEN=<GITHUB_TOKEN> -- npx -y @oss-autopilot/mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add mcp-server --env GITHUB_TOKEN=<GITHUB_TOKEN> -- npx -y @oss-autopilot/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@oss-autopilot/mcp"
            ],
            "env": {
                "GITHUB_TOKEN": "<GITHUB_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@oss-autopilot/mcp"
            ],
            "env": {
                "GITHUB_TOKEN": "<GITHUB_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e GITHUB_TOKEN=<GITHUB_TOKEN> mcp-server npx -y @oss-autopilot/mcp
```
Replace <…> with your own values

## When to use it
- see which pull requests are waiting on you
- find an issue you can actually patch
- size up a repo before writing code
- read a PR thread and draft a reply
- claim an issue with a comment

## Example prompts
- Run `daily` and show me what needs attention
- Use `search` to find a couple of Go issues I could help with
- Pull the comments on my PR and draft a reply with `respond-to-pr`

## Similar
- [om-pr-autopilot](https://affpapa.org/en/nevibecode/skills/om-pr-autopilot.md) — skill · 2500 installs
- [gh-axi](https://affpapa.org/en/nevibecode/skills/gh-axi.md) — skill · 8100 installs
- [yeet](https://affpapa.org/en/nevibecode/skills/paulrberg-yeet.md) — skill · 2600 installs
- [gh-cli](https://affpapa.org/en/nevibecode/skills/logicrw-gh-cli.md) — skill · 2300 installs
- [attach-review-to-pr](https://affpapa.org/en/nevibecode/skills/attach-review-to-pr.md) — skill · 1200 installs
- [stack](https://affpapa.org/en/nevibecode/skills/stack.md) — skill · 474 installs

From the same set: [costajohnt/oss-autopilot](https://affpapa.org/en/nevibecode/by/costajohnt/oss-autopilot.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
