MCP.so
登录

Popmelt MCP Server

@avantjohn

关于 Popmelt MCP Server

暂无概览

基本信息

分类

开发工具

运行时

css

传输方式

stdio

发布者

avantjohn

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Popmelt MCP Server?

Popmelt MCP Server is a Model-Controlled Programming server for Popmelt, a platform that generates dynamic design systems and UI components based on structured Taste Profiles defined in JSON metadata files. It provides a RESTful API, a visual frontend dashboard, and CSS generation from design tokens.

How to use Popmelt MCP Server?

Clone the repository, install dependencies with npm install, and start the server with npm start (or npm run dev for hot reloading). The server runs on port 3000 by default, configurable via the PORT environment variable. Use the API endpoints or open http://localhost:3000 in a browser to access the visual dashboard.

Key features of Popmelt MCP Server

  • Dynamic processing of profile JSON files from a /profiles directory
  • CSS generation engine based on weighted attributes within profiles
  • Comprehensive design token system for CSS variables
  • Component variant handling (hover, focus, active, nested elements)
  • RESTful API for profile application, generation, and management
  • Visual frontend with real-time component preview

Use cases of Popmelt MCP Server

  • Generate CSS for a single component from a design system profile
  • Create a complete design system CSS for all components in one request
  • Browse, create, update, and delete design system profiles via API
  • Preview components with applied styles in real-time using the dashboard
  • Integrate design token generation into a CI/CD pipeline

FAQ from Popmelt MCP Server

What technology stack does Popmelt MCP Server use?

It uses Node.js, Express.js, fs-extra, body-parser, cors, and Jest with Supertest for testing. The frontend uses HTML, CSS, and JavaScript.

How are design tokens represented in the profiles?

Profiles contain design tokens such as colors, spacing, typography, borders, and animations. The server automatically converts these tokens into CSS variables (e.g., --color-background, --spacing-medium).

What API endpoints are available for profile management?

Endpoints include POST /api/profiles (create), GET /api/profiles (list all), GET /api/profiles/:slug (get one), PUT /api/profiles/:slug (update), and DELETE /api/profiles/:slug (delete).

Can I generate a complete design system with one call?

Yes, the POST /api/generate-design-system endpoint generates CSS for all components defined in a profile.

How do I verify the server is running correctly?

A health check endpoint is available at /api/health.

评论

开发工具 分类下的更多 MCP 服务器