
Ui Mcp
io.github.Forge-Space由 GitHub 账号 Forge-Space 发布v0.25.0更新于 Oct 24, 2026
Forge Space MCP server for UI and backend generation via stdio transport.
概览
本地 MCP 服务器,可生成 React、Vue、Angular、Svelte 和 HTML 的界面组件、页面、原型与后端代码,并提供 Figma 与设计分析工具。
- 可以做什么
- 搭建完整前端项目,并基于模板包生成多页应用
- 生成 UI 组件、表单、页面模板和可交互原型,并按自然语言反馈改进组件
- 生成 API 路由、后端功能模块和完整后端项目
- 读取 Figma 文件与设计令牌、将设计令牌写回 Figma,并分析设计参考与组件库
- 按 WCAG 2.1 做无障碍审计、分析设计图片、管理训练数据并提交反馈
- 适用场景
- 适合让助手快速搭建或扩展 Web 项目:按指定框架产出脚手架、组件、表单、页面或后端骨架,或把 Figma 设计和截图转成代码。
- 运行要求
- 以 stdio 在本地运行,通常通过 npx 或全局 npm 安装(需要 Node.js),文档也提供 Docker 方式。仅 Figma 相关工具需要 FIGMA_ACCESS_TOKEN,SENTRY_DSN 为可选的错误上报配置。清单未声明任何认证。
安装
在 SourceWeft 中
- 打开 控制台中的 Ui Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@forgespace/ui-mcp
AI-driven UI and backend code generation via Model Context Protocol. 22 tools, 5 frameworks, brand-aware, npm-published, and MCP Registry-ready.
[npm version] [CI] [Coverage] [License: MIT] [TypeScript] [MCP] [Node.js]
Part of the Forge Space ecosystem.
Architecture
@forgespace/ui-mcp is a thin protocol adapter. All AI/generation logic lives
in @forgespace/siza-gen:
Quick Start
IDE Integration
Add to your MCP configuration (Claude Code, Windsurf, Cursor, VS Code):
Tools
Framework & Library Support
Brand Identity Integration
All generation tools accept an optional brand_identity parameter — a JSON
string from branding-mcp's
generate_brand_identity tool. When provided, brand colors, typography, and
spacing are injected into the design context.
Environment Variables
Distribution
- npm — published as
@forgespace/ui-mcp - MCP Registry metadata — repository includes
server.jsonandmcpNamemetadata for registry submission - Tag release automation — pushing
v*runs npm publish with provenance, then publishes the same version to the MCP Registry via GitHub OIDC - Weekly registry ops —
.github/workflows/mcp-registry-status.ymlrefreshes one issue with npm and MCP Registry drift, visibility, and next actions - GitHub — source, issues, releases, and Discussions live under Forge Space
Development
Community
GitHub Workflow
This repository follows the shared Forge Space GitHub work-management baseline:
- Discussions for ideas, RFCs, Q&A, and announcements
- Issues for actionable delivery work
- Projects for roadmap visibility and cross-repo reporting
See
Forge-Space/.github GOVERNANCE.md
for the org-wide contract.
Scheduled monitoring runs that execute CodeQL require job-scoped
security-events: write permission for SARIF upload.
The scheduled Security Monitoring workflow intentionally skips Codecov upload
and relies on local coverage summary generation to reduce false alerting from
third-party action download instability.
License
MIT
来源:README.md,提交 135a273
工具
0版本历史
1- v0.25.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分