@velkin/mcp
v0.1.1
Published
MCP server for Velkin — component catalog, API docs, framework snippets, and theme guidance for AI coding assistants.
Readme
@velkin/mcp
MCP server for Velkin. Provides component catalog, API documentation, framework snippets, recipes, and theme guidance for coding agents.
Install
npm install @velkin/mcp @velkin/uiRemote (Streamable HTTP)
Production endpoint: https://mcp.velkinui.com/mcp
{
"mcpServers": {
"velkin": {
"url": "https://mcp.velkinui.com/mcp"
}
}
}Local HTTP server:
npm run build -w @velkin/mcp
npm run start:http -w @velkin/mcp
# → http://localhost:3100/mcpCursor / Claude Desktop
{
"mcpServers": {
"velkin": {
"command": "npx",
"args": ["-y", "@velkin/mcp"]
}
}
}Monorepo development:
{
"mcpServers": {
"velkin": {
"command": "node",
"args": ["packages/mcp/dist/mcp-stdio-entry.js"],
"cwd": "/path/to/velkin"
}
}
}Health check
npx velkin-mcp --healthTools
| Tool | When to use |
|------|-------------|
| get_project_guide | Install and bundler setup (lit, react, vue, next) |
| velkin_components | List, search, or API-keyword discovery |
| get_velkin_component_docs | Authoritative props, slots, and events |
| get_component_usage | Lit / React / Vue starter snippets |
| get_recipes | Multi-component patterns |
| get_theme | Theme provider, dark mode, SSR |
| get_docs | Shipped guides (agent-workflow.md, theme-guidelines.md, ai-checklist.md) |
Recommended workflow
get_docs→agent-workflow.mdget_velkin_component_docsbefore using an unfamiliar componentget_recipesfor application-level patternsget_docs→ai-checklist.mdbefore finishing
Environment
| Variable | Default | Purpose |
|----------|---------|---------|
| VELKIN_DOCS_SITE_BASE_URL | https://mcp.velkinui.com | Live snippet enrichment |
| VELKIN_DOCS_SITE_DISABLE=1 | — | Offline snapshot only |
| VELKIN_UI_PACKAGE_ROOT | — | Pin @velkin/ui path |
CLI
npx velkin-mcp --help
npx velkin-mcp --health
npx velkin-mcp init --client cursor # also: claude | vscode | allDocs: https://velkinui.com/docs/mcp-servers
Resources
velkin://catalog/components— catalog snapshotvelkin://manifest/custom-elements.json— custom elements manifest from@velkin/uivelkin://data/docs-snapshot.json— API tables snapshot
Development
npm run build -w @velkin/mcp
npm run start -w @velkin/mcpMIT components are documented in full. Pro components are listed and marked as Pro.
