MCP Chat Desktop App
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A Cross-Platform Interface for LLMs
This desktop application utilizes the MCP (Model Context Protocol) to seamlessly connect and interact with various Large Language Models (LLMs). Built on Electron, the app ensures full cross-platform compatibility, enabling smooth operation across different operating systems.
The primary objective of this project is to deliver a clean, minimalistic codebase that simplifies understanding the core principles of MCP. Additionally, it provides a quick and efficient way to test multiple servers and LLMs, making it an ideal tool for developers and researchers alike.
News
This project originated as a modified version of Chat-UI, initially adopting a minimalist code approach to implement core MCP functionality for educational purposes.
Through iterative updates to MCP, I received community feedback advocating for a completely new architecture - one that eliminates third-party CDN dependencies and establishes clearer modular structure to better support derivative development and debugging workflows.
This led to the creation of Tool Unitary User Interface, a restructured desktop application optimized for AI-powered development. Building upon the original foundation, TUUI serves as a practical AI-assisted development paradigm, if you're interested, you can also leverage AI to develop new features for TUUI. The platform employs a strict linting and formatting system to ensure AI-generated code adheres to coding standards.
> **📢 Update: June 2025**
> The current project refactoring has been largely completed, and a pre-release version is now available. Please refer to the following documentation for details:
> - TUUI GitHub Repository
> - TUUI Architecture
> - TUUI Official Website
Features
- Cross-Platform Compatibility: Supports Linux, macOS, and Windows.
- Flexible Apache-2.0 License: Allows easy modification and building of your own desktop applications.
- Dynamic LLM Configuration: Compatible with all OpenAI SDK-supported LLMs, enabling quick testing of multiple backends through manual or preset configurations.
- Multi-Client Management: Configure and manage multiple clients to connect to multiple servers using MCP config.
- UI Adaptability: The UI can be directly extracted for web use, ensuring consistent ecosystem and interaction logic across web and desktop versions.
Architecture
Adopted a straightforward architecture consistent with the MCP documentation to facilitate a clear understanding of MCP principles by:
DeepWiki
How to use
After cloning or downloading this repository:
1. Please modify the config.json file located in src/main.
Ensure that the command and path specified in the args are valid.
2. Please ensure that Node.js is installed on your system.
You can verify this by running node -v and npm -v in your terminal to check their respective versions.
3. npm install
4. npm start
Configuration
Create a .json file and paste the following content into it. This file can then be provided as the interface configuration for the Chat UI.
- gtp-api.json
You can replace the 'url' if you have direct access to the OpenAI API.
Alternatively, you can also use another API endpoint that supports function calls: