MCP Chat Desktop App

by ai-ql

Not rated
GitHub

About

A cross-platform desktop app for interacting with various Large Language Models (LLMs) through the Model Context Protocol (MCP).

Details

Author
ai-ql
Categories
Communication, AI, Other, Community
Tags
#chatbot

Setup

Install MCP Chat Desktop App in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/ai-ql/chat-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

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.

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 ofTool 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

-

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.

Adopted a straightforward architecture consistent with the MCP documentation to facilitate a clear understanding of MCP principles by:

After cloning or downloading this repository:
-

Please modify theconfig.jsonfile located insrc/main.
Ensure that thecommandandpathspecified in theargsare valid.

Please ensure thatNode.jsis installed on your system.
You can verify this by runningnode -vandnpm -vin your terminal to check their respective versions.

Create a.jsonfile and paste the following content into it. This file can then be provided as the interface configuration for the Chat UI.

{ "chatbotStore": { "apiKey": "", "url": "https://api.aiql.com", "path": "/v1/chat/completions", "model": "gpt-4o-mini", "max_tokens_value": "", "mcp": true }, "defaultChoiceStore": { "model": [ "gpt-4o-mini", "gpt-4o", "gpt-4", "gpt-4-turbo" ] } }

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:

{ "chatbotStore": { "apiKey": "", "url": "https://dashscope.aliyuncs.com/compatible-mode", "path": "/v1/chat/completions", "model": "qwen-turbo", "max_tokens_value": "", "mcp": true }, "defaultChoiceStore": { "model": [ "qwen-turbo", "qwen-plus", "qwen-max" ] } }
{ "chatbotStore": { "apiKey": "", "url": "https://api.deepinfra.com", "path": "/v1/openai/chat/completions", "model": "meta-llama/Meta-Llama-3.1-70B-Instruct", "max_tokens_value": "32000", "mcp": true }, "defaultChoiceStore": { "model": [ "meta-llama/Meta-Llama-3.1-70B-Instruct", "meta-llama/Meta-Llama-3.1-405B-Instruct", "meta-llama/Meta-Llama-3.1-8B-Instruct" ] } }

You can build your own desktop application by:

This CLI helps you build and package your application for your current OS, with artifacts stored in the /artifacts directory.

For Debian/Ubuntu users experiencing RPM build issues, try one of the following solutions:

-

Editpackage.jsonto skip the RPM build step. Or

Installrpmusingsudo apt-get install rpm(You may need to runsudo apt updateto ensure your package list is up-to-date)

On windows, npx may not work, please refer my workaround:ISSUE 101

- Or you can usenodein config.json:

{ "mcpServers": { "filesystem": { "command": "node", "args": [ "node_modules/@modelcontextprotocol/server-filesystem/dist/index.js", "D:/Github/mcp-test" ] } } }

Please ensure that the provided path is valid, especially if you are using a relative path. It is highly recommended to provide an absolute path for better clarity and accuracy.

By default, I will installserver-everything,server-filesystem, andserver-puppeteerfor test purposes. However, you can install additional server libraries or usenpxto utilize other server libraries as needed.

Generally, after executingnpm installfor the entire project, the total size of files in thenode_modulesdirectory typically exceeds 500MB.

If the installation process stalls at less than 300MB and the progress bar remains static, it is likely due to a timeout during the installation of the latter part, specifically Electron.

This issue often arises because the download speed from Electron's default server is excessively slow or even inaccessible in certain regions. To resolve this, you can modify the environment or global variableELECTRON_MIRRORto switch to an Electron mirror site that is accessible from your location.

When using electron-builder to package files, it automatically downloads several large release packages from GitHub. If the network connection is unstable, this process may be interrupted or timeout.

On Windows, you may need to clear the cache located under theelectronandelectron-builderdirectories withinC:\Users\YOURUSERNAME\AppData\Localbefore attempting to retry.

Due to potential terminal permission issues, it is recommended to use the default shell terminal instead of VSCode's built-in terminal.

Integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

An MCP server client for the Agent-to-Agent (A2A) protocol, enabling LLMs to interact with A2A agents.

An AI interaction tool with an advanced UI for the Model Context Protocol (MCP).

An advanced AI companion with emotional intelligence and vector database integration.

A cross-platform AI chat client supporting desktop, mobile, and web platforms.

Enables real-time communication between AI assistants and users via a web-based chat interface.

Connects an AI agent to a LINE Official Account using the LINE Messaging API.

Multilingual intelligence + memory + safety + voice layer for autonomous AI agents

Interact with RetellAI's voice services to create conversational voice AI.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.