# replen MCP server

> Enables AI coding agents to discover, triage, and integrate relevant open-source tools and libraries directly into your codebase.

- Repository: https://github.com/replenhq/replen
- Page: https://hostedmcp.org/servers/replenhq/replen
- Transport: stdio
- Stars: 8
- License: Apache-2.0
- Latest version: 1.3.5

## Install

### Claude Code

```sh
claude mcp add --env 'DIGEST_TOKEN=<YOUR_DIGEST_TOKEN>' replen -- npx -y @replen/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "replen": {
      "command": "npx",
      "args": [
        "-y",
        "@replen/mcp"
      ],
      "env": {
        "DIGEST_TOKEN": "<YOUR_DIGEST_TOKEN>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "replen": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@replen/mcp"
      ],
      "env": {
        "DIGEST_TOKEN": "<YOUR_DIGEST_TOKEN>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"replen","type":"stdio","command":"npx","args":["-y","@replen/mcp"],"env":{"DIGEST_TOKEN":"<YOUR_DIGEST_TOKEN>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "replen": {
      "command": "npx",
      "args": [
        "-y",
        "@replen/mcp"
      ],
      "env": {
        "DIGEST_TOKEN": "<YOUR_DIGEST_TOKEN>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add replen --env 'DIGEST_TOKEN=<YOUR_DIGEST_TOKEN>' -- npx -y @replen/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.replen]
command = "npx"
args = ["-y", "@replen/mcp"]

[mcp_servers.replen.env]
DIGEST_TOKEN = "<YOUR_DIGEST_TOKEN>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'DIGEST_TOKEN=<YOUR_DIGEST_TOKEN>' replen npx -- -y @replen/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "replen": {
      "command": "npx",
      "args": [
        "-y",
        "@replen/mcp"
      ],
      "env": {
        "DIGEST_TOKEN": "<YOUR_DIGEST_TOKEN>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DIGEST_TOKEN` | no | yes | Optional hosted-tier token. Set automatically by npx replen; not needed to self-host. |
| `DIGEST_BASE_URL` | no | no | Backend base URL. Set automatically by npx replen; override only to self-host. |

## FAQ

### Does using the triage tool cost extra?

No, triage uses the agent's own reasoning and is paid through your existing Claude subscription; replen does not make per-candidate model calls.
