claude-design
Bridges Claude Design projects into existing Claude Desktop sessions by fetching code files, chat history, and project bundles.
README
mcp-design
A local MCP server named claude_design that bridges Claude Design projects into existing Claude Desktop (Cowork) sessions.
The problem it solves
Claude Design has a "Share to Claude Code" button. It copies a snippet to your clipboard:
Make sure the claude_design MCP connector (https://api.anthropic.com/v1/design/mcp) is connected...
Then use the claude_design MCP tools to import this project: https://claude.ai/design/p/<uuid>?file=...
Implement: <filename>
Pasting that into Claude Desktop should work — but it doesn't, for three reasons:
-
The real
claude_designMCP uses OAuth throughclaude.ai, which is behind Cloudflare bot protection.mcp-remote(the standard bridge) hits a Cloudflare JS challenge instead of the OAuth metadata JSON and fails immediately. -
The only workaround was downloading a ZIP and uploading it as a file — but that opens a new session, losing all conversation context. And the ZIP doesn't include the design chat history anyway (requirements, iterations, decisions), which is often the most valuable part.
-
Claude Cowork had no way to receive a design at all. The "Send to Claude Code" file-transfer path creates a new session by design. There was no sharing path for existing Cowork sessions.
How this fixes it
This server registers itself as claude_design in Claude Desktop. When you paste the "Share to Claude Code" snippet, Claude Desktop calls this server's tools instead of trying the broken OAuth flow.
The server:
- Reads the
designOauthaccess token written by/design-loginfrom the macOS Keychain (Claude Code-credentialsentry) — no hardcoded secrets - Calls
https://api.anthropic.com/v1/design/directly with that token - Decodes the base64-encoded project
datafield to extract the full chat history (requirements, iterations, back-and-forth) — the ZIP bundle omits this entirely - Fetches all code files (HTML, JS, JSX, CSS, SVG) and lists binary assets by name
- Exposes a
download_bundletool that saves the full ZIP (code + images + screenshots + uploads) to~/Downloads
The result: paste the snippet into any existing Claude Desktop session, Claude sees the design files and the conversation that produced them, and implements in-context.
Setup
1. Clone and install
git clone https://github.com/kuatecno/mcp-design.git ~/mcp-design
cd ~/mcp-design
npm install
2. Authorize Claude Design access
In Claude Code CLI (terminal):
/design-login
This writes a designOauth token into your macOS Keychain. The MCP reads it from there at runtime — no config file needed.
3. Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"claude-design": {
"command": "/path/to/node",
"args": [
"/Users/you/mcp-design/node_modules/.bin/tsx",
"/Users/you/mcp-design/src/index.ts"
]
}
}
}
Use the absolute path to node from your Node version manager (e.g. ~/.nvm/versions/node/vX.Y.Z/bin/node). Claude Desktop runs with a restricted PATH so bare node won't resolve.
Restart Claude Desktop.
4. Use it
Click "Share to Claude Code" in Claude Design, paste the clipboard text into any Claude Desktop session. Done.
Tools
| Tool | Description |
|---|---|
import_project(url) |
Fetches all code files + chat history for a project. Main entry point for the "Share to Claude Code" flow. |
get_chats(project) |
Returns the full design conversation: requirements, iterations, decisions. |
get_file(project, path, offset?, limit?) |
Reads one file with optional chunked paging for large files. |
list_files(project) |
Lists all files in a project with sizes and content types. |
get_project(project) |
Returns project metadata. |
list_projects() |
Lists all your Claude Design projects. |
download_bundle(project, dest?) |
Downloads the full ZIP bundle (code + images + uploads) to ~/Downloads. |
Token lifecycle
The designOauth token is written by /design-login and expires after ~8 hours. When it expires, run /design-login again in Claude Code CLI — it refreshes the Keychain entry and the MCP picks it up automatically on the next call (no restart needed).
Requirements
- macOS (Keychain is macOS-only)
- Claude Code CLI installed and logged in
- Node.js 18+
- Claude Desktop (for the Cowork session use case)
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。