design-copier
Captures webpage styles and HTML, converts CSS to Tailwind, and applies extracted designs to frontend frameworks like React.
README
design-copier MCP Server
A webpage design extraction tool that captures and converts web designs for development
This is a TypeScript-based MCP server that implements a web design copying system. It allows you to:
- Capture webpage styles and HTML structure
- Extract and convert CSS to Tailwind classes
- Apply extracted styles to different frontend frameworks
Features
Tools
-
designcopier_snapshot- Capture webpage or element styles- Takes a URL and optional CSS selector
- Returns HTML and CSS styles from the target
-
designcopier_extract- Extract styles and convert to different formats- Processes HTML and CSS content
- Supports conversion to Tailwind classes
- Can output in CSS, Tailwind, or React formats
-
designcopier_apply- Apply extracted styles to target framework- Takes extracted styles and applies them to a component
- Supports React (with styled-components)
- Creates ready-to-use component templates
Clone Repo and Development
Install dependencies:
npm install
npm run prepare , first time only or any custom changes
Build the server:
npm run build , to make the build index.js file
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
VS-Code with Cline or Roo: Click top MCP Server icon, go to 'Installed' and at bottom of server list running, click 'Configure MCP Server' Add this to the config:
"design-copier": {
"timeout": 60,
"command": "node",
"args": [ "C:\\Users\\$ProfileUser$\\your-folder\\whatever folder\\design-copier\\build\\index.js"
],
"transportType": "stdio"
}
Another example:
{
"mcpServers": {
"design-copier": {
"command": "node",
"args": [
"/path/to/design-copier/build/index.js"
],
"transportType": "stdio"
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.