CraftCI - Automated UX Craft & Billing-Safety CI Gate

io.github.srigenmedia由 GitHub 帳號 srigenmedia 發布v0.1.0更新於 Nov 21, 2026

Automated 20-rule UX craft, 5-posture Playwright/Axe & billing-safety CI gate + MCP server.

發布方自己的服務:Craft

已驗證Streamable HTTP可網頁執行開發者工具安全與監控

概覽

AI 產生的概覽

遠端 MCP 伺服器,對程式碼執行 CraftCI 的 20 條 UX、無障礙與計費安全稽核規則,並產生 CI 閘門設定。

可以做什麼
  • 依完整 20 條靜態、UI 姿態與計費安全規則稽核程式碼片段或檔案清單,回傳分數、等級與修正建議
  • 依五條財務安全規則檢查 TypeScript/JavaScript 付款與 webhook 處理程式(401/403 檢查、伺服器端 SKU 定價、HMAC、冪等、日誌不含 PII)
  • 在五種視窗尺寸下依十條版面與無障礙規則評估 HTML、CSS 或 TSX 範本
  • 為目標最低分數產生可直接貼上的 GitHub Actions 工作流程 YAML 與 Markdown 閘門設定
適用情境
適合讓助理檢查 AI 產生的介面或付款程式碼是否有溢出、無障礙與 webhook 安全問題,或在不手寫工作流程的情況下建立 CI 分數閘門。
執行需求
需要遠端 streamable HTTP 端點,無需本機套件。需要服務商簽發的 bearer API 金鑰,透過 Authorization 標頭傳送。
安裝前請注意
需要在 Authorization 標頭提供 API 金鑰,請避免寫入共用日誌或設定檔。提交的程式碼片段與檔案清單會傳送到服務商的託管服務進行分析。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 CraftCI - Automated UX Craft & Billing-Safety CI Gate,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "craftci-automated-ux-craft-billing-safet": {
      "type": "http",
      "url": "https://craft.srigenmedia.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

CraftCI (io.github.srigenmedia/craft-ci)

[mcptry] [CraftCI]

Automated 20-Rule UX Craft, 5-Posture Playwright/Axe & Billing-Safety CI Gate + MCP Server (https://craft.srigenmedia.com)

CraftCI catches AI-generated UI and billing regressions before production: horizontal overflow across 5 canonical viewports, WCAG 2.1 AA Axe violations, missing 401/403 auth gates, client-trusted pricing, missing HMAC webhook checks, and >250 LOC bloat.

Quickstart

1. Reusable GitHub Action

yaml
- uses: srigenmedia/[email protected]  with:    repo: "."    min-score: "85"

2. Streamable HTTP MCP Client

bash
claude mcp add --transport http craft-ci https://craft.srigenmedia.com/mcp

MCP Tools

  1. craft_audit_code_snippet — Full 20-rule static, UI posture, and billing-safety audit.
  2. craft_verify_billing_safety — 5 critical Financial & Webhook Security rules (401/403, server SKU pricing, HMAC, idempotency, zero PII logs).
  3. craft_score_posture_report — 10 layout and accessibility rules across 5 viewports.
  4. craft_generate_ci_gate — Generates a ready-to-paste GitHub Actions workflow YAML.

Released under the MIT License. See SECURITY.md for our fail-closed security policy.

來源:README.md,提交 0a74992

工具

4

craft_audit_code_snippet

Audit Code Snippet (20 Rules)

Run the full 20-rule CraftCI static, UI posture, and billing-safety audit on a code snippet or file list and return score, grade, and remediations.

輸入參數code必填filename

craft_verify_billing_safety

Verify Billing & Webhook Safety

Audit TypeScript/JavaScript payment and webhook handlers against the 5 critical Financial & Webhook Security rules (401/403, server SKU pricing, HMAC, idempotency, zero PII logs).

輸入參數code必填

craft_score_posture_report

Score 5-Posture & Accessibility Craft

Evaluate HTML, CSS, or TSX UI templates across CraftCI's 10 layout and accessibility rules including 5-posture overflow guards, 44px targets, tabular-nums, and reduced-motion.

輸入參數markup必填filename

craft_generate_ci_gate

Generate CraftCI GitHub Action Gate

Generate a ready-to-paste GitHub Actions workflow YAML and Markdown CraftCI gate configuration for a target minimum score.

輸入參數minScorepreviewUrl

版本歷史

1
  1. v0.1.0最新Nov 21, 2026

評分

已滿足適用檢查項的 100%

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

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

其他 Craft 整合