yudao-pilot-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| load_workspace_config_toolA | 加载当前工作区配置;如果配置文件不存在,则返回初始化模板。 |
| init_workspace_config_toolC | 初始化当前工作区配置文件。 |
| inspect_project_path_toolA | 根据 pom.xml 或 package.json 的依赖指纹分析项目类型,不依赖目录名。 |
| compare_codegen_reference_projects_toolB | 比较 ruoyi-vue-pro 与 ruoyi-vue-pro-jdk17 的代码生成核心实现差异。 |
| validate_workspace_projects_toolC | 校验工作区中的后端和前端项目是否与配置严格匹配。 |
| resolve_database_config_toolC | 解析数据库配置,优先遵循工作区 config,其次从后端本地配置中读取。 |
| infer_codegen_plan_toolC | 根据工作区配置推导表对应的模块、业务名、实体名和生成目标。 |
| inspect_codegen_context_toolB | 结合配置规则、后端默认配置和 SQL 菜单数据,构建生成代码所需上下文。 backend_module_dir: 显式后端目标模块目录,支持 yudao-module-a/yudao-module-b 或 a/b。 backend_package_module: 显式 Java package module 名,例如 b;未传时使用 module_name。 |
| inspect_table_schema_toolC | 优先从真实数据库解析字段,缺失时回退到目标迁移 SQL 或本地结构 SQL。 |
| generate_codegen_scaffold_toolA | 根据当前上下文生成首版代码骨架,可选择只预览或直接写入工作区。 普通代码文件默认 overwrite=false,写入时若文件已存在会返回 should_stop, 由调用方询问用户是否覆盖;前端字典常量、后端错误码等合并型文件不受此限制。 field_overrides: AI 覆盖字段组件类型,格式为 {"java_field": "html_type"}, 例如 {"lng": "inputNumber", "lat": "inputNumber"}。 可用 html_type 值: input, inputNumber, textarea, editor, select, radio, checkbox, datetime, date, imageUpload, fileUpload。 backend_module_dir: 显式后端目标模块目录,支持 yudao-module-a/yudao-module-b 或 a/b。 backend_package_module: 显式 Java package module 名,例如 b;未传时使用 module_name。 |
| write_generated_files_toolC | 将 AI 应用生成的文件安全写入到配置指定的后端或前端项目中。 |
| write_mysql_migration_toolC | 将新的 SQL 结构以 Laravel 风格文件名写入 sql/mysql/migrations 目录。 |
| generate_codegen_sql_toolA | 生成 MySQL 菜单 SQL 与模块 H2 测试 SQL,可选直接写入文件,并按配置决定是否写库。 菜单/字典是否生成由工作区配置 codegen.menu_sql_mode、codegen.dict_sql_mode 控制; 是否允许写库由 codegen.apply_to_database 控制: auto(默认)= 生成 SQL,write_files 写迁移,若 apply_to_database=true 则允许写库; migration_only = 仅生成/写入迁移文件,不执行真实数据库写入; disabled = 不生成对应 SQL(不写迁移中的该段)。 backend_module_dir: 显式后端目标模块目录,支持 yudao-module-a/yudao-module-b 或 a/b。 backend_package_module: 显式 Java package module 名,例如 b;未传时使用 module_name。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chanshawoh/yudao-pilot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server