Let your AI
read the spec, not a screenshot
Add the MCP server and Claude Code, Cursor or Codex can search Design Console templates and pull the DESIGN.md behind them — colors, type scale, spacing, components and motion as concrete rules. Instead of guessing a style from a picture, the model writes code against the spec.
Why bother
DESIGN.md carries real values: primary #0B0D12, heading 56/1.05, card radius 18px, 2px hover lift. Code written against those values looks like the same design system, not a rough imitation.
Three GET tools: search, read one template, list tags. No login, no orders, no source-pack downloads. Buying and editing stay where a human belongs.
One .mjs file using only Node built-ins. Download it and run node on it — no npm install, no port to reserve.
Install (Claude Code)
① Download the script (one file, ~5 KB)
In PowerShell:
mkdir -Force "$env:USERPROFILE\.design-console" curl.exe -L -o "$env:USERPROFILE\.design-console\design-market-mcp.mjs" https://www.tujuyun.com/mcp/design-market-mcp.mjs
② Register it with Claude Code
The script already defaults to the live market, so registering is enough:
claude mcp add design-market -- node "%USERPROFILE%\.design-console\design-market-mcp.mjs"
③ Verify
Once design-market shows as connected you are done. Then just talk to it in any project:
claude mcp list
Manual config (Cursor / Codex / anything else)
If your client takes .mcp.json or an mcpServers block, paste this. On Windows escape the backslashes or use forward slashes.
{
"mcpServers": {
"design-market": {
"command": "node",
"args": ["C:\\Users\\you\\.design-console\\design-market-mcp.mjs"],
"env": { "DC_MARKET_BASE": "https://market.tujuyun.com" }
}
}
}The tools
| Tool | What it does | Arguments |
|---|---|---|
search_templates | Search templates; returns name, summary, tags, price, page count, link | query · category · dim + tag · limit (≤50) |
get_template | Read one template: original prompt plus the full DESIGN.md | id |
list_tags | List tag axes and per-tag template counts | lang (optional, defaults to Chinese) |
Everything goes through https://market.tujuyun.com/api/public/ — public, keyless, read-only.
Axes are not hardcoded: add or rename one in the market admin and the MCP re-reads the vocabulary on every tools/list — live in the same process, no reconnect. Tag names and hints come back per language too: label is the chosen one, labels carries every translation, so adding a language is an admin change, not an API change.
Things to say once it is connected
FAQ
No. The public API only serves approved templates' metadata and design specs — the same prompt and DESIGN.md that are already visible on the detail page.
No. MCP reads specs only. For source, use "download the kit" on the detail page — free for free templates, after purchase for paid ones.
Yes. The spec is reference material, not the product; the product is the source pack and the runnable page.
No, deliberately. Writes (orders, publishing, pricing) stay with a human; MCP only moves reference material into your editor.