Schema Sieve Mcp

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

Local JSON Schema structure inspection and privacy-safe fixture planning.

已验证STDIO仅桌面开发者工具数据与分析

概览

AI 生成的概览

本地 MCP 服务器,用于检查 JSON Schema 文件结构并规划隐私安全的测试数据占位路径。

可以做什么
  • 汇总 schema 的类型、属性、必填字段、约束、组合与引用
  • 生成 string、integer、date-time 等占位路径,不复制或编造真实测试数据
适用场景
适合在依据 JSON Schema 编写测试时使用,快速了解结构并列出需要填充的路径,尤其适用于体积较大或包含嵌套约束、联合类型和数组的 schema。
运行要求
以本地 Node.js 进程运行,从 npm 包安装后通过 node dist/index.js 启动。仅接受本地 JSON 文件,路径受环境变量 SCHEMA_SIEVE_ROOT 限制,从包内启动时默认取工作区上级目录。未声明任何认证。
安装前请注意
它会读取配置根目录下的本地 JSON 文件,建议将 SCHEMA_SIEVE_ROOT 指向范围较窄的目录。它明确不是 JSON Schema 校验器,也不是安全扫描器,不要用它做校验或敏感数据检测;示例、默认值、常量及疑似敏感属性名会被省略或标记为已省略。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

schema-sieve-mcp

Schema Sieve is a local MCP tool for understanding JSON Schema files while planning tests. It focuses on the part that usually takes the most time: finding required paths, nested constraints, unions, arrays, and likely sensitive fields before writing fixtures.

Tools

  • inspect_schema: summarize types, properties, required fields, constraints, composition, and references.
  • plan_fixture: produce placeholder paths such as <string>, <integer>, and <string:date-time> without inventing or copying test data.

Safety

  • Only local JSON files are accepted.
  • Paths are bounded by SCHEMA_SIEVE_ROOT, which defaults to the workspace parent when launched from the package.
  • Files are capped at 2 MB and results are bounded.
  • Examples, defaults, constants, and sensitive-like property names are omitted or marked as omitted.
  • This is structural guidance, not a JSON Schema validator and not a security scanner.

Run

bash
npm installnpm run buildnode dist/index.js

来源:README.md,提交 b2622fc

工具

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

版本历史

1
  1. v1.0.0Sep 22, 2026

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

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