VibeServe
VibeServe v1.0
用于模型上下文协议 (MCP) 的代理式 UI 编码编排器
什么是 VibeServe?
VibeServe 是一个生产级的 MCP 服务器,它通过由您选择的 LLM 驱动的 7 步代理流水线,将自然语言意图转化为架构完整、可访问且可直接用于生产的 UI 代码。
将其放入 Claude Desktop、Cursor、Windsurf 或任何兼容 MCP 的客户端即可开始构建。
Related MCP server: OpenGenUI MCP
Vibe 流水线
🏗️ vibe_architect → 💻 vibe_code → 🔍 vibe_review → ✅ vibe_verify → 🔄 vibe_iterate → 🧪 vibe_test → 🚀 vibe_deploy每一步都是一个独立的 MCP 工具。您可以串联整个流水线,也可以单独调用任何步骤。
主要功能
13 个 MCP 工具 — 从架构到部署的完整流水线
5 个 LLM 提供商 — OpenAI、DeepSeek、OpenRouter、本地 (Ollama)、OpenCode CLI — 具备自动回退功能
MCP 采样 — 无需 API 密钥,直接使用客户端自身的 LLM
WCAG AAA — 在每个生成步骤中内置可访问性验证
多代理评审 — UX 设计师、前端工程师和可访问性倡导者并行评审
SQLite 内存存储 — 跨会话学习高分规范
SHA-256 缓存 — 具备 TTL 的防篡改文件系统缓存
提示词注入防护 —
_sanitize_input()在每次 LLM 调用前清除注入模式43 个测试 — 39 个单元测试 + 4 个实时 DeepSeek 集成测试,全部通过
快速入门
git clone https://github.com/ncsound919/VibeServe-MCP
cd VibeServe-MCP
pip install -e ".[dev]"
cp .env.example .env # add your API keys, or leave blank for local/samplingClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"vibeserve": {
"command": "python",
"args": ["/path/to/VibeServe-MCP/vibeserve.py"]
}
}
}
**Run tests:**
```bash
pyproject.toml pytest test_aether_nexus.py test_integration_v5.py test_integration_real_api.py -v全部 13 个 MCP 工具
工具 | 描述 |
| 自然语言 → 包含 ADR 决策的完整架构方案 |
| 架构方案 → 生产级 TypeScript/JSX 代码文件 |
| 3 代理并行代码评审 (UX · 工程 · 可访问性) |
| 静态验证:WCAG、UISchema、ARIA、代码质量 |
| 评审 → 修复 → 重新评估循环 (最多 N 次迭代) |
| 从源代码生成完整的测试套件 |
| 生成 Vercel、Docker 和 Node.js 部署配置 |
| V4:强制执行设计系统的多代理 UI 规范生成 |
| 验证任何 UISchema v1.0 文档 |
| 列出可用的设计系统和令牌调色板 |
| 基于 SQLite 的规范内存存储统计信息 |
架构
请参阅 docs/index.html 获取完整的交互式架构页面。
快速概览:
MCP Client (Claude Desktop / Cursor / Windsurf)
↓ MCP Protocol
VibeServe FastMCP Server
├── 13 Tools · 5 Resources · 6 Prompts · SamplingProvider
├── V5 Agentic Pipeline (Architect → Implement → Review → Verify → Iterate → Test → Deploy)
├── LLMRouter (OpenAI · DeepSeek · OpenRouter · Local · OpenCode + auto-fallback)
├── MemoryStore (SQLite, indexed by page_type + score)
├── CacheManager (SHA-256 integrity + TTL)
└── SchemaValidator (UISchema v1.0 + WCAG AAA)LLM 提供商
提供商 | 模型 | 要求 |
OpenAI | gpt-4-turbo-preview |
|
DeepSeek | deepseek-chat |
|
OpenRouter | claude-3.5-sonnet (默认) |
|
本地 | llama3.2 (Ollama) | 本地运行 Ollama |
OpenCode CLI | opencode/hy3-preview-free |
|
SamplingProvider | (客户端 LLM) | 无 — 无需配置 |
捐赠
VibeServe 是免费且开源的。如果它为您节省了时间:
💚 CashApp: $helptools
每一美元都有助于保持工具免费。
许可证
MIT — 见 LICENSE
使用 🖤 构建 · VibeServe v1.0 · GitHub Pages
Available Tools
20 toolsgenerate_ui_specC
Generate a production-ready UI specification with multi-agent critique, WCAG AAA validation, and design system enforcement
Inputs: ctx (required), page_type (required), requirements (required), design_system, +2 more. Returns: object
list_design_systemsC
List available design systems
Inputs: ctx (required). Returns: object
memory_statsC
Get statistics on learned/stored UI specifications
Inputs: ctx (required). Returns: object
validate_ui_specC
Validate a UI specification against design system and WCAG standards
Inputs: ctx (required), specification (required). Returns: object
vibe_architectC
Transform natural language intent into a detailed architecture plan with ADR decisions.
Inputs: ctx (required), intent (required), constraints, context, +1 more. Returns: object
vibe_auditC
Full system audit: backend code quality, security, performance.
Inputs: ctx (required), files (required), requirements. Returns: object
vibe_benchmarkC
Run a benchmarking loop with ASCII graphs.
Inputs: ctx (required), iterations. Returns: object
vibe_build_proC
Full professional build: upgrade design -> architect -> code -> verify.
Inputs: ctx (required), intent (required), template, constraints. Returns: object
vibe_codeC
Generate production code from an architecture plan.
Inputs: ctx (required), intent (required), plan (required), constraints, +2 more. Returns: object
vibe_compressC
Compress JSON to TOON format — 30-60% token reduction.
Inputs: ctx (required), data (required). Returns: object
vibe_deployC
Generate deployment configs for Vercel, Docker, static hosting.
Inputs: ctx (required), project_name (required), files (required), targets. Returns: object
vibe_designC
Generate a landing page using curated DESIGN.md templates.
Inputs: ctx (required), intent (required), template, constraints. Returns: object
vibe_docsC
Fetch documentation for a framework via Context7.
Inputs: ctx (required), query (required), library. Returns: object
vibe_healthC
System health stats.
Inputs: ctx (required). Returns: object
vibe_iterateC
Continuous improvement loop: critique -> repair -> verify -> repeat.
Inputs: ctx (required), specification (required), requirements (required), max_iterations, +1 more. Returns: object
vibe_previewC
Generate a preview HTML page and Playwright test script.
Inputs: ctx (required), html_content (required), filename. Returns: object
vibe_reviewC
Multi-agent code review from three perspectives.
Inputs: ctx (required), files (required), requirements (required). Returns: object
vibe_testC
Generate comprehensive test suites from source code.
Inputs: ctx (required), files (required), requirements, test_framework. Returns: object
vibe_upgrade_designC
Upgrade a design template with senior-dev production patterns.
Inputs: ctx (required), template. Returns: object
vibe_verifyC
Validate code/specs against WCAG, design system, and code quality.
Inputs: ctx (required), specification, files. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools have distinct purposes, but some overlap exists (e.g., vibe_audit, vibe_review, and vibe_verify all involve code quality checks). Descriptions help clarify, but ambiguity remains for a few.
The majority follow a 'vibe_<verb>' pattern, but several tools like generate_ui_spec, list_design_systems, memory_stats, and validate_ui_spec break this pattern, mixing conventions.
20 tools is on the higher end but justified for a comprehensive development workflow server covering design, architecture, coding, testing, deployment, and auditing. Some tools could potentially be merged.
The toolset covers major stages of development from specification to deployment and auditing. Missing project setup or config management tools, but core workflows are well-represented.
Maintenance
Related MCP Connectors
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
MCP server for generating rough-draft project plans from natural-language prompts.
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- AlicenseCqualityCmaintenanceA Model Context Protocol server that enables AI agents to generate, fetch, and manage UI components through natural language interactions.37ISC
- AlicenseNot gradedqualityDmaintenanceAn MCP server that turns natural-language descriptions into interactive HTML/JS UI components, leveraging OpenGenerativeUI and AG-UI protocol.12MIT
- AlicenseAqualityDmaintenanceAn intelligent MCP server for Google Stitch that generates production-ready UI from text prompts, with auto-orchestration of design systems, WCAG accessibility, responsive breakpoints, and framework conversion (React, Vue, Svelte).1714 npm9MIT
- AlicenseCqualityDmaintenanceA production-grade MCP server providing an autonomous AI agent swarm, persistent semantic memory, browser automation, multi-model reasoning, and 78+ tools for AI-first testing and development.63MIT