# replen

replen connects an AI coding agent to open-source projects that fit the repository in view. It helps review candidates, keep decisions, and create handoff PRs.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8
- Author: replenhq
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/replenhq/replen/tree/HEAD/mcp
- Updated: 2026-09-28
- HTML: https://affpapa.org/en/nevibecode/mcp/replen

## What it does

replen exposes 15 MCP tools for finding and tracking project candidates. The main tool, `replen_match`, reads the current repository context and returns matching projects with metadata, similarity scores, and selection notes. The agent can then record a verdict, change a candidate’s state, or request a handoff PR.

Its parts cover matching, portfolio memory, and project onboarding. Atlas keeps past verdicts, reports, notes, cross-project links, queues, and saved carts. Onboarding stores grounded capabilities, domain tags, pinned runtime and dependency versions, plus product grouping. A `DIGEST_TOKEN` is required; without it, the MCP server cannot connect.

The setup command registers `replen` through `npx`, backs up the existing Claude Code configuration, and leaves other MCP servers intact. Candidate triage is handled by the host agent through its own subscription, while Replen uses embeddings and a catalogue classifier on its side.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `DIGEST_BASE_URL`, `DIGEST_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 --env DIGEST_BASE_URL=<DIGEST_BASE_URL> --env DIGEST_TOKEN=<DIGEST_TOKEN> --transport stdio mcp -- npx -y @replen/mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add mcp --env DIGEST_BASE_URL=<DIGEST_BASE_URL> --env DIGEST_TOKEN=<DIGEST_TOKEN> -- npx -y @replen/mcp
```
Replace <…> with your own values

### Cursor

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

### GitHub Copilot

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

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e DIGEST_BASE_URL=<DIGEST_BASE_URL> -e DIGEST_TOKEN=<DIGEST_TOKEN> mcp npx -y @replen/mcp
```
Replace <…> with your own values

## When to use it
- find open-source projects that fit the current repository
- record a verdict for each reviewed candidate
- recall decisions and notes across a project portfolio
- open a handoff PR for a selected match

## Example prompts
- Find new tools that fit the repository I have open and explain why they were selected.
- Use `replen_match`, review the candidates against this codebase, then save each verdict with `replen_record_triage`.
- Create handoff PRs for every project I have starred.

## Similar
- [gh-issue-sync](https://affpapa.org/en/nevibecode/skills/gh-issue-sync.md) — skill · 23300 installs
- [autofix](https://affpapa.org/en/nevibecode/skills/autofix.md) — skill · 10400 installs
- [oss-issue-triage](https://affpapa.org/en/nevibecode/skills/oss-issue-triage.md) — skill · 10400 installs
- [gh-axi](https://affpapa.org/en/nevibecode/skills/gh-axi.md) — skill · 8100 installs
- [printing-press-publish](https://affpapa.org/en/nevibecode/skills/printing-press-publish.md) — skill · 6900 installs
- [gh-cli](https://affpapa.org/en/nevibecode/skills/gh-cli.md) — skill · 6600 installs

---
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
