Logo Superdesign MCP Server

Superdesign MCP Server

Cộng đồng
jonthebeef

An MCP (Model Context Protocol) server that brings Superdesign - an open source AI design agent by @jasonzhou1993 and @jackjacketh - to Claude Code as native tools. This server operates as a "design…

Nhà phát hànhjonthebeef
Kho mãsuperdesign-mcp-claude-code
Ngôn ngữHTML
Bản fork
13
Sao
77
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Superdesign MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    77 sao và 13 bản fork từ kho mã được liên kết.

Superdesign MCP Server

An MCP (Model Context Protocol) server that brings Superdesign - an open source AI design agent by @jasonzhou1993 and @jackjack_eth - to Claude Code as native tools. This server operates as a "design orchestrator" that provides structured specifications for your IDE's LLM to execute, enabling Superdesign's sophisticated design capabilities without requiring Anthropic API keys.

Key Benefits

  • No API Keys Required: Works directly with Claude Code's built-in LLM connection
  • Local Execution: Runs entirely on your machine as an MCP server
  • IDE Integration: Seamlessly integrates with Claude Code (and potentially Cursor, Windsurf, or other MCP-compatible IDEs - untested)
  • Based on Open Source: Built on top of Superdesign.dev, an open source AI design system

Installation

  1. Install dependencies:
bash
npm install
  1. Build the server:
bash
npm run build

Claude Code Integration

  1. Add the MCP server to your Claude Code configuration:
bash
# Create or edit your Claude Code MCP settings file
# On macOS:
mkdir -p ~/.claude-code
cp claude-mcp-config.json ~/.claude-code/mcp-settings.json

# Or add manually to your existing mcp-settings.json:

Example ~/.claude-code/mcp-settings.json:

json
{
  "mcpServers": {
    "superdesign": {
      "command": "node",
      "args": ["/path/to/superdesign/dist/index.js"],
      "env": {}
    }
  }
}
  1. Restart Claude Code

  2. The MCP server will provide these Superdesign orchestrator tools in Claude Code:

    • superdesign_generate - Returns specifications for Claude to generate designs
    • superdesign_iterate - Returns instructions for Claude to iterate on existing designs
    • superdesign_extract_system - Returns instructions for design system extraction
    • superdesign_list - Lists all created designs in the workspace

Development

Run in development mode:

bash
npm run dev

Superdesign Tools Available

superdesign_generate

Returns structured specifications for Claude Code to generate designs:

  • UI designs: Complete responsive interfaces
  • Wireframes: Minimal black and white layouts
  • Components: Individual UI components (HTML/React/Vue)
  • Logos: SVG logo designs
  • Icons: SVG icon designs

Parameters:

  • prompt: Description of what to create
  • design_type: Type of design (ui, wireframe, component, logo, icon)
  • variations: Number of variations to generate (1-5, default 3)
  • framework: Framework for components (html, react, vue)

Output: Detailed specifications including Superdesign system prompt, file naming patterns, and design guidelines for Claude Code to execute.

superdesign_iterate

Returns iteration instructions for Claude Code to improve existing designs:

  • Reads existing design files
  • Provides structured feedback application guidelines
  • Maintains design consistency through Superdesign principles

Parameters:

  • design_file: Path to existing design file
  • feedback: Improvement instructions
  • variations: Number of variations to create

Output: Iteration specifications including original design content, feedback to apply, and Superdesign guidelines for Claude Code to execute.

superdesign_extract_system

Returns instructions for Claude Code to extract design systems from screenshots:

  • Provides analysis framework for visual design patterns
  • Guides extraction of color palettes, typography, spacing
  • Specifies JSON structure for reusable design systems

Output: Extraction specifications and JSON schema for Claude Code to analyze images and create design system files.

superdesign_list

List all Superdesign creations in workspace:

  • Shows design iterations
  • Shows extracted design systems
  • Displays file organization

superdesign_gallery

Generate an interactive HTML gallery to view all designs:

  • Browser-based gallery - opens in your default browser
  • Visual previews - see design thumbnails in a responsive grid
  • Interactive features - click to view full-screen, copy paths
  • Mobile responsive - works on desktop, tablet, and mobile
  • Auto-discovery - finds all HTML/SVG files in design_iterations/

Parameters:

  • workspace_path: Workspace directory (optional, defaults to current directory)

Output: Gallery HTML file with embedded previews and JavaScript interactions. The gallery opens automatically in your browser, providing a Superdesign-like canvas experience.

How the Orchestrator Works

This MCP server operates as a design orchestrator rather than a direct generator:

  1. User Request: "Generate a modern dashboard UI"
  2. MCP Server: Returns detailed specifications with:
    • Complete Superdesign system prompt and guidelines
    • Exact file paths and naming conventions
    • Design type-specific instructions
    • Number of variations to create
  3. Claude Code: Receives specifications and:
    • Generates the actual HTML/SVG/React code
    • Saves files to specified locations
    • Follows all Superdesign design principles

Usage in Claude Code

Once configured, you can use Superdesign through Claude Code with natural language:

Example Usage:

  • "Generate a modern dashboard UI design"
  • "Create 3 variations of a login page wireframe"
  • "Design a React component for a product card"
  • "Make a minimalist logo for a tech startup"
  • "Iterate on the dashboard design with better spacing"
  • "Show me the gallery of all my designs"

Requirements:

  • Claude Code with MCP support
  • No API keys needed (uses Claude Code's existing LLM connection)

File Organization: Designs are automatically saved to superdesign/ directory (visible folder):

  • design_iterations/ - Generated designs (HTML/SVG files)
  • design_system/ - Extracted design systems (JSON files)

Benefits:

  • No API key configuration required
  • Uses Claude Code's existing LLM capabilities
  • Maintains all of Superdesign's sophisticated design methodology
  • Proper file organization and naming conventions
  • Full design iteration workflow support

Known Issues & Troubleshooting

File Permissions Error

If you encounter permission errors when running the MCP server:

bash
# Add execute permissions to the built file
chmod +x dist/index.js

MCP Tools Not Appearing

If Superdesign tools don't appear in Claude Code after installation:

  1. Ensure you've completely quit Claude Code (not just closed the window)
  2. Restart Claude Code from your terminal
  3. Verify the server is registered: claude mcp list
  4. Check the tools are available by asking Claude: "What tools do you have available?"

Server Registration Issues

If the server fails to register:

bash
# Remove and re-add the server
claude mcp remove superdesign -s user
claude mcp add --scope user superdesign /path/to/superdesign/dist/index.js

Build Errors

Ensure you have Node.js 16+ installed:

bash
node --version  # Should be v16.0.0 or higher

🤝 Relationship to Superdesign

This MCP server provides a complementary integration for Superdesign by @jasonzhou1993 and @jackjack_eth.

While Superdesign offers an IDE extension that works across multiple editors, this MCP server specifically enhances Claude Code by:

  • Eliminating the need for API keys - uses Claude Code's built-in LLM connection
  • Providing native tool integration - no manual prompt copying required
  • Enabling direct tool calls - seamless workflow without copy/paste

This addresses the community request for Claude Code API provider support (see Superdesign Issue #3).

How it's Different

AspectSuperdesign ExtensionThis MCP Server
Integration TypeIDE ExtensionNative MCP Tools
Claude Code AccessManual prompt copyingDirect tool invocation
API RequirementsSeparate API key neededUses Claude Code's existing connection
User ExperienceCopy/paste workflowAutomated orchestration

License

This project follows the same license as the original Superdesign project. Please refer to the Superdesign repository for license details.

Cài đặt

TypingMind
{
  "mcpServers": {
    "superdesign-mcp-claude-code": {
      "command": "node",
      "args": [
        "/Users/jongrant/superdesign/dist/index.js"
      ]
    }
  }
}

Dùng MCP Superdesign MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Superdesign MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Superdesign MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Superdesign MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "superdesign-mcp-claude-code": {
      "command": "npx",
      "args": [
        "-y",
        "superdesign-mcp-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Superdesign MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Superdesign MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Superdesign MCP Server giúp tôi làm việc này không?
Superdesign MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Superdesign MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Superdesign MCP Server dùng để làm gì?

Superdesign MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Superdesign MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Superdesign MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Superdesign MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Superdesign MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Superdesign MCP Server với TypingMind?

Superdesign MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Superdesign MCP Server cung cấp những công cụ nào trong TypingMind?

Superdesign MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Superdesign MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Superdesign MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇