{"at":"2026-11-22T09:35:10.014Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-22T09:35:10.410Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-22T09:35:10.511Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-22T09:35:10.938Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"description":"MCP server exposing Spartan Angular UI documentation, component tools, and blocks.","name":"spartan-ui","version":"0.0.1"}}}}
{"at":"2026-11-22T09:35:10.938Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-22T09:35:10.938Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-22T09:35:10.942Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Returns a list of known Spartan Angular UI components with their documentation URLs. Use this to discover available components, then call spartan_components_get with specific component names to get detailed API documentation.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"spartan_components_list","title":"List Spartan UI components"},{"description":"Fetch the Spartan UI documentation page for a given component (e.g., 'accordion'). IMPORTANT: The response contains comprehensive API information including Brain API (Brn*) and Helm API (Hlm*) components with their inputs, outputs, selectors, and examples. Always parse and present the API tables, code examples, and component specifications from the response. Look for structured sections like 'Brain API', 'Helm API', and 'Examples' in the response.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"extract":{"default":"code","description":"Extraction: 'code' for code blocks, 'api' for structured API information.","enum":["code","api"],"type":"string"},"name":{"description":"Component name (kebab-case), e.g., 'accordion'.","minLength":1,"type":"string"},"noCache":{"default":false,"description":"Bypass cache when true.","type":"boolean"},"spartanVersion":{"description":"Spartan UI version to use for caching (e.g., '1.2.3'). If not provided, defaults to 'latest'.","type":"string"}},"required":["name"],"type":"object"},"name":"spartan_components_get","title":"Get component documentation"},{"description":"Fetch an official Spartan documentation section by topic (introduction, changelog, about, installation, components-json, theming, styles, dark-mode, cli, rtl, typography, figma, version-support, health-checks, update-guide, mcp, skills).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"extract":{"default":"code","description":"Optional extraction: code blocks, headings, or links.","enum":["none","code","headings","links"],"type":"string"},"format":{"default":"html","description":"Return format: raw HTML or plain text.","enum":["html","text"],"type":"string"},"noCache":{"default":false,"description":"Bypass cache when true.","type":"boolean"},"spartanVersion":{"description":"Spartan UI version to use for caching (e.g., '1.2.3'). If not provided, defaults to 'latest'.","type":"string"},"topic":{"description":"Documentation topic to fetch. Includes 'analog-dark-mode' external article.","enum":["introduction","changelog","about","installation","components-json","theming","styles","dark-mode","cli","rtl","typography","figma","version-support","health-checks","update-guide","mcp","skills","analog-dark-mode"],"type":"string"}},"required":["topic"],"type":"object"},"name":"spartan_docs_get","title":"Get a Spartan docs section"},{"description":"Check availability and response times for selected Spartan docs and component pages. This validates the docs site, not your local workspace health check.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"components":{"description":"Component names to check; defaults to a small representative set.","items":{"type":"string"},"type":"array"},"topics":{"description":"Docs topics to check; defaults to a standard set.","items":{"enum":["introduction","changelog","about","installation","components-json","theming","styles","dark-mode","cli","rtl","typography","figma","version-support","health-checks","update-guide","mcp","skills"],"type":"string"},"type":"array"}},"type":"object"},"name":"spartan_health_check","title":"Spartan pages availability check"},{"description":"Return official instructions and commands for running the Spartan CLI health check in Angular CLI or Nx workspaces.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"spartan_health_instructions","title":"Spartan CLI health check instructions"},{"description":"Return the exact command to run the Spartan health check for Angular CLI or Nx. Optionally append --dry-run.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"dryRun":{"default":false,"description":"Append --dry-run to preview changes.","type":"boolean"},"tool":{"description":"Which toolchain to use: Angular CLI (ng) or Nx (nx).","enum":["ng","nx"],"type":"string"}},"required":["tool"],"type":"object"},"name":"spartan_health_command","title":"Build Spartan health check command"},{"description":"Return known docs topics, components, and blocks for client autocomplete.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"spartan_meta","title":"Spartan metadata"},{"description":"Analyze what other components, packages, or dependencies a Spartan UI component requires. Includes Angular CDK dependencies, peer components, and installation requirements.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"componentName":{"description":"Spartan component name (e.g., 'calendar', 'dialog')","minLength":1,"type":"string"},"includeTransitive":{"default":false,"description":"Include transitive dependencies (dependencies of dependencies)","type":"boolean"}},"required":["componentName"],"type":"object"},"name":"spartan_components_dependencies","title":"Show component dependencies"},{"description":"Analyze accessibility features, ARIA support, keyboard navigation, and screen reader compatibility for a Spartan UI component. Provides accessibility best practices and implementation guidance.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"checkType":{"default":"all","description":"Type of accessibility check: specific area or 'all' for comprehensive analysis","enum":["overview","aria","keyboard","screenreader","wcag","all"],"type":"string"},"componentName":{"description":"Spartan component name","minLength":1,"type":"string"}},"required":["componentName"],"type":"object"},"name":"spartan_accessibility_check","title":"Check component accessibility features"},{"description":"Get current cache status, including version, cached components, and statistics","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"spartan_cache_status","title":"Get cache status"},{"description":"Clear cached documentation for the current Spartan UI version","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"allVersions":{"description":"Clear cache for all versions (default: false)","type":"boolean"}},"type":"object"},"name":"spartan_cache_clear","title":"Clear cache"},{"description":"Rebuild cache by fetching fresh documentation from spartan.ng for all components and blocks","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"blocks":{"description":"Specific blocks to rebuild (default: all blocks)","items":{"type":"string"},"type":"array"},"components":{"description":"Specific components to rebuild (default: all components)","items":{"type":"string"},"type":"array"},"includeDocs":{"description":"Include documentation topics (default: true)","type":"boolean"}},"type":"object"},"name":"spartan_cache_rebuild","title":"Rebuild cache"},{"description":"Switch to a different Spartan UI version for caching and retrieval","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"version":{"description":"Spartan UI version (e.g., '1.2.3', 'latest')","type":"string"}},"required":["version"],"type":"object"},"name":"spartan_cache_switch_version","title":"Switch version"},{"description":"List all cached Spartan UI versions","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"spartan_cache_list_versions","title":"List cached versions"},{"description":"Returns a list of known Spartan Angular UI blocks (pre-built UI patterns) with their documentation URLs. Blocks are higher-level compositions of components like sidebars, login forms, signup forms, calendars, and steppers. Use this to discover available blocks, then call spartan_blocks_get with specific block names to get detailed code.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"spartan_blocks_list","title":"List Spartan UI blocks"},{"description":"Fetch the Spartan UI documentation page for a given block (e.g., 'sidebar', 'login'). Blocks are pre-built UI patterns that combine multiple components. The response includes complete code examples showing how to use the block.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"format":{"default":"html","description":"Return format: raw HTML or plain text.","enum":["html","text"],"type":"string"},"name":{"description":"Block name (kebab-case), e.g., 'sidebar', 'login', 'signup', 'calendar', 'stepper'.","minLength":1,"type":"string"},"noCache":{"default":false,"description":"Bypass cache when true.","type":"boolean"},"spartanVersion":{"description":"Spartan UI version to use for caching (e.g., '1.2.3'). If not provided, defaults to 'latest'.","type":"string"}},"required":["name"],"type":"object"},"name":"spartan_blocks_get","title":"Get block documentation and code"},{"description":"Analyze what components and packages a Spartan UI block requires. Blocks are compositions of multiple components, so this shows all underlying dependencies.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"blockName":{"description":"Spartan block name (e.g., 'sidebar', 'login')","minLength":1,"type":"string"}},"required":["blockName"],"type":"object"},"name":"spartan_blocks_dependencies","title":"Show block dependencies"}]}}}
