Thin MCP server for managing Copycat design library artifacts.
Project description
Copycat MCP
Copycat gives your coding agent a place to keep design references.
Point an MCP client at a site, give it an alias, and Copycat saves the screenshots and evidence an agent needs to describe the style: DOM snapshots, CSS variables, computed styles, notes, design guidance, and tokens. Later, the agent can pull that profile back by name and use it as direction for new UI.
This avoids your agent reinventing the wheel on every new project. The agent can inspect a saved profile instead of relying on a one-time page description from an old session.
How it works
A typical capture can start with one sentence:
- You say:
Save https://linear.app as linear. - Your MCP client routes the request to Copycat, and the agent calls
copycat_createto create~/.copycat/designs/linear/. - The agent captures Linear with Playwright: screenshots, a DOM snapshot, CSS variables, computed styles, and any page evidence it needs.
- The agent calls
copycat_saveto writeDESIGN.md,tokens.json,notes.md, metadata, screenshots, and evidence paths into thelinearprofile. - Later, you can say
Use linear as visual direction for this settings page, and the agent can read the saved profile withcopycat_getinstead of starting over.
Each alias is isolated on disk. A profile for linear lives at ~/.copycat/designs/linear/, and its screenshots stay inside that folder.
Install
Install the MCP server & Playwright Browser:
uv tool install copycat-mcp
uvx --from playwright playwright install chromium
Connect an MCP client
Use the installed copycat-mcp executable in your MCP client config.
{
"mcpServers": {
"copycat": {
"command": "copycat-mcp"
}
}
}
For opencode:
{
"mcp": {
"copycat": {
"type": "local",
"command": ["copycat-mcp"],
"enabled": true
}
}
}
Restart your MCP client after changing MCP config.
Try it
Ask your MCP-aware coding agent for the result you want. You usually do not need to call the tools by hand.
Capture https://vercel.com as a Copycat profile named vercel.
Save desktop and mobile screenshots, extract CSS variables and computed styles,
then write a concise DESIGN.md with colors, typography, spacing, layout patterns,
component notes, confidence, and caveats.
List my saved Copycat profiles and tell me which one fits a clean B2B SaaS
settings page.
Use the vercel Copycat profile as visual direction for a billing settings page
in this app. Do not copy assets or text. Reuse the spacing, type scale, color
behavior, and component rhythm.
Open the vercel Copycat profile and summarize the design tokens I should use
for a pricing page.
If your client exposes raw tools, the usual capture flow is:
copycat_create
copycat_capture_screenshot
copycat_capture_snapshot
copycat_capture_extract
copycat_save
What gets saved
Copycat writes each profile under:
~/.copycat/designs/<alias>/
The important files are:
DESIGN.md Human-readable design guidance
tokens.json Structured colors, type, spacing, radii, shadows, and other tokens
notes.md Additional observations or agent notes
metadata.json Source URL, status, confidence, pages, caveats, and file index
screenshots/ Captured desktop and mobile screenshots
evidence/ DOM snapshots, links, CSS variables, and computed styles
Storage location
By default, Copycat stores profiles in:
~/.copycat/designs
Set COPYCAT_ROOT to use a different design library root.
Development
python3 -m venv .venv
.venv/bin/python -m pip install -e '.[dev]'
.venv/bin/python -m playwright install chromium
Run validation:
.venv/bin/python -m pytest
.venv/bin/python -m mypy
Verify the package installs as a persistent tool:
uv tool install .
uv tool list
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file copycat_mcp-0.1.0.tar.gz.
File metadata
- Download URL: copycat_mcp-0.1.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
924ec2458ca0ee6932725242aefe76510f9a8777f6d6552f71a1d990022c1d86
|
|
| MD5 |
7ff5097ec58cb694bfb4cc6e16ebe21f
|
|
| BLAKE2b-256 |
a080c7d1eab30f297c9790715fef00fc4de27146417101a81869045f9d49e412
|
File details
Details for the file copycat_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: copycat_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73a5bfbb77dd5f9f5ed6ee93485d38d275b8af9d0eab2efd017d77c276b2557e
|
|
| MD5 |
54eb3508c4e210d4b71a301399a39d62
|
|
| BLAKE2b-256 |
750336fa0b3792cf527e208bde0edd5468651dcc19617af3c8435c98bcaf8809
|