# Master CSS MCP server

> Inspect Master CSS classes, generated CSS and project stylesheets, and preview style fixes from your AI client.

- Listing: https://mcp.tc/i/master-css
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: no API key needed
- Category: [Developer Tools](https://mcp.tc/c/developer-tools)
- Vendor: master-co
- Homepage: <https://css.master.co/guide/ai-coding>
- Repository: <https://github.com/master-co/css>
- Package: npm `@master/css-mcp`

## About

Connects an AI client to a Master CSS project so it can inspect classes, the CSS they generate and the project's stylesheets. Fixes and directive formatting changes are returned as a diff with a confirmation token before anything is written to the workspace.

Runs locally over stdio from the npm package @master/css-mcp using npx. No API key or sign-in is documented. Applying a previewed change only succeeds if the token is valid, paths stay inside the workspace and files are unchanged since the preview.

## What it can do

- Inspect Master CSS classes and the CSS they generate
- Read project stylesheets and theme context
- Preview fixes as a diff with a confirmation token
- Preview directive format changes
- Apply an accepted preview with hash and path checks

## Example prompts

- "Show the CSS generated by the classes on this button component."
- "Preview fixes for Master CSS class issues in my project."
- "Inspect my project stylesheets and list the theme tokens in use."
- "Apply the previewed style fix once I confirm the diff."

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio master-css -- npx -y @master/css-mcp
```

2. Start Claude Code and type `/mcp`. **master-css** should show as connected.

Add `--scope user` to make it available in every project.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "master-css": {
      "command": "npx",
      "args": [
        "-y",
        "@master/css-mcp"
      ]
    }
  }
}
```

2. Save the file and restart Claude Desktop.

Needs Node.js on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=master-css&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBtYXN0ZXIvY3NzLW1jcCJdfQ%3D%3D>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "master-css": {
      "command": "npx",
      "args": [
        "-y",
        "@master/css-mcp"
      ]
    }
  }
}
```

Needs Node.js on your computer.

### VS Code

[Install in VS Code](<https://vscode.dev/redirect/mcp/install?name=master-css&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40master%2Fcss-mcp%22%5D%7D>) (opens VS Code)

Or from a terminal:

```bash
code --add-mcp '{"name":"master-css","type":"stdio","command":"npx","args":["-y","@master/css-mcp"]}'
```

Or commit it to the repo in `.vscode/mcp.json`:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "master-css": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@master/css-mcp"
      ]
    }
  }
}
```

Needs Node.js on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "master-css": {
      "command": "npx",
      "args": [
        "-y",
        "@master/css-mcp"
      ]
    }
  }
}
```

2. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add master-css -- npx -y @master/css-mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.master-css]
command = "npx"
args = ["-y", "@master/css-mcp"]
```

Needs Node.js on your computer.

### Gemini CLI

```bash
gemini mcp add master-css npx -- -y @master/css-mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "master-css": {
      "command": "npx",
      "args": [
        "-y",
        "@master/css-mcp"
      ]
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs Node.js on your computer.

## Recent changes

- 2026-11-16 20:23 UTC: New version 2.1.7 (was 2.1.6), read from npm. Source: automatic check.
- 2026-11-15 14:27 UTC: New version 2.1.5 (was 2.1.4), read from npm. Source: automatic check.
- 2026-11-12 23:28 UTC: New version 2.1.4 (was 2.1.3), read from npm. Source: automatic check.
- 2026-11-10 17:28 UTC: New version 2.1.2 (was 2.1.1), read from npm. Source: automatic check.
- 2026-11-08 20:29 UTC: New version 2.0.4 (was 2.0.3), read from npm. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/master-css#history (Atom feed: https://mcp.tc/i/master-css/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 2.1.7
- Last checked: 2026-11-07
- Listed: 2026-11-07
- Updated: 2026-11-07

---
Source: https://mcp.tc/i/master-css (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
