Skip to main content
Glama

MCP Design System Extractor

html-parser.ts614 B
import { parseHTMLDetailed } from './html-css-parser.js'; export function extractComponentStyles(html: string, styleSheets: string[] = []) { const result = parseHTMLDetailed(html, styleSheets); return { storyId: '', cssRules: result.cssRules, inlineStyles: result.inlineStyles, classNames: result.classNames, customProperties: result.customProperties, }; } // Re-export from consolidated parser export { parseCSSRules, extractDesignTokens } from './html-css-parser.js'; // All parsing functions are now available from the consolidated parser // This file serves as a legacy interface

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/freema/mcp-design-system-extractor'

If you have feedback or need assistance with the MCP directory API, please join our Discord server