Logo vun chatmcp

chatmcp

CommunautéitBeléift
daodao97

ChatMCP is an AI chat client implementing the Model Context Protocol (MCP).

Editeurdaodao97
Repositorychatmcp
SproochDart
Forks
211
Stären
2.2K
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzApache-2.0
Linken
  • Tools mat KI-Workflows verbannen

    chatmcp stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    2.2K Stären an 211 Forks aus dem verlinkte Repository.

Cross-platform Macos | Windows | Linux | iOS | Android | Web AI Chat Client

English | 简体中文 | Türkçe

Install

macOSWindowsLinuxiOSAndroidWeb
ReleaseReleaseRelease ¹TestFlightReleaseGitHub Pages ²

¹ Linux Notes:

  • See Linux requirements below for AppImage/DEB runtime dependencies on Ubuntu 22.04 and 24.04
  • Improved Experience: Latest versions include better dark theme support, unified data storage following XDG Base Directory Specification, and optimized UI layout for Linux desktop environments is planned
  • Tested on major distributions: Ubuntu, Fedora, Arch Linux, openSUSE

² Note: Web version runs entirely in your browser with local storage for chat history and settings.

Documentation

Also, you can use DeepWiki to get more information about chatmcp.
Ask DeepWiki DeepWiki is an AI-powered platform that transforms any public GitHub repository into a fully interactive, easy-to-understand wiki. By analysing code, documentation, and configuration files, it creates clear explanations, interactive diagrams, and even allows for real-time Q&A with the AI.

Preview

Artifact Display Thinking Mode Generate Image LaTeX Support HTML Preview Mermaid Diagram MCP Workflow MCP InMemory MCP Tools LLM Provider MCP Stdio MCP SSE

Data Sync

ChatMCP applications can sync data within the same local area network

Data sync

Usage

Make sure you have installed uvx or npx in your system

MacOS

bash
# uvx
brew install uv

# npx
brew install node 

Linux

bash
# uvx
curl -LsSf https://astral.sh/uv/install.sh | sh

# npx (using apt)
sudo apt update
sudo apt install nodejs npm

Linux Requirements (Ubuntu 22.04 and 24.04)

For running ChatMCP AppImage/DEB on Ubuntu and derivatives, install the following runtime packages:

  • AppImage (FUSE): libfuse2
  • GTK 3: libgtk-3-0
  • Graphics/EGL:
    • Ubuntu 22.04: libegl1-mesa, libgles2, libgl1-mesa-dri, libglx-mesa0
    • Ubuntu 24.04: libegl1, libgles2, libgl1-mesa-dri, libglx-mesa0
  • X11 utilities and SQLite: libx11-6, xdg-utils, libsqlite3-0

Install commands:

  • Ubuntu 22.04:
bash
sudo apt install -y libfuse2 libgtk-3-0 libegl1-mesa libgles2 libgl1-mesa-dri libglx-mesa0 libx11-6 xdg-utils libsqlite3-0 libsqlite3-dev
  • Ubuntu 24.04:
bash
sudo apt install -y libfuse2 libgtk-3-0 libegl1 libgles2 libgl1-mesa-dri libglx-mesa0 libx11-6 xdg-utils libsqlite3-0 libsqlite3-dev

Optional (recommended): mesa-vulkan-drivers, mesa-utils (for diagnostics like glxinfo)

  1. Configure Your LLM API Key and Endpoint in Setting Page
  2. Install MCP Server from MCP Server Page
  3. Chat with MCP Server
  • stdio mcp server

  • sse mcp server

Data Storage

ChatMCP follows platform-specific best practices for data storage:

Storage Locations

macOS:

bash
~/Library/Application Support/ChatMcp/

Windows:

bash
%APPDATA%\ChatMcp\

Linux:

bash
~/.local/share/ChatMcp/           # Honors $XDG_DATA_HOME if set
~/.local/share/run.daodao.chatmcp # Flutter dependency

Mobile:

  • Application Documents Directory

File Structure

All platforms store data in a unified directory structure:

  • logs folder - Application logs
  • chatmcp.db - Main database file containing chat history and messages
  • shared_preferences.json - Application settings and preferences
  • mcp_server.json - MCP server configurations

Reset Application Data

To completely reset the application (delete all chat history, settings, and configurations):

macOS:

bash
rm -rf ~/Library/Application\ Support/ChatMcp

Windows:

bash
rd /s /q "%APPDATA%\ChatMcp"

Linux:

bash
rm -rf ~/.local/share/ChatMcp
rm -rf ~/.local/share/run.daodao.chatmcp

Development

Install Flutter

To develop or run ChatMCP, you need to have Flutter installed.
Follow the official Flutter installation guide for your platform.

After installing, verify with:

bash
flutter --version

Mandatory Code Formatting and Pre-commit Hook

To keep a consistent code style across contributors, this repository enforces Dart formatting on every commit.

  • The repository ships a versioned Git hook at .githooks/pre-commit.
  • On commit, it runs dart format ., re-adds changed files, and then performs a no-output check to ensure nothing remains unformatted.
  • Commits that are not properly formatted will be rejected locally; in addition, CI will fail unformatted PRs.

Quick setup (once per clone):

bash
make setup-git-hooks

Manual setup (alternative):

bash
git config core.hooksPath .githooks
chmod +x .githooks/pre-commit

Requirements (at least one must be available on PATH):

  • Dart SDK, or
  • Flutter (bundles Dart)

Examples:

  • macOS/Linux (Flutter):
    bash
    export PATH="$PATH:$HOME/flutter/bin"
    which flutter && flutter --version
    which dart && dart --version
  • macOS/Linux (Dart SDK):
    bash
    export PATH="$PATH:$HOME/dart-sdk/bin"
    which dart && dart --version
  • Windows (PowerShell): Add C:\\src\\flutter\\bin (or your Flutter path) to the User/System PATH. Validate via:
    powershell
    where flutter
    where dart

IDE note: After changing PATH, restart your IDE so VCS operations (commit) inherit the updated environment.

CI enforcement:

  • A GitHub Actions workflow check-format runs dart format --output=none --set-exit-if-changed . on push/PR and will fail if any file is not formatted.

Policy:

  • Do not bypass hooks (e.g., --no-verify). Such changes will fail in CI and must be reformatted anyway.

Clone and Run Locally

bash
# Clone the repository
git clone https://github.com/daodao97/chatmcp.git
cd chatmcp

# Install dependencies
flutter pub get

# Run on macOS
flutter run -d macos

# Run on Linux (requires Flutter desktop support enabled)
flutter run -d linux

# Build release for Linux
flutter build linux

Web Version

Local Development

bash
# Install dependencies
flutter pub get

# Run Web version locally
flutter run -d chrome
# Or specify port
flutter run -d chrome --web-port 8080
# Or run as web-serer for other browsers.
flutter run -d web-server

Build Web Version

bash
# Build production version
flutter build web

# Build with base path (for deploying to subdirectory)
flutter build web --base-href /chatmcp/

Deploy to GitHub Pages

bash
# 1. Build Web version
flutter build web --base-href /chatmcp/

# 2. Push build/web directory contents to gh-pages branch
# Or use GitHub Actions for automatic deployment

After building, files will be in the build/web directory and can be deployed to any static website hosting service.

Features

  • Chat with MCP Server
  • MCP Server Market
  • Auto install MCP Server
  • SSE MCP Transport Support
  • Auto Choose MCP Server
  • Chat History
  • OpenAI LLM Model
  • Claude LLM Model
  • OLLama LLM Model
  • DeepSeek LLM Model
  • RAG
  • Better UI Design
  • Dark/Light Theme

All features are welcome to submit, you can submit your ideas or bugs in Issues

MCP Server Market

You can install MCP Server from MCP Server Market, MCP Server Market is a collection of MCP Server, you can use it to chat with different data.

Create a fork of mcp_server_market and add your MCP Server to the mcp_server_market.json end of the file.

json
{
    "mcpServers": {
        "existing-mcp-servers": {},
        "your-mcp-server": {
              "command": "uvx",
              "args": [
                  "--from",
                  "git+https://github.com/username/your-mcp-server",
                  "your-mcp-server"
            ]
        }
    }
}

You can send a Pull Request to the mcp_server_market repository to add your MCP Server to the Market. After your PR is merged, your MCP Server will be available in the Market and other users can use it immediately.

Your feedback helps us improve chatmcp and helps other users make informed decisions.

Thanks

License

This project is licensed under the Apache License 2.0.

Star History

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

{
  "mcpServers": {
    "daodao97-chatmcp": {
      "command": "",
      "args": []
    }
  }
}

chatmcp MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal chatmcp verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

chatmcp als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu chatmcp an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "daodao97-chatmcp": {
      "command": "npx",
      "args": [
        "-y",
        "chatmcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu chatmcp. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu chatmcp.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat chatmcp?
chatmcp
Jo. Ech hunn et gelies.
Dat hunn ech mat chatmcp fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server chatmcp benotzt?

chatmcp ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech chatmcp MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir chatmcp mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat chatmcp MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann chatmcp verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech chatmcp MCP mat TypingMind?

chatmcp leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt chatmcp MCP an TypingMind zur Verfügung?

chatmcp stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir chatmcp MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann chatmcp eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇