Sekura Design MCP
Exports design tokens as Android XML resources for use in Android applications.
Generates Angular component code from the design system's specifications, including accessibility contract and tokens.
Generates Blazor component code from the design system's specifications, including accessibility contract and tokens.
Provides the complete design system stylesheet and design token values as CSS custom properties.
Exports design tokens to Figma for use in design workflows.
Generates React component code from the design system's specifications, including accessibility contract and tokens.
Generates Svelte component code from the design system's specifications, including accessibility contract and tokens.
Exports design tokens to Swift for use in Apple platform applications.
Exports design tokens as TypeScript definitions for use in TypeScript projects.
Click on "Install 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., "@Sekura Design MCPWhat are the semantic color tokens for dark mode?"
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.
Sekura Design MCP
A dockerized Model Context Protocol server that serves the complete Sekura Design System — tokens, components, layouts, UX patterns, accessibility contract and paste-ready code — to any MCP-capable tool.
Point an agent at it and it can build a correct, accessible, dark-mode-first interface without guessing at a single value.
55 components · 15 foundations · 15 UX patterns · 9 layout recipes
112 semantic tokens · 4 themes · 3 densities · 8 target frameworks
292 contrast checks, verified on every buildThe human-readable specification is DESIGN.md, and there is an
81-page documentation site — generated from the same data — that
explains it with live demos, a full colour guide and worked examples.
Quickest start
./run.sh start-buildBuilds everything — TypeScript, contrast audit, CSS lint, stylesheets, the
documentation site and the Docker image — then starts the MCP server on :8080
and the docs on :4173.
./run.sh build Compile, run gates, emit CSS, build the docs and the image
./run.sh start Start the MCP server and the documentation site
./run.sh start-build Build, then start
./run.sh restart Stop, then start
./run.sh stop Stop everything
./run.sh logs [target] Follow logs (target: server | sample)
./run.sh status What is running, plus a live contrast-audit check
./run.sh verify Run every gate without starting anything
./run.sh clean [--all] Remove build output, container and image
./run.sh helpThe MCP server runs in Docker when Docker is available and falls back to a local
Node process when it is not, so the script behaves the same either way. Ports and
image names are overridable: SEKURA_PORT, SAMPLE_PORT, SEKURA_IMAGE,
SEKURA_CONTAINER.
./run.sh status is a real check rather than a liveness ping — /health
re-runs the full contrast audit, so a server quietly using a broken palette
reports it.
Related MCP server: Design System MCP Server
The documentation site
./run.sh start-build # then open http://localhost:4173An 81-page documentation site — explanations, a full colour guide, a type specimen, live demos, a complete component reference and six worked examples.
It is generated from the design system's own data, so the colour guide shows genuinely audited contrast values and the component pages show the same specification the MCP server serves. The docs cannot drift from the system they document.
| Every ramp step with its contrast against white and black, all 112 semantic tokens in four themes, and the full 73-pairing contrast contract with measured ratios |
| The elevation inversion, demonstrated with the same markup under both themes side by side — plus the nine things that break silently |
| Flex-first, with resizable demos that reflow on container width |
| Filterable reference for every token |
| One page per component: anatomy, states, dark-mode note, full keyboard and ARIA contract |
See sample/README.md for what to try.
Quick start
Docker (recommended)
docker compose up -d
curl http://localhost:8080/healthOr without compose:
docker build -t sekura-design-mcp:1.0.0 .
docker run -d -p 8080:8080 --name sekura sekura-design-mcp:1.0.0The build runs the contrast audit and the full smoke test. An image whose palette breaks a declared WCAG pairing does not get built.
Local
npm install
npm run build
npm start # stdio
npm run start:http # HTTP on :8080Connecting a client
Claude Code / Claude Desktop — HTTP
{
"mcpServers": {
"sekura-design": {
"type": "http",
"url": "http://localhost:8080/mcp"
}
}
}Claude Code — one-liner
claude mcp add --transport http sekura-design http://localhost:8080/mcpstdio (client spawns the container)
{
"mcpServers": {
"sekura-design": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "SEKURA_MCP_TRANSPORT=stdio",
"sekura-design-mcp:1.0.0"]
}
}
}stdio (local install)
{
"mcpServers": {
"sekura-design": {
"command": "node",
"args": ["/absolute/path/to/SekuraDesignMCP/dist/index.js"]
}
}
}Tools
Tool | Returns |
| Start here. The map of everything, with the call needed to fetch each part. |
| Full-text search across components, foundations, patterns, layouts and tokens. |
| The reasoning: colour, dark mode, responsive layout, accessibility, typography, motion, i18n, theming… |
| The catalogue, filterable by category and maturity. |
| Full spec: anatomy, variants, sizes, states, props, tokens, dark-mode behaviour, complete accessibility contract, do/don't. |
| Paste-ready code in |
| A complete page blueprint with markup and CSS. |
| A recurring UX problem, its solution, and the anti-patterns. |
| Resolved token values, showing all four themes side by side. |
| CSS, SCSS, W3C DTCG, Tailwind v3/v4, JS, TS, Swift, Android XML, Figma. |
| The raw colour ramps behind the semantic layer. |
| Describe an intent in words, get the right token with values per theme and why. |
| WCAG verdict for any pair — accepts hex or token names, resolves per theme, composites translucency. |
| Every declared pairing across every theme. The build gate. |
| Lints HTML/CSS for the failures that actually ship. |
| HTML scaffold, pre-paint theme script, reset, utilities, prose, theme control. |
| The entire stylesheet as one file. |
Resources
sekura://tokens/css · sekura://tokens/dtcg · sekura://foundations/principles ·
sekura://foundations/dark-mode
Prompts
build-page · review-ui · implement-dark-mode
HTTP endpoints
Beyond MCP, the container serves plain HTTP so a build step can consume tokens without speaking the protocol:
Endpoint | Purpose |
| MCP streamable HTTP endpoint |
| Health check — re-runs the contrast audit, so a container serving a broken palette reports unhealthy |
| CSS custom properties, all themes and densities |
| W3C Design Tokens JSON |
What makes this specification unusual
Dark mode is specified, not derived. Every component documents what changes in dark mode and why. The system encodes the rules most implementations get wrong: floating surfaces get lighter as they rise while recessed surfaces get darker; saturated fills step up the ramp so their labels flip to dark; borders go darker on dark, not lighter; and elevation is two tokens because a drop shadow is nearly invisible against a dark page.
get_foundation({ id: "dark-mode" }) lists the nine failures that pass a design
review and break in production — the unstyleable Chrome autofill background, SVG
chevrons baked into data URIs, WebKit's search clear button, scrims that are too
weak on dark, and so on.
The contrast contract is machine-verified. 73 declared pairings × 4 themes = 292
checks, run on every build and by the container's health check. Two neutral steps
are pinned by contrast rather than by eye: neutral-400 is the lightest grey
clearing 3:1 on white, and neutral-500 the lightest clearing 4.5:1 on the subtle
surface. Moving either lighter breaks a promise, and the audit catches it.
Sekura exceeds WCAG in three places where products commonly fail: placeholder text and tertiary text are both held to full body contrast, and switch and progress tracks are treated as meaningful graphics rather than decoration.
Layout is flex-first. Composition primitives wrap rather than overflow, children
declare flex explicitly, text-bearing flex children set min-inline-size: 0, and
widths are flex-basis (an ideal) rather than width (a demand). Most layouts
therefore respond to their container and need no media query — including the
two-column sidebar-layout, which stacks purely through flex wrapping.
Example session
> get_overview
→ the full map
> get_foundation({ id: "dark-mode" })
→ the nine silent failures, the elevation inversion, theme-switching rules
> get_layout({ id: "list-page" })
→ regions, responsive strategy, a11y obligations, markup + CSS
> get_component({ id: "table" })
→ 6 variants, 6 states, full keyboard model, and why row separators
go DARKER in dark mode
> get_component_code({ id: "table", framework: "react" })
→ typed component forwarding the required ARIA attributes
> suggest_token({ intent: "border around a card in dark mode" })
→ --sk-color-border-default, values per theme, and why
> check_contrast({ foreground: "#8590a3", background: "#ffffff", use: "ui-component" })
→ 3.22:1 — AA pass for control boundaries
> validate_markup({ markup: "<button><svg/></button>" })
→ ❌ button-accessible-name, with the fix and the WCAG criterion
> audit_theme
→ 292/292 pairings satisfied across all four themesDevelopment
npm run verify # everything below, in order
npm run build # compile
npm run audit:contrast # 292 contrast checks — build gate
npm run lint:css # structural CSS lint over all 67 stylesheets
npm run smoke # 704 checks across every tool, component and export
npm run emit:css # write dist-css/ — 66 files, sekura.css is ~190 KB
npm run site:build # regenerate the 81-page documentation site
npm run verify:sample # lint every page against the design system itselflint:css exists because component CSS is a string as far as the TypeScript
compiler is concerned. It checks for unbalanced braces, selectors running into
at-rules, hard-coded colours, unknown tokens and physical properties — it was
added after building the sample surfaced an invalid selector in the dialog
stylesheet that had shipped unnoticed.
npm run emit:css produces standalone artefacts for consuming Sekura as plain
files: sekura.css (everything), tokens.css, tokens.dtcg.json,
tailwind.config.js, SekuraColor.swift, android-resources.xml,
tokens.figma.json, and per-component CSS.
Layout
src/
├── index.ts entry, transport selection
├── server.ts MCP server: 17 tools, 4 resources, 3 prompts
├── http.ts streamable HTTP transport, health, plain-HTTP token endpoints
├── site/ documentation site generator
│ ├── shell.ts page shell, navigation, reusable doc blocks
│ └── pages.ts every page, built from the data below
├── data/
│ ├── primitives.ts ramps, scales, type scale, elevation, motion, breakpoints
│ ├── semantic.ts 112 tokens × 4 themes + the contrast contract
│ ├── tokens.ts resolution and audit
│ ├── base-css.ts reset, utilities, prose, theme runtime
│ ├── foundations.ts 15 foundation documents
│ ├── layouts.ts 9 page recipes
│ ├── patterns.ts 15 UX patterns
│ └── components/ 55 component specifications
└── lib/
├── color.ts WCAG luminance, contrast, compositing
├── exporters.ts 11 output formats
├── codegen.ts 8 target frameworks
├── validate.ts markup linting
├── markdown.ts minimal renderer for the foundation documents
├── suggest.ts intent → token
└── search.ts weighted full-text searchConfiguration
Variable | Default | Purpose |
|
| Transport |
|
| HTTP port |
|
| Bind address |
|
| MCP endpoint path |
Notes
The HTTP server is stateless — a fresh server per request, no sessions to lose. The design system is read-only at runtime, so the container runs unprivileged with a read-only filesystem and all capabilities dropped.
Licence
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceMCP server that exposes your design system components and tokens to AI agents, preventing duplicate component creation and hardcoded token values.Last updated189MIT
- Alicense-qualityDmaintenanceProvides resources, tools, and prompts for a Design System via MCP protocol, enabling component search, reading, and related component discovery.Last updated329MIT
- Alicense-qualityAmaintenanceA read-only MCP server that provides AI coding agents with a queryable contract for design system tokens, components, patterns, and anti-patterns.Last updated301Apache 2.0
- Alicense-qualityCmaintenanceComprehensive MCP server for end-to-end UI development, offering tools to generate components, manage design tokens, audit accessibility, autofix issues, inspect live pages, compare screenshots, and more across multiple frameworks.Last updated19MIT
Related MCP Connectors
Turn any live website into brand colors, fonts, design tokens, SVGs, Lottie and paste-ready code.
UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
34 production API tools over one hosted MCP endpoint.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mictsi/SekuraDesignMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server