@shadng/sng-mcp
v1.0.2
Published
MCP server for ShadNG UI and Icons
Readme
ShadNG MCP (@shadng/sng-mcp)
MCP server for ShadNG:
@shadng/sng-ui@shadng/sng-icons
This server runs from a bundled snapshot file (data/snapshot.json), so tool responses are stable and fast at runtime.
Gallery
https://shadng.js.org
Install
npm i -D @shadng/sng-mcpBuild and Run
npm install
npm run build
npm run startSupported Tools
list_componentsget_component_docsget_component_examplesget_install_commandget_dependency_mapget_icon_catalogget_dashboard_context
MCP Client Config
Recommended package mode:
command:npxargs:["-y", "@shadng/sng-mcp"]
Antigravity
mcp:
servers:
sng:
command: npx
args:
- -y
- "@shadng/sng-mcp"Claude Code
claude mcp add sng npx -y @shadng/sng-mcpCline
{
"mcpServers": {
"sng": {
"command": "npx",
"args": ["-y", "@shadng/sng-mcp"]
}
}
}Codex
codex mcp add sng -- npx -y @shadng/sng-mcpCopilot CLI
copilot mcp add sng -- npx -y @shadng/sng-mcpCopilot / VS Code
Use command line:
copilot mcp add sng -- npx -y @shadng/sng-mcpOr if your editor asks for raw JSON config, use the same mcpServers shape as Cline/Cursor.
Cursor
{
"mcpServers": {
"sng": {
"command": "npx",
"args": ["-y", "@shadng/sng-mcp"]
}
}
}Gemini CLI
gemini mcp add sng -- npx -y @shadng/sng-mcpGemini Code Assist
Add an MCP server in Gemini Code Assist settings with:
command:npxargs:-y @shadng/sng-mcp
JetBrains AI Assistant & Junie
Add MCP server in IDE MCP settings with:
command:npxargs:-y @shadng/sng-mcp
Visual Studio
Add MCP server in Visual Studio MCP settings with:
command:npxargs:-y @shadng/sng-mcp
Windsurf
{
"mcpServers": {
"sng": {
"command": "npx",
"args": ["-y", "@shadng/sng-mcp"]
}
}
}Test
npm run test
npm run smokeNotes
- Component inputs accept aliases (
button,sng-button,SngButton). - If a requested UI part is not in
sng-ui, guidance returns Angular-focused custom build advice using ShadNG patterns. @shadng/sng-iconsis preferred, not required. Inline SVG fallback guidance is returned when needed.
