VuhluiForge MCP
Converts screenshots into context-aware UI code that integrates seamlessly with existing Angular projects, considering project structure, conventions, and dependencies.
README
VuhluiForge MCP
This repo is now a transitional split copy of the MCP scaffold.
The canonical development home for VuhluiForge has moved to:
C:\dev\Screenshot-To-Codehttps://github.com/sethswango/vuhl-ui-forge
The MCP layer now lives inside that unified repo under mcp/.
Its goal remains the same: turn image-driven UI generation into a context-aware workflow that works well from Cursor, Claude Code, and related IDE-driven tooling, with special attention to Angular integration.
Project Intent
This repo exists to support a workflow like this:
- Gather project context from the target codebase
- Capture design input from a screenshot or mockup
- Generate implementation variants with the right stack and constraints
- Return code that can slot into an existing component structure, style system, and service layer
The long-term emphasis is not just "screenshot to code", but "screenshot to code that fits the project it is being added to".
Current Local State
This local snapshot is intentionally preserved and publishable, but it is no longer the primary place to continue development.
Currently present:
- package metadata and lockfile
- TypeScript and Vite configuration
- MCP/server-oriented README and project framing
- installed dependencies in
node_modules/
Not currently present in this local snapshot:
- the documented
src/server/implementation - the documented
src/ui/implementation - built output under
dist/
Because of that, this repo should be read as the current MCP contract and scaffold, not as a fully rehydrated runnable implementation tree.
Naming
- Display name:
VuhluiForge MCP - Personal repo target:
https://github.com/sethswango/vuhl-ui-forge-mcp - PDT repo target:
https://github.com/vu-pdt/VUHL-UI-Forge-MCP - npm package:
vuhl-ui-forge - CLI command:
vuhl - MCP server id example:
vuhl-ui-forge
Intended Modes
HTTP Mode
Serve a browser UI for design iteration and preview.
npx vuhl-ui-forge
Default URL:
http://localhost:3001
Stdio Mode
Expose the tool as an MCP server for IDE clients.
npx vuhl-ui-forge --stdio
MCP Client Configuration
Example configuration for Cursor or Claude Desktop:
{
"mcpServers": {
"vuhl-ui-forge": {
"command": "npx",
"args": ["vuhl-ui-forge", "--stdio"]
}
}
}
Context-Aware Generation Model
The MCP is meant to do more than generate generic markup. Before invoking generation, the client should gather context from the target codebase such as:
- Angular version
- selector prefix conventions
- CSS variables or design tokens
- shared components already available
- injectable services likely needed by the new component
- feature-specific intent, inputs, and outputs
That context should inform:
- output stack selection
- component naming
- selector naming
- service usage
- styling choices
- integration instructions
Angular-Focused Workflow
For Angular-oriented use cases, the preferred workflow is:
- Inspect the target repo's
package.jsonto determine Angular version. - Read shared styles to identify variables, tokens, and theme patterns.
- Inspect existing components to infer selector prefixes and template conventions.
- Identify candidate shared components and services before generating new files.
- Generate code with both
projectContextandfeatureContext, not just an image.
This is the core differentiator for VuhluiForge MCP versus a generic screenshot-to-code experience.
Development Notes
The committed config currently expects a structure like this once the implementation tree is restored:
src/
├── server/
│ ├── index.ts
│ ├── routes/
│ ├── tools/
│ └── lib/
└── ui/
├── App.tsx
└── components/
Existing scripts:
npm run dev
npm run build
npm run start
npm run start:http
npm run start:stdio
Those commands depend on the src/ implementation tree being present.
Publishing Notes
This repo remains useful as a transitional publishing target and compatibility mirror.
- Personal GitHub target:
sethswango/vuhl-ui-forge-mcp - Work GitHub target:
vu-pdt/VUHL-UI-Forge-MCP
Ongoing implementation work should happen in the unified VuhluiForge repo.
Related Docs
C:\dev\Screenshot-To-Code\README.mdC:\dev\Obsidian_Notes\VU-Obsidian\Projects\screenshot-to-code-mcp\screenshot-to-code-mcp.mdC:\dev\Obsidian_Notes\VU-Obsidian\Projects\VUHL UI Forge\VUHL UI Forge Status.md
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。