🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@oss-autopilot/mcp

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oss-autopilot/mcp

MCP server for OSS Autopilot — exposes PR tracking, issue discovery, and contribution management as MCP tools

latest
Source
npmnpm
Version
5.7.1
Version published
Weekly downloads
69
-42.5%
Maintainers
1
Weekly downloads
 
Created
Source

@oss-autopilot/mcp

MCP server for OSS Autopilot — exposes PR tracking, issue discovery, and contribution management as MCP tools for any MCP-compatible client.

npm Node License

What It Provides

FeatureCountDescription
Tools30daily, status, search, features, vet, vet-list, verify-issue, track, compliance-score, repo-vet, strategy, comments, post, claim, config, init, setup, check-setup, startup, dismiss, undismiss, move, state-show, state-sync, state-unlink, guidelines-list, guidelines-get, guidelines-store, guidelines-reset, guidelines-fetch-corpus
Resources6oss://status, oss://config, oss://prs, oss://prs/shelved, oss://pr/{owner}/{repo}/{number}, oss://repo/{owner}/{repo}/guidelines
Prompts4triage (PR prioritization), respond-to-pr (draft response), find-issues (discover issues), extract-learnings (distill per-repo guidance from past PR feedback)

Supports stdio (default) and Streamable HTTP transports.

Prerequisites

  • Node.js 22+
  • GitHub CLI authenticated (gh auth login)

Quick Start

# 1. Add the server to your MCP client (see config examples below)

# 2. From your MCP client, call the `init` tool once with your GitHub username
#    (this writes ~/.oss-autopilot/state.json).

# 3. Use the other tools — e.g. `daily` to check your PRs, `search` to find issues.

Client Configuration

Claude Desktop

Add to your claude_desktop_config.json:

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

Cursor

Add to .cursor/mcp.json in your project or global config:

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

Codex CLI

codex mcp add oss -- npx @oss-autopilot/mcp@latest

Windsurf

Add to your Windsurf MCP config:

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

Streamable HTTP (any client)

Run the server in HTTP mode instead of stdio:

npx @oss-autopilot/mcp@latest --http --port 3001

The server listens at http://127.0.0.1:3001/mcp and accepts POST requests.

Authentication

HTTP mode requires a bearer token on every request (stdio mode does not — it inherits the parent process identity). On first --http startup, the server generates a random 32-byte token and writes it to ~/.oss-autopilot/mcp.token with 0600 permissions. The path and "newly generated" marker are logged to stderr at startup.

Every HTTP client must send:

Authorization: Bearer <contents of ~/.oss-autopilot/mcp.token>

Requests without a valid Authorization header return 401. The Bearer scheme is case-insensitive per RFC 7235; the token value itself is compared byte-for-byte in constant time. Requests with a non-loopback Host header return 403 (DNS-rebinding defense). Requests must declare a numeric Content-Length ≤ 1 MiB — missing, non-numeric, or oversize Content-Length values return 413.

The token persists across restarts. To rotate, delete the file and restart — a new token will be generated. To relocate the token (e.g. for multi-user or CI setups), set OSS_AUTOPILOT_MCP_TOKEN_PATH to the desired absolute path before starting the server.

Tools Reference

ToolDescriptionRead-only
dailyRun daily PR monitoring check with prioritized summaryNo
statusShow current PR tracking statusYes
searchSearch GitHub for contributable issuesYes
featuresFind feature-scoped opportunities in repos with 3+ merged PRs (relationship-anchored)Yes
vetAnalyze an issue for contribution suitabilityYes
verify-issueDeterministically verify issue state and linked-PR claims before vettingYes
vet-listRe-vet all available issues in the curated issue listNo
trackInspect a PR: read-only metadata lookup (nothing is tracked or persisted)Yes
compliance-scoreScore a PR against opensource.guide best practices (#1245)Yes
repo-vetCompute the repo health rubric (1–10 + verdict) for owner/repo (#1271)Yes
strategyOn-demand contribution strategy snapshot via computeStrategy() (#1243)Yes
commentsFetch and display PR commentsYes
postPost a comment on an issue or PRNo
claimClaim an issue by posting a commentNo
configGet or set configuration valuesNo
initInitialize with a GitHub usernameNo
setupConfigure preferences (languages, interests)No
check-setupCheck if setup is completeYes
startupRun startup checks (auth, state, config)No
dismissDismiss an issue from notificationsNo
undismissRe-enable notifications for a dismissed issueNo
moveMove a PR between states (attention, waiting, shelved, auto)No
state-showShow current state persistence mode (local or Gist) and sync statusYes
state-syncForce push current state to the backing GistNo
state-unlinkDisconnect from Gist persistence and switch to local-only modeNo
guidelines-listList repos that have stored guidelines (always empty in local mode)Yes
guidelines-getRead per-repo learning guidelines extracted from past PR feedbackYes
guidelines-storePersist per-repo guidelines (8 KB cap; requires Gist mode)No
guidelines-resetTombstone the guidelines file for a repoNo
guidelines-fetch-corpusFetch raw PR comment bundles for the host's extract-learnings prompt to consumeNo

Resources Reference

Resource URIDescription
oss://statusPR tracking status (cached local state)
oss://configCurrent configuration
oss://prsActive open PRs from last daily digest
oss://prs/shelvedShelved PRs
oss://pr/{owner}/{repo}/{number}Detail for a specific PR
oss://repo/{owner}/{repo}/guidelinesPer-repo learning guidelines (markdown)

Prompts Reference

PromptArgsDescription
triagenoneFetches daily digest and builds a prioritized triage list
respond-to-prprUrlFetches PR comments and context for drafting a response
find-issuesmaxResults?Searches for issues ranked by viability score
extract-learningsrepo, corpus, existingGuidelines?Distills durable per-repo guidance from raw PR comment bundles (#867)

Programmatic Usage

The server can also be imported and used as a library:

import { createServer } from '@oss-autopilot/mcp';

const server = createServer();
// Connect to your own transport

More Information

See the main repository README for the full documentation, including the Claude Code plugin, CLI usage, dashboard, and contributing guide.

License

MIT

FAQs

Package last updated on 16 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts