yudao-pilot-mcp
Workspace-aware MCP server for the yudao/ruoyi-vue-pro ecosystem that helps AI coding tools identify backend, frontend, and database configurations so generated code lands in the right project structure.
README
Yudao Pilot MCP
中文
Yudao Pilot MCP 是面向 yudao / ruoyi-vue-pro 生态的工作区感知型 MCP 服务。它帮助 AI 编码工具识别本地后端、前端、数据库和代码生成目标,让 AI 生成的代码准确落到正确项目结构里。
严肃声明
yudao、ruoyi-vue-pro 生态与 ruoyi / RuoYi / 若依原生生态不是同一个项目。当前 MCP 只支持 yudao、ruoyi-vue-pro、ruoyi-vue-pro-jdk17、yudao-cloud 相关项目,不支持若依原生生态项目。
核心价值
- 让 AI 不再猜 yudao 项目目录和生成位置
- 用
.yudao-pilot/config.yaml固化后端、前端和数据库配置 - 基于项目指纹校验路径,避免代码写错仓库或模块
- 生成菜单、字典、H2 测试 SQL 和前后端骨架代码
- 当工作目录不明确时停止初始化,并要求 AI 先询问真实项目目录
快速使用
- 安装命令行入口。
git clone https://github.com/woodynew/yudao-pilot-mcp.git
cd yudao-pilot-mcp
uv tool install .
- 在 MCP 客户端中注册服务。
{
"mcpServers": {
"yudao-pilot": {
"command": "yudao-pilot",
"args": []
}
}
}
-
在你的 yudao 工作区中让 AI 先调用
load_workspace_config。首次使用会生成.yudao-pilot/config.yaml,并要求确认识别到的后端和前端路径。 -
确认配置后,典型流程是:
load_workspace_config
validate_workspace_projects
inspect_codegen_context
generate_codegen_scaffold(write_files=true)
如果用户明确要求“先预览”,则调用:
generate_codegen_scaffold(write_files=false)
此时预览产物会写入 .yudao-pilot/previews/ 下的临时目录,不会影响项目现有代码。
文档
English
Yudao Pilot MCP is a workspace-aware MCP server for the yudao / ruoyi-vue-pro ecosystem. It helps AI coding tools understand local backend projects, frontend targets, database configuration, and code-generation routes so generated code lands in the right place.
Important Notice
The yudao / ruoyi-vue-pro ecosystem is not the same project as the original ruoyi / RuoYi ecosystem. This MCP currently supports yudao, ruoyi-vue-pro, ruoyi-vue-pro-jdk17, and yudao-cloud projects only. It does not support original RuoYi projects.
Core Value
- Stop AI tools from guessing yudao project paths
- Use
.yudao-pilot/config.yamlas the routing source of truth - Validate backend and frontend paths with project fingerprints
- Generate menu SQL, dictionary SQL, H2 test SQL, and backend/frontend scaffolds
- Refuse unsafe initialization when the project workspace is unknown
Quick Start
- Install the command.
git clone https://github.com/woodynew/yudao-pilot-mcp.git
cd yudao-pilot-mcp
uv tool install .
- Register the MCP server in your client.
{
"mcpServers": {
"yudao-pilot": {
"command": "yudao-pilot",
"args": []
}
}
}
-
Ask the AI client to call
load_workspace_configfrom your yudao workspace. On first use, Yudao Pilot creates.yudao-pilot/config.yamland asks the AI to confirm detected backend and frontend paths. -
After configuration is confirmed, the common flow is:
load_workspace_config
validate_workspace_projects
inspect_codegen_context
generate_codegen_scaffold(write_files=true)
If the user explicitly asks to preview first, call:
generate_codegen_scaffold(write_files=false)
Preview artifacts are written under .yudao-pilot/previews/ and do not touch the existing project code.
Documentation
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.