mcpField
R
replen

replen

Local
github.com/replenhqDeveloper Tools8Updated 14w ago

About replen

@replen/mcp brings replen's repository-matching and portfolio-memory functions into Claude Code, Codex, and other MCP hosts. Coding agents can assess candidate projects against the open codebase and record decisions without an additional model call from replen.

Key features

  1. 01Match repositories to project capabilities
  2. 02Record candidate triage and decisions
  3. 03Recall portfolio-wide memory and links
  4. 04Browse Atlas carts and queues
  5. 05Open handoff pull requests

Use cases

  1. 01Find new tools suited to an open repository
  2. 02Assess an external repository for integration
  3. 03Track adopt, defer, or skip decisions
  4. 04Create handoff pull requests for candidates

MCP support

The stdio MCP server exposes 15 tools for matching, triage, portfolio memory, onboarding, and handoffs. MCP hosts can use its setup command to add the server configuration.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"replenhq-replen": {
"command": "npx",
"args": [
"-y",
"@replen/mcp"
],
"env": {
"DIGEST_BASE_URL": "<DIGEST_BASE_URL>",
"DIGEST_TOKEN": "<DIGEST_TOKEN>"
}
}
}
}
Run commandnpx -y @replen/mcp
Environment variables to set
DIGEST_BASE_URLBackend base URL. Set automatically by npx replen; override only to self-host.
DIGEST_TOKENSecretOptional hosted-tier token. Set automatically by npx replen; not needed to self-host.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@replen/mcp1.3.5

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

@replen/mcp

Smarter AI Development workflows. MCP server that brings replen - the AI that asks "can we do this better?" on your codebase - inside Claude Code / Codex / any MCP host.

While your AI coding tool waits for prompts, replen reads your code against the ecosystem every morning. This MCP lets the agent act on the results without leaving chat:

  • "what new tools shipped this week that fit my project?"
  • "is github.com/owner/repo worth integrating into the codebase I have open?"
  • "open handoff PRs for everything I starred"

What it exposes

replen ships 15 tools. Three moving parts sit behind them: Brainstem matches, Watchtower watches, Atlas remembers. The tools group under Brainstem, Atlas, and onboarding.

Brainstem (the matching loop, in-session on your own subscription tokens)
ToolReturns
replen_matchThe cwd repo's candidate inventory: repo metadata + cosine scores + whyShortlisted lines, everything Watchtower surfaced and Brainstem scored against this codebase's capabilities
replen_record_triageRecords the agent's per-candidate verdict (adopt / port / cherry-pick / clean-room / upgrade / skip / defer) with score, effort, and reasoning
replen_stateRecords the user's action on a candidate: star / hide / handoff / surfaced
replen_capture_insightStores a portfolio insight from triage: a transferable lesson or a sharpened boundary
Atlas (the knowledge graph + memory)
ToolReturns
replen_leapsNon-obvious cross-project / adjacency / cross-user connections from Atlas, each with a via path
replen_recallMemory across your whole portfolio: past verdicts, grounded reports, capabilities, and notes for a query
replen_cartPulls a saved or built-in Atlas Cart's rows in-session (Blind spots, Triage board, Keystones, Brought in, Stale deferrals, By domain, or your saved carts)
replen_queueThe awareness-to-action queue: list / add / done / dismiss items carried over from the Brief
replen_handoffOpens a handoff PR in the matched project's repo
Onboarding (grounding a project)
ToolReturns
replen_onboard_statePer-repo grounding state across the portfolio, the cheap pre-flight for /replen-onboard
replen_set_capabilitiesWrites a project's grounded capabilities + report (read locally by the agent, never uploaded as raw files)
replen_set_tagsWrites a project's ranked domain tag cloud
replen_set_versionsWrites a project's pinned direct-dependency + runtime versions
replen_set_productGroups sibling repos under one product

Plus replen_help, the tool index.

The core tool is replen_match: it returns the cwd repo's candidate inventory (metadata + cosine + whyShortlisted) with no LLM call on our side, so the host agent reasons about fit against your actual open codebase in context, then records each call via replen_record_triage. Atlas now has two halves: the graph/explore view and Carts, browsable filterable views over your decision graph that replen_cart reads in-session.

Install (one-liner)

Get your token from your replen /settings page → "Connect Claude Code", then run:

npx -y @replen/mcp setup --token=ing_xxxxxxxx --base=https://app.replen.dev

That writes the MCP entry into ~/.claude.json (with a backup of the original) and is fully idempotent - re-run it any time you rotate the token.

Restart Claude Code to pick up the new server.

What it actually does under the hood

  • Adds mcpServers.replen to your Claude Code config
  • command: "replen-mcp" - resolved via npx on each host launch, or npm i -g @replen/mcp for a slightly faster startup
  • env: DIGEST_BASE_URL + DIGEST_TOKEN
  • Existing MCP servers (firebase, neon, etc.) are preserved untouched
  • A .bak of your config is saved next to it for one-step recovery

If you'd rather hand-edit your config, the block to add is:

{
  "mcpServers": {
    "replen": {
      "command": "replen-mcp",
      "env": {
        "DIGEST_BASE_URL": "https://app.replen.dev",
        "DIGEST_TOKEN": "ing_xxxxxxxx"
      }
    }
  }
}

Other commands

replen-mcp --version     # print version
replen-mcp --help        # show available subcommands
replen-mcp               # run as stdio MCP server (your host spawns this; you usually don't run it directly)

Example session

You: anything new today for my project X?
Agent: [calls replen_match({repo: "you/my-project-x"})]
       2 candidates for this repo, top one is roboflow/supervision - 38k★ - MIT -
       cosine 0.71 · whyShortlisted: fills your "object tracking" capability.
       Want me to triage them against your current codebase?

You: yes
Agent: [reads the candidate README + greps your src/ for related code]
       supervision drops in for your hand-rolled annotation utilities and
       deletes your ByteTrack reimplementation. Strong fit.
       [calls replen_record_triage({repo: "roboflow/supervision", verdict: "adopt", ...})]
       Recorded. Want a handoff PR?

You: yes
Agent: [calls replen_state({repo: "roboflow/supervision", status: "handed_off", ...})]
       [calls replen_handoff({matchId: 96})]
       PR opened: github.com/you/my-project-x/pull/142

Costs

  • Read-only tools (replen_match / replen_cart / replen_recall / replen_leaps) cost nothing - pure JSON shuttle.
  • Triage (the per-candidate verdict + writeup) is the agent's own reasoning, paid through your Claude subscription inside the session, never on our side. Replen stores no LLM API key and makes no per-candidate model call; the only server-side model work is cheap embeddings + a catalogue classifier on Replen's own account.
  • replen_handoff is one GitHub write call. No LLM on our side.

No additional replen-side cost vs the web dashboard - the MCP server queries the same API as app.replen.dev.

License

Apache-2.0 - see LICENSE. Permissive open source: free to use, modify, and redistribute for any purpose, with an explicit patent grant. "Replen" and the other named surfaces remain trademarks (Apache §6).

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.