Skip to content
Grok

c2n Web Components for Grok

io.github.code2nguyen/c2n

Exact APIs, examples, theme tokens and markup validation for the c2n (c2-*) Lit web components.

client:Grok transport:stdio runtime:npm

Install c2n Web Components in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "c2n": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@c2n/mcp"
      ],
      "env": {
        "C2N_PROJECT_ROOT": "<C2N_PROJECT_ROOT>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

c2n Web Components in other clients