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 集成