Toolchain Lens Mcp

io.github.mrfentmen由 GitHub 账号 mrfentmen 发布v1.0.0更新于 Nov 5, 2026

Local explanation of reproducibility signals and toolchain contradictions without exact versions...

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

本地 MCP 服务器,检查小型项目的工具链与 CI 文件,在不暴露确切版本的前提下解释可复现性信号与矛盾。

可以做什么
  • 检查本地项目的工具链文件:包管理器文件、运行时声明、容器文件与 CI 配置
  • 以结构性信号标签的形式报告粗略的矛盾与缺失的锚点
  • 仅返回文件名、类别与信号标签,不返回确切版本、依赖名称、命令输出、环境变量值或密钥内容
适用场景
适合希望让助手在不泄露版本与依赖细节的情况下,快速核查小型项目在包管理器、运行时、容器与 CI 文件中是否一致地固定工具链的场景。
运行要求
以本地 stdio 进程运行,通过 npm 包 toolchain-lens-mcp 安装;需要 Node.js 并执行构建步骤(npm install、npm run build)。访问范围由环境变量 TOOLCHAIN_LENS_ROOT 限定,需指向项目根目录。未声明认证或 API 密钥。
安装前请注意
它会读取本地文件系统,但仅限 TOOLCHAIN_LENS_ROOT 下经 realpath 校验的有界白名单;会跳过 Git 数据、依赖、构建产物、覆盖率、缓存与 vendor 目录。它只是解释辅助工具,不是构建执行器、锁文件校验器或漏洞扫描器,其结果不应视为权威验证。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Toolchain Lens Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

toolchain-lens-mcp

Toolchain Lens is a local MCP tool for explaining reproducibility signals in small projects. It looks at package-manager files, runtime declarations, container files, and CI configuration, then reports coarse contradictions and missing anchors.

Tool

  • explain_toolchain: inspect a local project without returning exact versions, dependency names, command output, environment values, or secret contents.

Safety

  • Local paths only, bounded by TOOLCHAIN_LENS_ROOT and realpath checks.
  • Reads only a bounded allowlist of toolchain and CI files.
  • Skips Git data, dependencies, build output, coverage, caches, and vendor directories.
  • Returns filenames, categories, and structural signal labels only.
  • This is an explanation aid, not a build executor, lockfile validator, or vulnerability scanner.

Run

bash
npm installnpm run buildnode dist/index.js

来源:README.md,提交 b38f4fd

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 22, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

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