An MCP server that turns the entire Spartan Angular UI ecosystem into a queryable tool surface for AI-powered IDEs. It exposes 14 tools covering component discovery with fuzzy search across 56+ components and 17 page-level blocks, detailed Brain (headless) and Helm (styled) API inspection, TypeScript source code fetching from GitHub, CLI install command generation with peer dependency resolution, post-install auditing, and Angular/Nx/Tailwind project context detection. Data is served through a 3-tier resolution strategy (static registry, Analog API, GitHub API) with intelligent multi-layer caching for fast, offline-capable responses. Works with Claude Code, Cursor, VS Code Copilot, and any MCP-compatible client.
Server Config
{
"mcpServers": {
"spartan-ng": {
"command": "npx",
"args": [
"-y",
"spartan-ng-mcp"
],
"env": {
"GITHUB_TOKEN": "ghp_...",
"SPARTAN_CACHE_TTL_HOURS": "48"
}
}
}
}