Replen

io.github.replenhq由 GitHub 帳號 replenhq 發布v1.3.5更新於 Oct 24, 2026

A local intelligence layer for AI coding agents. Maps your repos, matches the open-source frontier.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

Replen 是本地 MCP 伺服器,讓 AI 程式助理把目前開啟的程式碼庫與開源專案比對、記錄評估結論,並檢索跨專案記憶。

可以做什麼
將目前儲存庫與候選開源專案比對,回傳分數與入選理由,並記錄每個候選的評估結論與工作量估計。記錄使用者對候選的動作(收藏、隱藏、交接、已呈現),並保存評估所得的組合層級洞察。查詢知識圖譜中的跨專案關聯,檢索過往結論與筆記,讀取已儲存或內建的 Atlas Cart 檢視。管理從簡報延續的行動佇列(列出、新增、完成、忽略),並在符合專案的儲存庫中發起交接拉取請求。為專案建立基礎資訊:寫入能力與報告、排序後的領域標籤、鎖定的相依套件與執行環境版本,以及產品分組;另有說明工具作為工具索引。
適用情境
當你希望 AI 程式助理評估開源專案是否適合目前開啟的程式碼庫、跨儲存庫記錄採用決策,並在不離開對話的情況下把這些決策轉為交接拉取請求時使用。
執行需求
透過 npx 或全域安裝 @replen/mcp 作為本機程序執行,需要 Node.js。需要 replen 帳號,以及在 replen 設定頁面取得的權杖,透過 DIGEST_TOKEN 傳入,另需 DIGEST_BASE_URL(安裝指令會自動設定,自架時可覆寫)。需要連線至 replen API 的網路,發起交接拉取請求時還需存取 GitHub。
安裝前請注意
安裝指令會將 MCP 項目寫入 Claude Code 設定檔,並備份原始檔案。DIGEST_TOKEN 是機密憑證。多個工具會寫入資料:評估結論、候選狀態、洞察、佇列項目、專案能力、標籤、版本與產品分組。replen_handoff 會執行 GitHub 寫入操作,在儲存庫中建立拉取請求。評估推理費用由你自己的 Claude 訂閱負擔。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Replen,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

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:

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

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

Other commands

bash
replen-mcp --version     # print versionreplen-mcp --help        # show available subcommandsreplen-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: yesAgent: [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: yesAgent: [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).

來源:mcp/README.md,提交 1897e7a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.3.5最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分