About Gin Vue Admin
Gin Vue Admin is an MCP server published by flipped-aurora in the Developer Tools category: 🚀Vite+Vue3+Gin拥有AI辅助的基础开发平台,企业级业务AI+开发解决方案,内置mcp辅助服务,内置skills管理,支持TS和JS混用。它集成了JWT鉴权、权限管理、动态路由、显隐可控组件、分页封装、多点登录拦截、资源权限、上传下载、代码生成器、表单生成器和可配置的导入导出等开发必备功能。. Conduid read 11 tools from its source: assign_api_to_role, create_api, create_menu, generate_dictionary_options, gva_analyze, gva_execute and 5 more. No package is published for it, so it installs from a source checkout.
The repository has 25K stars and 7.1K forks, is licensed Apache-2.0, and its last commit was on 20 Nov 2026. The latest release is v2.9.2-stable (17 Jul 2026). It follows v2.9.2 (26 May 2026), and the 5 most recent releases go back to v2.8.8 (11 Jan 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include admin, element-ui, devtools, gin-admin, gin and casbin.
Install
git clone https://github.com/flipped-aurora/gin-vue-adminTools (11)
assign_api_to_role将指定API权限追加分配给角色(仅追加,不覆盖原有权限)。 **功能说明:** - 自动读取角色当前API权限 - 若目标权限不存在则追加并保存 - 若已存在则幂等返回成功,不重复写入 **适用场景:** - create_api后将新API授权给指定角色 - 手动补齐某个角色缺失的API权限| Parameter | Type | Description |
|---|---|---|
| authorityId * | number | 角色ID,如:888 |
| method | string | HTTP方法,默认POST |
| path * | string | API路径,如:/user/getCustomerUserList |
create_api创建后端API记录,用于AI编辑器自动添加API接口时自动创建对应的API权限记录。 **重要限制:** - 当使用gva_auto_generate工具且needCreatedModules=true时,模块创建会自动生成API权限,不应调用此工具 - 仅在以下情况使用:1) 单独创建API(不涉及模块创建);2) AI编辑器自动添加API;3) router下的文件产生路径变化时| Parameter | Type | Description |
|---|---|---|
| apiGroup * | string | API组名称,用于分类管理,如:用户管理 |
| apis | string | 批量创建API的JSON字符串,格式:[{"path":"/user/create","description":"创建用户","apiGroup":"用户管理","method":"POST"}] |
| description * | string | API中文描述,如:创建用户 |
| method | string | HTTP方法 |
| path * | string | API路径,如:/user/create |
create_menu创建前端菜单记录,用于AI编辑器自动添加前端页面时自动创建对应的菜单项。 **重要限制:** - 当使用gva_auto_generate工具且needCreatedModules=true时,模块创建会自动生成菜单项,不应调用此工具 - 仅在以下情况使用:1) 单独创建菜单(不涉及模块创建);2) AI编辑器自动添加前端页面时| Parameter | Type | Description |
|---|---|---|
| activeName | string | 高亮菜单名称 |
| closeTab | boolean | 是否自动关闭tab |
| component * | string | 对应的前端Vue组件路径,如:view/user/list.vue |
| defaultMenu | boolean | 是否是基础路由 |
| hidden | boolean | 是否在菜单列表中隐藏 |
| icon | string | 菜单图标名称 |
| keepAlive | boolean | 是否缓存页面 |
| menuBtn | string | 菜单按钮JSON字符串,格式:[{"name":"add","desc":"新增"}] |
| name * | string | 路由name,用于Vue Router,如:userList |
| parameters | string | 路由参数JSON字符串,格式:[{"type":"params","key":"id","value":"1"}] |
| parentId | number | 父菜单ID,0表示根菜单 |
| path * | string | 路由path,如:userList |
| sort | number | 菜单排序号,数字越小越靠前 |
| title * | string | 菜单显示标题 |
generate_dictionary_options智能生成字典选项并自动创建字典和字典详情| Parameter | Type | Description |
|---|---|---|
| description | string | 字典描述 |
| dictName | string | 字典名称,如果不提供将自动生成 |
| dictType * | string | 字典类型,用于标识字典的唯一性 |
| fieldDesc * | string | 字段描述,用于AI理解字段含义 |
| options * | string | 字典选项JSON字符串,格式:[{"label":"显示名","value":"值","sort":1}] |
gva_analyze返回当前系统中有效的包和模块信息,并分析用户需求是否需要创建新的包、模块和字典。同时检查并清理空包,确保系统整洁。| Parameter | Type | Description |
|---|---|---|
| requirement * | string | 用户需求描述,用于分析是否需要创建新的包和模块 |
gva_execute**GVA代码生成执行器:直接执行代码生成,无需确认步骤** **核心功能:** 根据需求分析和当前的包信息判断是否调用,直接生成代码。支持批量创建多个模块、自动创建包、模块、字典等。 **使用场景:** 在gva_analyze获取了当前的包信息和字典信息之后,如果已经包含了可以使用的包和模块,那就不要调用本mcp。根据分析结果直接生成代码,适用于自动化代码生成流程。 **重要提示:** - 当needCreatedModules=true时,模块创建会自动生成API和菜单,不应再调用api_creator和menu_creator工具 - 字段使用字典类型时,系统会自动检查并创建字典 - 字典创建会在模块创建之前执行 - 当字段配置了dataSource且association=2(一对多关联)时,系统会自动将fieldType修改为'array'| Parameter | Type | Description |
|---|---|---|
| executionPlan * | object | 执行计划,包含包信息、模块与字典信息 |
| requirement | string | 原始需求描述(可选,用于日志记录) |
gva_review**GVA代码审查工具 - 在gva_execute调用后使用** **核心功能:** - 接收经过requirement_analyze处理的用户需求和gva_execute生成的文件列表 - 分析生成的代码是否满足用户的原始需求 - 检查是否涉及到关联、交互等复杂功能 - 如果代码不满足需求,提供调整建议和新的prompt **使用场景:** - 在gva_execute成功执行后调用 - 用于验证生成的代码是否完整满足用户需求 - 检查模块间的关联关系是否正确实现 - 发现缺失的交互功能或业务逻辑 **工作流程:** 1. 接收用户原始需求和生成的文件列表 2. 分析需求中的关键功能点 3. 检查生成的文件是否覆盖所有功能 4. 识别缺失的关联关系、交互功能等 5. 生成调整建议和新的开发prompt **输出内容:** - 审查结果和是否需要调整 - 详细的缺失功能分析 - 针对性的代码调整建议 - 可直接使用的开发prompt **重要提示:** - 本工具专门用于代码质量审查,不执行实际的代码修改 - 重点关注模块间关联、用户交互、业务流程完整性 - 提供的调整建议应该具体可执行| Parameter | Type | Description |
|---|---|---|
| generatedFiles * | string | gva_execute创建的文件列表,JSON字符串格式,包含所有生成的后端和前端文件路径 |
| userRequirement * | string | 经过requirement_analyze处理后的用户需求描述,包含详细的功能要求和字段信息 |
list_all_apis获取系统中所有的API接口,分为两组: **功能说明:** - 返回数据库中已注册的API列表 - 返回gin框架中实际注册的路由API列表 - 帮助前端判断是使用现有API还是需要创建新的API,如果api在前端未使用且需要前端调用的时候,请到api文件夹下对应模块的js中添加方法并暴露给当前业务调用 **返回数据结构:** - databaseApis: 数据库中的API记录(包含ID、描述、分组等完整信息) - ginApis: gin路由中的API(仅包含路径和方法),需要AI根据路径自行揣摩路径的业务含义,例如:/api/user/:id 表示根据用户ID获取用户信息| Parameter | Type | Description |
|---|---|---|
| _placeholder | string | 占位符,防止json schema校验失败 |
list_all_menus获取系统中所有菜单信息,包括菜单树结构、路由信息、组件路径等,用于前端编写vue-router时正确跳转 **功能说明:** - 返回完整的菜单树形结构 - 包含路由配置信息(path、name、component) - 包含菜单元数据(title、icon、keepAlive等) - 包含菜单参数和按钮配置 - 支持父子菜单关系展示 **使用场景:** - 前端路由配置:获取所有菜单信息用于配置vue-router - 菜单权限管理:了解系统中所有可用的菜单项 - 导航组件开发:构建动态导航菜单 - 系统架构分析:了解系统的菜单结构和页面组织| Parameter | Type | Description |
|---|---|---|
| _placeholder | string | 占位符,防止json schema校验失败 |
query_dictionaries查询系统中所有的字典和字典属性,用于AI生成逻辑时了解可用的字典选项| Parameter | Type | Description |
|---|---|---|
| detailsOnly | boolean | 是否只返回字典详情信息(不包含字典基本信息),默认为false |
| dictType | string | 可选:指定字典类型进行精确查询,如果不提供则返回所有字典 |
| includeDisabled | boolean | 是否包含已禁用的字典和字典项,默认为false(只返回启用的) |
requirement_analyzer** 智能需求分析与模块设计工具 - 首选入口工具(最高优先级)** ** 重要提示:这是所有MCP工具的首选入口,请优先使用!** ** 核心能力:** 作为资深系统架构师,智能分析用户需求并自动设计完整的模块架构 ** 核心功能:** 1. **智能需求解构**:深度分析用户需求,识别核心业务实体、业务流程、数据关系 2. **自动模块设计**:基于需求分析,智能确定需要多少个模块及各模块功能 3. **字段智能推导**:为每个模块自动设计详细字段,包含数据类型、关联关系、字典需求 4. **架构优化建议**:提供模块拆分、关联设计、扩展性等专业建议 ** 输出内容:** - 模块数量和架构设计 - 每个模块的详细字段清单 - 数据类型和关联关系设计 - 字典需求和类型定义 - 模块间关系图和扩展建议 ** 适用场景:** - 用户需求描述不完整,需要智能补全 - 复杂业务系统的模块架构设计 - 需要专业的数据库设计建议 - 想要快速搭建生产级业务系统 ** 推荐工作流:** requirement_analyzer → gva_analyze → gva_execute → 其他辅助工具| Parameter | Type | Description |
|---|---|---|
| userRequirement * | string | 用户的需求描述,支持自然语言,如:'我要做一个猫舍管理系统,用来录入猫的信息,并且记录每只猫每天的活动信息' |
Security checks
Static checks derived from the repository 5 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 579 words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by server/go.sum.
- !No dynamic code executionScanned 443 source files and found 2 calls to eval or shell execution, in web/openDocument.js:15 and web/openDocument.js:20. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- Streamable HTTPserver/cmd/mcp/main.go:23
- Starts other programs
- 4 callsserver/mcp/standalone_manager.go:170, server/mcp/standalone_manager.go:335, web/openDocument.js:15
- Outbound network calls
- 10 callsserver/mcp/http_client.go:110, server/mcp/standalone_manager.go:253, server/service/system/sys_skills.go:402
- Writes or deletes files
- 65 callsserver/core/internal/cutter.go:79, server/core/internal/cutter.go:90, server/core/internal/cutter.go:118
- Lockfile
- server/go.sum
Pattern matches on the source text of 443 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 579 words, fetched 5 hours ago. The original in the repository is authoritative.
Read full README