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 分

    请在仓库或注册中心条目中声明许可证。