MCP AI Assistant Integration β
Revolutionary AI development experience! Through MCP (Model Context Protocol), AI editing tools can deeply understand the GVA project structure, achieving intelligent code generation and project management.
Version Requirements
Using MCP functionality requires GVA version β₯ 2.8.4, please ensure your project version meets the requirements.
Try to use claude > gemini > gpt = kimi models for better results
β¨ Core Features β
- π Intelligent Code Generation: AI automatically creates complete CRUD templates
- π Intelligent File Search: Automatically locate related files and provide precise modification suggestions
- π― Automated Workflow: One-click generation of API interfaces and menu configuration
- π§ Context Understanding: AI deeply understands project architecture, providing more accurate code linkage
π οΈ AI Editor Configuration β
Supported AI Editors β
- Trae (try to use trae.ai international version)
- Cursor
- Claude Code
- Windsurf
- Codebubby
- Other AI editors that support MCP protocol
Configuration Steps β
Step 1: Start GVA Project β
Ensure your GVA project is running, MCP service will automatically start at http://127.0.0.1:8888/sse
Step 2: Configure AI Editor β
Add the following MCP configuration in your AI editor's configuration file:
{
"mcpServers": {
"GVA Helper": {
"url": "http://127.0.0.1:8888/sse"
}
}
}Step 3: Restart Editor β
After saving the configuration, restart your AI editing tool, wait for MCP connection to be established, green MCP status indicates successful connection
π AI Assistant New Capabilities β
After configuration, the AI assistant will gain the following superpowers:
- π§ Deep Project Understanding: Automatically identify GVA project structure and code patterns
- π― Intelligent Code Generation: Automatically generate complete functional modules based on requirements
- π Precise File Location: Quickly find related files and provide modification suggestions
- π± Full-stack Development: Handle frontend, backend, and database code generation simultaneously
- π¨ UI Automation: Automatically configure routes, menus, and permission systems
Usage Examples β
Just tell the AI: "I want to create a user management module", and the AI will:
- π Automatically generate user table structure
- π§ Create complete CRUD API
- π¨ Generate frontend management pages
- π± Configure menus and routes
- π Set up permission controls
π Developer Training Resources β
Authorized User Internal Training Documentation [Public] β
MCP Internal Training Documentation
Video Tutorials β
Configuration File Description β
mcp:
name: GVA_MCP # MCP service name
version: v1.0.0 # Version number
sse_path: /sse # SSE path
message_path: /message # Message path
url_prefix: '' # URL prefixAuto-fill Page Parameter Example β

After clicking generate, the backend will get MCP template
Write business logic in the template's handle function to implement a simple MCP tool

Debug Tool Display β





