Skip to content
MCP server

Crayon C4 MCP

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.52.0
Listing updated
6 days ago

About Crayon C4 MCP

Crayon C4 MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

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

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Configuration

  • CRAYON_C4_LICENSE_KEYOptional. Unlocks repository scanning and AI enrichment. Without it, the free tier still gives the full local authoring loop (create/edit elements, relationships, diagrams, validation).

Pricing

Open source

Crayon C4 MCP 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.

How AIPoweredBot checks servers