design-system-mcp
v0.1.8Stdio-based MCP server exposing the DriveNets Design System Storybook documentation to AI agents (Cursor, Claude Code, Codex).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
docs-list List All Documentation
List all available UI components and documentation entries from the Storybook, returning the IDs the other documentation tools take as input. Call this first for any UI task — before writing a new component, check what the design system already provides and build on it instead of hand-rolling a duplicate; before answering any question about props, API, or usage, discover the relevant IDs here rather than reading component source. Then fetch the entries with docs-show, referencing only IDs returned here — never guess IDs. When multiple Storybook sources are configured, entries from every so…
| Parameter | Type | Description |
|---|---|---|
withStoryIds | boolean | When true, includes story sub-bullets under each component with story name and story ID. Use this to discover IDs for downstream story-focused workflows without filesystem lookup. |
docs-show Get Documentation
Get documentation for a UI component or docs entry. Returns the first 3 stories (including story IDs) with code snippets showing how props are used, plus TypeScript prop definitions. Call this before using a component to avoid hallucinating prop names, types, or valid combinations, and to answer any question about a component's props, API, or usage — reading or grepping the component source is not a substitute. Stories reveal real prop usage patterns, interactions, and edge cases that type definitions alone don't show. If the example stories don't show the prop you need, use the docs-show-s…
| Parameter | Type | Description |
|---|---|---|
id * | string | The component or docs entry ID (e.g., "button") |
docs-show-story Get Documentation for Story
Get detailed documentation for a specific story variant of a UI component. Use this when you need to see more usage examples of a component, via the stories written for it. Identify the story by its story ID (preferred), or by componentId plus storyName.
| Parameter | Type | Description |
|---|---|---|
componentId | string | The component ID (e.g., "button"). Use together with storyName, and only when you have no story ID. |
storyId | string | The story ID, as listed by the docs list tool with withStoryIds: true and shown next to each story in the component documentation (e.g., "button--primary"). Prefer this over componentId + storyName wh… |
storyName | string | The human-readable story name (e.g., "Primary"). Use together with componentId. |