ChatMCP
A cross-platform Electron-based desktop application with a clean, minimalist interface for connecting and interacting with various LLMs through MCP (Model Context Protocol).
Get this MCP server
A cross-platform Electron-based desktop application with a clean, minimalist interface for connecting and interacting with various LLMs through MCP (Model Context Protocol).
Installation
From Source Code
git clone [repository]
npm install
npm start
Building the Application
npm run build-app
Configuration
MCP Server Configuration
{
"mcpServers": {
"filesystem": {
"command": "node",
"args": [
"node_modules/@modelcontextprotocol/server-filesystem/dist/index.js",
"D:/Github/mcp-test"
]
}
}
}
GPT API Configuration
{
"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"
]
}
}
Qwen API Configuration
{
"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"
]
}
}
DeepInfra Configuration
{
"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"
]
}
}
Features
- Cross-platform compatibility: support for Linux, macOS, and Windows
- Flexible Apache-2.0 license: easily modify and create custom desktop applications
- Dynamic LLM configuration: compatible with all LLMs supported by the OpenAI SDK
- Multi-client management: configure and manage multiple clients for connecting to multiple servers via MCP configuration
- Customizable UI: interface can be extracted for web use with consistent interaction logic
- Multimodal support
- Logical reasoning and LaTeX support
- MCP tools visualization
- MCP prompt templates
- Debugging via DevTools
Environment Variables
Optional
ELECTRON_MIRROR- mirror site for downloading Electron to resolve timeout issues
Notes
This project evolved into TUUI (Tool Unitary User Interface) — a restructured desktop application optimized for AI development. The application includes pre-configured server-everything, server-filesystem, and server-puppeteer for testing. Windows users may need to use 'node' instead of 'npx' in config.json due to spawn issues.