# MCP Server

> MCP Server is an open-source MCP server for developer tools. Check AI-made UI changes against your project's own components and styles (Decantr). It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted
- **Repository:** https://github.com/decantr-ai/decantr
- **MCP Registry name:** io.github.decantr-ai/mcp-server
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

Decantr's MCP server serves the changed-UI checker to coding agents. The idea is that an agent's edit should be compared with what the project already owns, such as components, styles, interaction rules and source boundaries, instead of being judged by a generic score. Verification reports at most three source-anchored findings and returns pass, attention or not_proven; ambiguous apps and missing Git scope fail closed rather than reassure.

Eight tools make up the public surface: decantr_project, decantr_contract, decantr_context, decantr_graph, decantr_registry, decantr_verify, decantr_repair and decantr_contract_write. Version 3.11.5 corrects component-reuse import advice so a feature wrapper is not mistaken for a shared export.

Everything runs locally and hosted source upload is retired. The README is candid that it does not claim to improve frontier-model outcomes, a question left to a separate unfinished research programme. It needs Node 20.19 or later, and the code is MIT licensed.

## Features

- **Changed-UI verification:** Compares the agent's actual edit with project-owned UI authority.
- **Fails closed:** Ambiguous apps return not_proven instead of a false pass.
- **Eight stable tools:** Project, contract, context, graph, registry, verify, repair and contract write.
- **Change-scoped context:** Prepares compact task context for any coding agent.
- **Local-first:** Source inspection and verification run on your machine.

## Good for

- Check an AI agent's UI diff before merging
- Give an agent context scoped to one UI task
- Get repair targets for a flagged finding
- Add UI change evidence to CI

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-server -- npx -y @decantr/mcp-server
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `decantr_project`: Reads project UI authority.
- `decantr_contract`: Reads the UI contract.
- `decantr_context`: Prepares change-scoped task context.
- `decantr_graph`: Returns the UI graph.
- `decantr_registry`: Reads registry content.
- `decantr_verify`: Verifies the current change.
- `decantr_repair`: Provides repair targets for findings.
- `decantr_contract_write`: Writes contract updates.

## FAQ

### Does it need an account?

No account or setup is required for the CLI check.

### Which tools does it expose?

Eight: decantr_project, decantr_contract, decantr_context, decantr_graph, decantr_registry, decantr_verify, decantr_repair and decantr_contract_write.

### Does my code leave my machine?

The README says verification runs locally and hosted source upload is retired.

### Does it prove better model output?

No. The README says that claim is not made.

### What licence?

MIT.

### Is MCP Server free?

Yes. MCP Server is open source, so you can use and self-host it for free.

### How do I add MCP Server to Claude Code?

Run this command in your terminal: claude mcp add mcp-server -- npx -y @decantr/mcp-server

### What are the best alternatives to MCP Server?

The closest alternatives to MCP Server are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/mcp-server-mweo4clm
