-
Notifications
You must be signed in to change notification settings - Fork 1.7k
MCP Configuration Guide
Welcome to AionUi's MCP (Model Context Protocol) configuration guide! This tutorial will provide detailed instructions on how to configure and manage MCP services in AionUi, helping you easily extend your AI assistant's capabilities.
MCP (Model Context Protocol) is an open standard that allows AI assistants to communicate securely and structurally with external tools and services. In AionUi, MCP enables you to:
- Extend AI functionality: Connect to various external tools and services
- Unified management: Manage all MCP services in one interface
- Simplify configuration: Support multiple addition methods, reducing configuration difficulty
- Real-time monitoring: Automatically test connection status to ensure service availability
AI Assistant โโ MCP Protocol โโ External Tools/Services
MCP acts as a middleware layer, allowing AI assistants to:
- Discover tools: Automatically identify available tools and functions
- Call services: Securely execute external operations
- Get results: Receive and process data returned by services
| Feature | Description | Benefits |
|---|---|---|
| Unified Management Interface | Centralized management of all MCP services in settings | Simple operation, clear overview |
| Multiple Addition Methods | Support for JSON configuration and one-click import | Flexible adaptation to different needs |
| Automatic Connection Testing | Automatic validation of service availability after addition | Ensures correct configuration |
| Batch Operations | One-click enable/disable multiple services | Improves management efficiency |
| Status Monitoring | Real-time display of connection status and tool lists | Facilitates troubleshooting |
AionUi currently supports the following MCP transport methods:
- stdio: Standard input/output (most common)
- sse: Server-sent events
- http: HTTP requests
- streamable-http: Streamable HTTP
Before starting MCP configuration, ensure:
- โ AionUi is properly installed and running
- โ At least one AI model is configured (Gemini, OpenAI, etc.)
- โ Basic understanding of JSON configuration format (optional)
- Open AionUi
-
Enter Settings Page
- Click the "Settings" icon in the left sidebar
-
Select Tools Settings
- Choose "Tools Settings" in the settings page
-
Find MCP Management
- Locate the "MCP Management" section in tools settings

This is the most flexible configuration method, suitable for experienced users:
The JSON configuration format for MCP services is as follows:
{
"mcpServers": {
"service-name": {
"description": "Service description",
"command": "command",
"args": ["arg1", "arg2"],
"env": {
"ENV_VAR_NAME": "env_var_value"
}
}
}
}-
Click Add Button
- Click "Add MCP Service" button in MCP management interface
- Select "Add via JSON"
-
Input Configuration
- Paste JSON configuration in the popup dialog
- Click "Confirm" button
-
Automatic Testing
- AionUi will automatically test the connection
- Successfully connected services will show green checkmark

If you have already configured MCP in CLI tools, you can use the one-click import feature:
-
Click Add Button
- Click "Add MCP Service" button in MCP management interface
- Select "Import from CLI"
-
Choose CLI
- Select the CLI tool with configured MCP from the dropdown
- Supported agents: Built-in Agent, Claude Code, Qwen Code, etc.
-
Click Import Button
- After selecting CLI, click "Import from CLI" button
- AionUi will automatically read the CLI's MCP configuration
-
Confirm Import
- Review the imported service list
- Click "Save" to complete the import

In the MCP management interface, each service displays:
- Service Name: MCP service identifier
-
Connection Status:
- โ Connected: Service running normally
- โ Connection Failed: Service unavailable
- ๐ Testing: Testing connection
- โช Disconnected: Service not started
- Tool List: Click to expand and view available tools
-
Toggle Switch
- Click the switch button on the right side of the service
- After enabling, it will automatically sync to all CLI tools
-
View Sync Status
- After successful enabling, CLI icons will appear next to the service name
- Indicates the service has been synced to corresponding CLI tools
-
Manual Test
- Click the refresh button on the right side of the service
- Re-test the service connection status
-
View Results
- Status icon will be updated after testing
- Error information will be displayed if failed
-
Enter Edit Mode
- Click the edit button on the right side of the service
- Modify service configuration
-
Save Changes
- Click save after modifications
- System will automatically re-test the connection
-
Confirm Deletion
- Click the delete button on the right side of the service
- Click "Confirm" in the confirmation dialog
-
Clean Sync
- After deletion, it will automatically remove from all CLI tools
- Ensures configuration consistency
After configuring filesystem MCP service, you can:
User: Help me organize the files on my desktop
AI: I'll help you organize your desktop files. Let me first check what files are on your desktop...
[Calling filesystem MCP]
- Scan desktop directory
- Categorize by file type
- Create organized folder structure
- Move files to corresponding folders
Organization complete! I've categorized and organized your desktop files by type.
After configuring Chrome DevTools MCP, you can:
User: Help me open GitHub and search for AionUi project
AI: I'll help you open GitHub and search for the AionUi project.
[Calling chrome-devtools MCP]
- Open Chrome browser
- Navigate to GitHub.com
- Enter "AionUi" in search box
- Execute search operation
Search complete! I've opened GitHub and searched for the AionUi project for you.
After configuring Git MCP service, you can:
User: Help me check the commit history of the current project
AI: I'll help you check the project's commit history.
[Calling git MCP]
- Connect to Git repository
- Get commit history records
- Format and output commit information
Commit History:
commit abc123 - Fix login functionality (2024-01-15)
commit def456 - Add user management module (2024-01-14)
commit ghi789 - Initialize project (2024-01-13)
After configuring Memory MCP service, you can:
User: Help me remember this important information: project deadline is next Friday
AI: I'll help you remember this important information.
[Calling memory MCP]
- Store important information in memory
- Set reminder tags
- Confirm save success
Information saved! I've remembered "project deadline is next Friday" as important information.
Problem: MCP service shows red X, cannot connect
Possible Causes:
- Incorrect command path
- Dependencies not installed
- Network connection issues
- Insufficient permissions
Solutions:
-
Check Command: Ensure
commandandargsconfiguration is correct -
Install Dependencies: Run
npm install -g package-nameto install required packages - Check Network: Ensure network connection is normal
- Permission Check: Ensure sufficient system permissions
Problem: Service connects successfully, but tool list is empty
Possible Causes:
- MCP service doesn't properly implement tool interface
- Service version incompatibility
- Missing configuration parameters
Solutions:
- Check Service: Ensure MCP service implementation is correct
- Update Version: Use the latest version of the service
- Complete Configuration: Add necessary environment variables
Problem: Service works normally in AionUi, but CLI tools cannot use it
Possible Causes:
- CLI tool version is too old
- Configuration format incompatibility
- CLI tool not properly installed
Solutions:
- Update CLI: Upgrade to the latest version
- Re-sync: Disable and re-enable the service
- Check Installation: Ensure CLI tool is properly installed
- MCP Official Specification - Official MCP protocol documentation
- AionUi GitHub - AionUi project homepage
- MCP Server List - Official MCP servers
- GitHub Discussions - Community discussions and feedback
- Issue Reports - Report bugs and feature requests
- Release Notes - View latest versions and updates
- Quick Start Guide - AionUi basic configuration
- LLM Configuration - AI model configuration tutorial
- Multi-Agent Mode Setup - CLI tool integration tutorial
- FAQ - Q&A and troubleshooting
Start your MCP journey and make your AI assistant more powerful! ๐
Welcome to the comprehensive AionUi documentation! Find everything you need to configure, use, and master AionUi.
- โ๏ธ LLM Configuration
- ๐ค Multi-Agent Mode Setup
- ๐จ Image Generation Setup
- ๐ MCP Configuration
- ๐ป WebUI Configuration(by Commond Line)
- ๐ AionUi Remote Internet Access Tutorial
- ๐ค DingTalk Bot Setup
- โฐ Scheduled Tasks Guide
- ๐ ๏ธ AI Assistants & Skills Ecosystem
- ๐ Preview Panel Guide
- ๐ File Management
- ๐ Excel Smart Processing
- ๐ Smart Information Gathering
- ๐ Local Knowledge Base Application
- โ AI Learning Assistant
- โ๏ธ Writing & Content Creation
- ๐ Getting Started
- โ๏ธ LLM Configuration
- ๐ค Multi-Agent Mode Setup
- ๐จ Image Generation
- ๐ MCP Configuration
- ๐ WebUI Configuration
- โฐ Scheduled Tasks
- ๐ ๏ธ AI Assistants & Skills
- ๐ Preview Panel
- โ FAQ