About Css
Css is an MCP server published by master-co in the Cloud category: a markup-driven CSS orchestration language for developers and AI agents. Conduid read 20 tools from its source: mastercss_apply_preview, mastercss_contract_check, mastercss_contract_get, mastercss_contract_list, mastercss_css_compare, mastercss_extract_classes and 14 more. It is published to npm as @master/css-mcp and starts with npx.
The master-co/css monorepo this package is published from has 2.0K stars and 44 forks, is licensed MIT, and its last commit was on 29 Nov 2026. The latest release is v2.1.8 (19 Nov 2026): Svelte: Infer shared styles in split SvelteKit builds (cc1724c) Bug Fixes Integration: Keep stylesheet coverage types private (5d3d3a5) Vite: Keep CSS URL assets outside… It follows v2.1.7 (16 Nov 2026), and the 5 most recent releases go back to v2.1.4 (12 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include css, dynamic-class, engine, framework, html and language.
Install
claude mcp add css -- npx -y @master/css-mcpnpx -y @master/css-mcpgit clone https://github.com/master-co/cssTools (20)
mastercss_apply_previewApply a previously generated preview token after validating hashes and workspace containment.| Parameter | Type | Description |
|---|---|---|
| confirmToken * | string |
mastercss_contract_checkCheck an in-memory source buffer or project files against the merged contracts with the checker module a design-system dependency, or the workspace package itself, declares in "masterCSS.check". Runs that package's code in a worker thread with a time and memory limit. Does not write files; reports when no library provides a checker.| Parameter | Type | Description |
|---|---|---|
| content | string | |
| filePath | string | |
| patterns | array |
mastercss_contract_getReturn one full contract and its source by contract name or by any class name the contract defines. Read it before writing that component's markup.| Parameter | Type | Description |
|---|---|---|
| name * | string |
mastercss_contract_listList the component contracts that the workspace's design-system dependencies declare in "masterCSS.contracts", merged with the project's own. Filter by query, tier, or category. Returns an empty list with a note when nothing declares contracts.| Parameter | Type | Description |
|---|---|---|
| category | string | |
| query | string | |
| tier | string |
mastercss_css_compareCompare class lists or source buffers under one manifest, or pass beforeSnapshot and afterSnapshot to compare resolved projects, including changed definitions and known consumers. Does not verify browser rendering.| Parameter | Type | Description |
|---|---|---|
| afterClassList | string | |
| afterContent | string | |
| afterHtml | string | |
| beforeClassList | string | |
| beforeContent | string | |
| beforeHtml | string | |
| context | string | |
| filePath | string |
mastercss_extract_classesExtract class positions and validation summaries from project files or an in-memory source buffer.| Parameter | Type | Description |
|---|---|---|
| content | string | |
| context | string | |
| filePath | string | |
| includeRules | boolean | |
| patterns | array |
mastercss_inspect_classInspect one Master CSS class and return semantic parts, generated rules, variables, and CSS text.| Parameter | Type | Description |
|---|---|---|
| className * | string | |
| context | string |
mastercss_inspect_directivesInspect CSS-first directives from a stylesheet entry or in-memory CSS content and report manifest/CSS effects.| Parameter | Type | Description |
|---|---|---|
| content | string | |
| context | string | |
| entryPath | string | |
| filePath | string | |
| preserveNativeCSS | boolean |
mastercss_lint_contentRun Master CSS class-list diagnostics on an in-memory source buffer without writing files.| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| context | string | |
| filePath * | string | |
| rules | string |
mastercss_lint_projectRun Master CSS class-list diagnostics and return fix proposals without writing files.| Parameter | Type | Description |
|---|---|---|
| context | string | |
| patterns | array | |
| rules | string |
mastercss_manifest_queryQuery active manifest tokens, utilities, mixins, custom media, custom containers, and token families.| Parameter | Type | Description |
|---|---|---|
| context | string | |
| kind | string | |
| limit | number | |
| namespace | string | |
| query | string |
mastercss_preview_directive_formatCreate a safe preview for formatting Master CSS directives, or format in-memory content without writing files.| Parameter | Type | Description |
|---|---|---|
| content | string | |
| context | string | |
| filePath | string | |
| patterns | array | |
| ttlMs | number |
mastercss_preview_fixesCreate a diff preview for lint fixes or generated CSS output and return a confirmation token.| Parameter | Type | Description |
|---|---|---|
| context | string | |
| mode | string | |
| outputPath | string | |
| patterns | array | |
| rules | string | |
| ttlMs | number |
mastercss_render_cssGenerate CSS from an HTML fragment or a whitespace-separated class list.| Parameter | Type | Description |
|---|---|---|
| classList | string | |
| context | string | |
| html | string |
mastercss_scan_projectScan source files and stylesheet entries. Set includeSnapshot to capture a resolved project state for later impact comparison. Pass designSystem to inspect stylesheet token references and design policies; add routeStylesheets globs for stylesheets imported from JavaScript.| Parameter | Type | Description |
|---|---|---|
| classes | array | |
| context | string | |
| includeCss | boolean | |
| includeSnapshot | boolean | |
| patterns | array | |
| routeStylesheets | array |
mastercss_setup_auditAudit package, entry stylesheet, manifest, integration, and package-resolution setup for a workspace.mastercss_suggest_classesSuggest project-aware classes for an isolated CSS declaration block. Preserves the complete block when conversion needs review. Checks declaration output, not surrounding cascade or browser rendering. Does not write files.| Parameter | Type | Description |
|---|---|---|
| context | string | |
| declarations * | string |
mastercss_suggest_syntaxReturn language-service completions and hover context for a document position.| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| context | string | |
| filePath * | string | |
| limit | number | |
| position * | object | |
| triggerCharacter | string |
mastercss_trace_classTrace one class from project extraction through generated CSS, missing CSS classification, and engine inspection.| Parameter | Type | Description |
|---|---|---|
| className * | string | |
| context | string | |
| includeCss | boolean | |
| patterns | array |
mastercss_workspace_infoReport workspace roots, resolved Master CSS packages, and project manifest status.Security checks
From the master-co/css monorepo, not this package alone.
Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 497 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by Cargo.lock and bun.lock.
2 checks have not been run yet.
Releases
From the master-co/css monorepo.
README
The repository's README runs to about 497 words, fetched 5 days ago. The original in the repository is authoritative.
Read full README