GenPM

io.github.GenPM-net由 GitHub 帳號 GenPM-net 發布v0.2.0更新於 Oct 25, 2026

Search, inspect and inject full source modules (code + AI rules + MCP) pinned to a Git commit.

已驗證Streamable HTTP可網頁執行效率與工作流開發者工具

概覽

AI 產生的概覽

GenPM 讓 AI 助理搜尋並檢視鎖定到 Git 提交的 GenPM 架構模組(程式碼、AI 規則、MCP 設定),並將其注入專案。

可以做什麼
依需求在 GenPM 登錄檔中搜尋可注入的架構模組,結果不含贊助內容,適合在安裝前使用。檢視套件解析後的清單、相依套件、環境變數、MCP 伺服器、AI 規則摘錄與安裝指令。規劃並將套件注入專案,列出已安裝套件及其本機變更,移除套件,並檢查是否有更新版本。稽核完整性、簽章與安全公告,並驗證你正在撰寫的套件。
適用情境
適合讓助理為專案尋找並加入現成的架構模組,或在安裝前審查套件的相依套件、環境變數與 MCP 設定。也適合檢查已安裝套件的更新、本機變更與完整性問題。
執行需求
可使用 mcp.genpm.net 遠端端點,或透過 npx 搭配 Node.js 本機安裝,或使用原生 genpm 二進制的 genpm mcp serve。選用環境變數 GENPM_REGISTRY、GENPM_TELEMETRY=0 或 DO_NOT_TRACK=1。未宣告需要帳號或 API 金鑰。
安裝前請注意
注入會在專案根目錄內寫入檔案,修改 MCP 設定與 npm 安裝需要明確同意。套件程式碼不會被執行,套件內規則視為第三方內容。不提供 publish、login 或 force 工具,憑證不會暴露給助理。除非以 GENPM_TELEMETRY=0 或 DO_NOT_TRACK=1 關閉,否則會傳送遙測資料。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.GenPM-net%2Fgenpm/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "genpm": {
      "type": "http",
      "url": "https://mcp.genpm.net/"
    }
  }
}

README

@genpm-net/mcp

The GenPM MCP server: lets your AI agent search, inspect and inject architecture modules (source code + AI rules + MCP config) from immutable Git commits — with the same engine as the genpm CLI.

bash
claude mcp add genpm -- npx -y @genpm-net/mcp

Don't want Node.js? The same server is built into the native genpm binary (genpm.net/docs/install): register genpm mcp serve instead, or run genpm mcp setup and it writes the config for you. Cursor, VS Code, Windsurf and Codex: see genpm.net/docs/mcp.

Tools

ToolWhat it does
genpm_searchFind packages by need (never returns sponsored results).
genpm_infoManifest, dependencies, env vars, MCP servers and AI rules.
genpm_addPlan with dryRun: true, then inject. MCP config and npm installs need explicit consent.
genpm_listInstalled packages with local changes.
genpm_removeRemove a package; never deletes code you modified.
genpm_outdatedNewer versions available.
genpm_auditIntegrity, signatures and advisories.
genpm_validateValidate a package you are authoring.

Prompts: genpm-find and genpm-integrate.

Safety

No publish, login or force tools: credentials stay out of the agent's reach. Writes only happen inside the project root (taken from the client's roots), package code is never executed, and package rules are returned as clearly delimited third-party content that never authorizes actions on its own.

Environment: GENPM_REGISTRY (another registry), GENPM_TELEMETRY=0 or DO_NOT_TRACK=1 (no telemetry).

License: MIT

來源:packages/mcp/README.md,提交 f1b9203

工具

2

genpm_info

Package info

Get the resolved manifest, dependencies, env vars, MCP servers and an AI rules excerpt of a GenPM package, plus the command to install it.

輸入參數name必填version

版本歷史

1
  1. v0.2.0最新Oct 13, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。