# CleanSlice

A remote MCP server that serves the CleanSlice architecture documentation for full-stack NestJS and Nuxt apps, so the agent reads the conventions before it writes code.

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

## What it does

CleanSlice plugs its architecture documentation into an AI coding agent. Point Claude, Cursor, Windsurf or another MCP client at it and the model can look up how CleanSlice apps are put together instead of inventing a structure. The server is remote and speaks HTTP at `https://mcp.cleanslice.org/mcp`, so there is nothing to run locally.

Four tools are exposed. `get-started` loads the core rules, `list-categories` lists the documentation areas, `search` queries them, and `read-doc` returns a whole document when the search snippets fall short.

The catch is that an agent will happily skip the server and write from memory. That is why the README ships snippets for `CLAUDE.md`, a Cursor rule, Windsurf rules and Copilot instructions, each telling the model to call `get-started` and run searches first. Claude users get one more option: a Stop hook that hands the transcript to a verification subagent, which fails the stop until the main agent can back its work with MCP results. Skip that setup and the server stays connected but idle.

Tool names in your client follow the `mcp__<server>__<tool>` pattern.

## Requirements
- Remote server: `https://mcp.cleanslice.org/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://mcp.cleanslice.org/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add cleanslice --url https://mcp.cleanslice.org/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cleanslice": {
            "url": "https://mcp.cleanslice.org/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cleanslice": {
            "type": "http",
            "url": "https://mcp.cleanslice.org/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http cleanslice https://mcp.cleanslice.org/mcp
```

## When to use it
- check a module layout against CleanSlice conventions before generating code
- locate the docs area that covers a given task
- pull a full guide when search snippets are not enough
- make the agent verify conventions instead of guessing
- block a finished answer that cites no documentation

## Example prompts
- Before you write this NestJS endpoint, call `get-started` on cleanslice and follow what it says
- Search cleanslice for the layering rules and edge cases that apply to this module
- Run `read-doc` to get the full page about Nuxt page structure

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
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
