Skip to main content
Glama

VibeServe v1.0

用于模型上下文协议 (MCP) 的代理式 UI 编码编排器

CI Python 3.10+ MCP WCAG AAA License: MIT Tests Quality


什么是 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/sampling

Claude 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 工具

工具

描述

vibe_architect

自然语言 → 包含 ADR 决策的完整架构方案

vibe_code

架构方案 → 生产级 TypeScript/JSX 代码文件

vibe_review

3 代理并行代码评审 (UX · 工程 · 可访问性)

vibe_verify

静态验证:WCAG、UISchema、ARIA、代码质量

vibe_iterate

评审 → 修复 → 重新评估循环 (最多 N 次迭代)

vibe_test

从源代码生成完整的测试套件

vibe_deploy

生成 Vercel、Docker 和 Node.js 部署配置

generate_ui_spec

V4:强制执行设计系统的多代理 UI 规范生成

validate_ui_spec

验证任何 UISchema v1.0 文档

list_design_systems

列出可用的设计系统和令牌调色板

memory_stats

基于 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

OPENAI_API_KEY

DeepSeek

deepseek-chat

DEEPSEEK_API_KEY

OpenRouter

claude-3.5-sonnet (默认)

OPENROUTER_API_KEY

本地

llama3.2 (Ollama)

本地运行 Ollama

OpenCode CLI

opencode/hy3-preview-free

npm install -g opencode-ai

SamplingProvider

(客户端 LLM)

无 — 无需配置

捐赠

VibeServe 是免费且开源的。如果它为您节省了时间:

💚 CashApp: $helptools

每一美元都有助于保持工具免费。


许可证

MIT — 见 LICENSE


使用 🖤 构建 · VibeServe v1.0 · GitHub Pages

Available Tools

20 tools
generate_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

    C2.7/5.0

    Scored across 20 tools

    Disambiguation4/5

    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.

    Naming Consistency3/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers