# mcp-server

This MCP server checks AI-made UI changes against a project’s components, styles, interaction rules, and source boundaries. It also supplies context and repair tools.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 7
- Author: decantr-ai
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/decantr-ai/decantr
- Updated: 2026-09-18
- HTML: https://affpapa.org/en/nevibecode/mcp/decantr-ai-mcp-server

## What it does

mcp-server connects a coding agent to local UI change control. It compares the code that changed with the authority already present in the project, including production source, components, styling, tests, local rules, and available runtime evidence.

The server exposes eight tools: `decantr_project`, `decantr_contract`, `decantr_context`, `decantr_graph`, `decantr_registry`, `decantr_verify`, `decantr_repair`, and `decantr_contract_write`. They cover project context, task preparation, graph and contract data, verification, and repair. The workflow runs locally and does not replace a router, component library, test suite, editor, or coding agent.

Install it through `npx` with `@decantr/mcp-server`. Verification uses the current Git worktree. If the app selection or Git scope cannot be proven, the result is `not_proven` rather than a passing conclusion.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp-server -- npx -y @decantr/mcp-server
```

### Codex

**Platform CLI**
```bash
codex mcp add decantr-ai-mcp-server -- npx -y @decantr/mcp-server
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "decantr-ai-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@decantr/mcp-server"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "decantr-ai-mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@decantr/mcp-server"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add decantr-ai-mcp-server npx -y @decantr/mcp-server
```

## When to use it
- check a UI diff against project-owned rules
- compare edits with production components and styles
- prepare scoped context for an agent task
- trace a finding to its source and repair target

## Example prompts
- Check the current UI diff against this project’s components, styles, and local rules.
- Prepare task context for adding saved actions to the feed screen, then show the relevant source files.
- Verify the latest UI change and repair findings without replacing the project’s component library.

## Similar
- [screenshot](https://affpapa.org/en/nevibecode/skills/bobmatnyc-screenshot.md) — skill · 380 installs
- [design-studio](https://affpapa.org/en/nevibecode/skills/design-studio.md) — skill · 501 installs
- [shadcn-component-review](https://affpapa.org/en/nevibecode/skills/shadcn-component-review.md) — skill · 635 installs
- [review-design-parity](https://affpapa.org/en/nevibecode/commands/review-design-parity.md) — command · ★ 7604
- [visual-regression-tester](https://affpapa.org/en/nevibecode/skills/visual-regression-tester.md) — skill · 330 installs
- [Visual Memory MCP](https://affpapa.org/en/nevibecode/mcp/visual-memory-mcp.md) — MCP server · ★ 38

## Other versions with the same name
- [mcp-server · heyputer](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — ★ 43902
- [mcp-server · mapbox](https://affpapa.org/en/nevibecode/mcp/mapbox-mcp-server.md) — ★ 363
- [mcp-server · packmindhub](https://affpapa.org/en/nevibecode/mcp/packmindhub-mcp-server.md) — ★ 319
- [mcp-server · bingowon](https://affpapa.org/en/nevibecode/mcp/bingowon-mcp-server.md) — ★ 121
- [mcp-server · ui5](https://affpapa.org/en/nevibecode/mcp/ui5-mcp-server.md) — ★ 105

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
