Skip to content
Cursor

c2n Web Components for Cursor

io.github.code2nguyen/c2n

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

client:Cursor transport:stdio runtime:npm

Install c2n Web Components in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

c2n Web Components in other clients