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 分

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