# Crayon C4 MCP

> Crayon C4 MCP is an open-source MCP server. Author, validate and maintain a CRAYON-C4 architecture model — never write an invalid file. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/squora-nl/crayon.c4/tree/HEAD/packages/mcp-server
- **MCP Registry name:** io.github.SQUORA-NL/crayon-c4-mcp
- **Listing updated:** 2026-11-13

## About

Author, validate and maintain a CRAYON-C4 architecture model — never write an invalid file.

## Install

### Claude Code (Terminal)

```sh
claude mcp add crayon-c4-mcp --env CRAYON_C4_LICENSE_KEY='<CRAYON_C4_LICENSE_KEY>' -- npx -y @crayon-c4/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "crayon-c4-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@crayon-c4/mcp"
      ],
      "env": {
        "CRAYON_C4_LICENSE_KEY": "<CRAYON_C4_LICENSE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "crayon-c4-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@crayon-c4/mcp"
      ],
      "env": {
        "CRAYON_C4_LICENSE_KEY": "<CRAYON_C4_LICENSE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "crayon-c4-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@crayon-c4/mcp"
      ],
      "env": {
        "CRAYON_C4_LICENSE_KEY": "<CRAYON_C4_LICENSE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "crayon-c4-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@crayon-c4/mcp"
      ],
      "env": {
        "CRAYON_C4_LICENSE_KEY": "<CRAYON_C4_LICENSE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "crayon-c4-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@crayon-c4/mcp"
      ],
      "env": {
        "CRAYON_C4_LICENSE_KEY": "<CRAYON_C4_LICENSE_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Crayon C4 MCP free?

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

### How do I add Crayon C4 MCP to Claude Code?

Run this command in your terminal: claude mcp add crayon-c4-mcp --env CRAYON_C4_LICENSE_KEY='<CRAYON_C4_LICENSE_KEY>' -- npx -y @crayon-c4/mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/crayon-c4-mcp
