mcp-ink-design
Generates modern CSS architectures with OKLCH color tokens, fluid typography, logical properties, and responsive design rules.
Configures dynamic Google Fonts imports for Arabic and Latin scripts, generating CSS variables with optical line-heights.
Scaffolds semantic HTML5 projects with accessible landmarks and structured markup.
Provides client-side OWASP security audits, scanning for XSS, unsafe DOM sinks, token leakage, and generating tailored CSP headers.
Generates memory-safe Three.js canvas experiences such as particle constellations and geometric wireframes.
Creates purposeful 3D WebGL experiences with responsive canvases, devicePixelRatio clamping, and memory disposal cleanup.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-ink-designcreate a tactile-button component with a luxury-dark OKLCH palette"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-ink-design βοΈ
Model Context Protocol (MCP) Server for High-Craft Web Design & Engineering.
Defeating "AI Slop" through bespoke OKLCH color harmonies, mathematical fluid typography, layered physical depth, Three.js 3D experiences, OWASP security audits, and dedicated Python verification.
π The Anti-AI-Slop Manifesto (INK_MASTER.md)
Most AI-generated web interfaces look generic, repetitive, and bland:
Cliche
#6366f1/#a855f7purple-to-blue linear gradients on dark cards.Rigid pixel typography that breaks or looks clumsy on mobile devices.
Single harsh black drop-shadows instead of layered ambient occlusion.
Div-heavy markup lacking semantic landmarks (
<main>,<header>,<nav>).Dangerous client-side DOM injections (
innerHTML,eval) and tokens stored inlocalStorage.
mcp-ink-design enforces a human-grade architectural standard:
Perceptually Uniform OKLCH Color Spaces: Uniform lightness and chroma without dead gray zones in gradients.
Mathematical Fluid Typography: Smooth viewport scaling using
clamp(min, preferred, max).Tactile Micro-Interactions: Real physical response curves (
cubic-bezier(0.16, 1, 0.3, 1)).Purposeful 3D WebGL / Three.js: Responsive canvases with devicePixelRatio clamping and memory disposal cleanup.
Zero-Trust Security & Auth: Strict Content Security Policy (CSP), safe DOM sinks, and HttpOnly cookie architecture.
External Verification Suite: Automated Python linter for AST security, contrast calculations, and design heuristics.
Related MCP server: imugi
π οΈ Tool Suite (tools/list)
Tool Name | Action | Description |
| Scaffolding | Scaffolds a complete modern web project (Semantic HTML5, CSS architecture, OKLCH tokens, main.js) |
| Color & Tokens | Generates OKLCH palettes, CSS custom properties, and WCAG AAA contrast ratios |
| UI Components | Crafts tactile components ( |
| 3D WebGL | Generates memory-safe Three.js canvas experiences ( |
| Modern JS/TS | Generates zero-dependency logic modules ( |
| Security Audit | Scans code for DOM XSS, eval, token leakage in localStorage, and generates tailored CSP headers |
| Design QA | Computes Craft Grade (S, A, B, C), checks anti-slop rules, evaluates contrast, and audits RTL/LTR logical properties |
| External Verification | Executes the dedicated Python testing suite ( |
| Multi-Viewport QA | Captures 16:9 Desktop, 9:16 Story, and 390x844 Mobile snapshots with automated overflow checks |
| Reverse-Engineering | Deconstructs any website (URL or HTML/CSS) into an OKLCH palette, font hierarchy, and design blueprint |
| Dynamic Assets | Configures dynamic Google Fonts imports (Arabic & Latin) and generates CSS variables with optical line-heights |
π Arabic Typography & RTL/LTR Logical Properties
mcp-ink-design includes first-class engineering for Arabic and bilingual web apps:
Modern CSS Logical Properties: Automatically enforces
margin-inline,padding-inline,inset-inline, andtext-align: startinstead of hardcoded physical directions.Arabic Optical Compensation: Line-heights for Arabic glyphs are adjusted to
1.75 - 1.85for body text to avoid diacritic and ascender clipping.Curated Arabic Font Stacks:
IBM Plex Sans Arabic,Cairo,Tajawal,Readex Pro, andAmiri.Bidi Isolation: Automated
<bdi>wrapping andunicode-bidi: isolateprevent punctuation jumping in mixed-language code snippets.
πΈ Multi-Viewport Capture (16:9, 9:16, Mobile)
After modifying any layout, ink_capture_viewport captures:
16:9 Landscape (1600x900 / 1920x1080): Desktop container validation.
9:16 Tall Story (540x960 / 1080x1920): Vertical social and mobile story view.
Standard Mobile (390x844): Responsive mobile layout check, ensuring zero horizontal scrollbar leaks.
π MCP Resources (resources/list)
ink://master/philosophy: The complete text ofINK_MASTER.mdconstitution and tool execution pipeline.ink://tokens/design-presets: Curated OKLCH presets (editorial,luxury-dark,cyber-tactile,neo-brutalist,organic-modern).ink://security/owasp-frontend: Client-side OWASP security checklist and guidelines.
π¬ MCP Prompts (prompts/list)
ink_creative_direction: Guided session to establish project aesthetics, color tokens, and layout before writing code.ink_anti_slop_audit: Guided workflow to inspect any existing code, compute craft scores, and remediate slop.
π Installation & Client Setup
1. Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"ink-design": {
"command": "npx",
"args": ["-y", "mcp-ink-design"]
}
}
}Or when developing locally:
{
"mcpServers": {
"ink-design": {
"command": "node",
"args": ["c:/Users/DKurdistan/Desktop/mcp-ink-design/dist/index.js"],
"env": {
"INK_PYTHON_PATH": "python"
}
}
}
}2. Antigravity IDE / Cursor / Windsurf
Add to your workspace .agents/mcp_config.json or global config:
{
"mcpServers": {
"ink-design": {
"command": "node",
"args": ["c:/Users/DKurdistan/Desktop/mcp-ink-design/dist/index.js"]
}
}
}π Python Verification Suite (python/ink_verifier)
The server includes a dedicated Python testing and verification engine that runs independently or via ink_python_test_runner:
# Run python unit tests
python -m unittest discover -s python/test
# Test contrast ratio directly via CLI
echo '{"foreground": "#ffffff", "background": "#0b0f19"}' | python -m python.ink_verifier.cli --action contrast --stdin
# Test security linter
echo '{"code": "element.innerHTML = userVal;"}' | python -m python.ink_verifier.cli --action security --stdinπ§ͺ Development & Quality Gates
# Typecheck
npm run typecheck
# Run Vitest test suite (unit, contract, integration)
npm test
# Build distribution bundle
npm run build
# Inspect package tarball
npm pack --dry-runπ License
MIT License β Created by MarwanDevMCP.
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate design systems: OKLCH color palettes, fluid type scales, spacing, shape and icon tokens.
- miromiroOAuthapp.miromiro
Turn any live website into brand colors, fonts, design tokens, SVGs, Lottie and paste-ready code.
Give your agent a real design system: tokens, measured WCAG contrast, and rules to follow.
AI-agent design tools: fonts, font recognition, palettes, color naming, contrast, code, SVG, CSS.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables comprehensive UI/UX development workflows through integrated tools for component development with Storybook, Tailwind CSS styling, Framer Motion/GSAP animations, Playwright testing, and automated design system generation. Provides end-to-end automation for visual regression testing, accessibility compliance, and UX optimization analysis.122-
- AlicenseNot gradedqualityCmaintenanceEnables AI to capture, compare, and automatically patch frontend code against reference designs, achieving pixel-perfect fidelity without manual CSS tweaking.15 npm8MIT
- AlicenseAqualityAmaintenanceAnalyzes and extracts design tokens, assets, and layout from live websites to enable AI clients to faithfully replicate them, with tools for screenshotting, component inspection, and pixel-diff verification.148 npmMIT

producer-cueofficial
FlicenseAqualityBmaintenanceEnables AI coding assistants to design, synthesize, heal, and export production-ready accessible web applications and design systems in real time with zero build overhead.7-