DesignScan
v0.4.0Extract a website’s design tokens (colors, type, spacing, shadows) as DESIGN.md, W3C, or CSS.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_design_tokens Extract a website's design tokens
Render a URL in a headless browser and extract its design system as tokens: colors (background/text/primary + observed button :hover), typography scale, spacing, radii, shadows, and component specs. Formats: md = DESIGN.md (YAML front matter + prose, includes 'Notes for your coding agent'), w3c = W3C Design Tokens JSON, css = CSS custom properties, json = the raw DesignProfile. Takes ~10-30s (a real browser drives the page).
| Parameter | Type | Description |
|---|---|---|
url * | string | Page to analyze, e.g. https://stripe.com (https:// is assumed if missing) |
format | string | Output format (default: md) |
theme | string | Color scheme(s) to capture via prefers-color-scheme (default: light; 'both' merges a distinct dark pass into the output) |
timeoutMs | integer | Per-navigation timeout in ms (default: 45000) |