c2n MCP
An MCP server that exposes structured, version-aware APIs for c2n web components, including examples, gallery variants, presets, theme tokens, and code generation capabilities for AI coding agents.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
npm install --save-dev @c2n/skillnpx c2n-skill install
Vendor documentation What you can do with it
- List available c2n components
- Inspect component attributes, slots, and CSS variables
- Generate code using theme tokens and presets
- Validate markup against component APIs
Source and maintenance
Community listingRegistry 1.0.18
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@c2n/mcp 1.0.18
npmnpx
@c2n/mcp package definition
{
"version": "1.0.18",
"transport": "stdio",
"identifier": "@c2n/mcp",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "C2N_PROJECT_ROOT",
"format": "filepath",
"description": "Project whose installed @c2n/* packages the server reports. Defaults to the working directory."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
Cursor configuration
{
"mcpServers": {
"c2n-mcp": {
"command": "npx",
"args": [
"-y",
"@c2n/mcp@1.0.18"
],
"env": {
"C2N_PROJECT_ROOT": "<YOUR_C2N_PROJECT_ROOT>"
}
}
}
}Cline
Cline configuration
{
"mcpServers": {
"c2n-mcp": {
"command": "npx",
"args": [
"-y",
"@c2n/mcp@1.0.18"
],
"env": {
"C2N_PROJECT_ROOT": "<YOUR_C2N_PROJECT_ROOT>"
}
}
}
}VS Code
VS Code configuration
{
"servers": {
"c2n-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@c2n/mcp@1.0.18"
],
"env": {
"C2N_PROJECT_ROOT": "<YOUR_C2N_PROJECT_ROOT>"
}
}
}
}Claude Desktop
Claude Desktop configuration
{
"mcpServers": {
"c2n-mcp": {
"command": "npx",
"args": [
"-y",
"@c2n/mcp@1.0.18"
],
"env": {
"C2N_PROJECT_ROOT": "<YOUR_C2N_PROJECT_ROOT>"
}
}
}
}Let your agent find its tools
Find servers like c2n MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.