CraftCI - Automated UX Craft & Billing-Safety CI Gate
v0.1.0Automated 20-rule UX craft, 5-posture Playwright/Axe & billing-safety CI gate + MCP server.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
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 and return score, grade, and remediations.
| Parameter | Type | Description |
|---|---|---|
code * | string | Source code to audit |
filename | string | Virtual file path (e.g. src/checkout.ts) |
craft_verify_billing_safety Verify Billing & Webhook Safety
Audit TypeScript or JavaScript payment and webhook handlers against the 5 critical Financial and Webhook Security rules (401/403, SKU pricing, HMAC, idempotency, zero PII logs).
| Parameter | Type | Description |
|---|---|---|
code * | string | Payment or webhook handler source 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.
| Parameter | Type | Description |
|---|---|---|
markup * | string | HTML/CSS/TSX UI source code |
filename | string | UI file name (e.g. App.tsx or index.html) |
craft_generate_ci_gate Generate CraftCI GitHub Action Gate
Generate a ready-to-paste GitHub Actions workflow YAML and CraftCI gate configuration for a target minimum score.
| Parameter | Type | Description |
|---|---|---|
minScore | number | Minimum Craft Score threshold (0-100) |
previewUrl | string | Optional staging preview URL |