chatmcpのロゴ

chatmcp

コミュニティ人気
daodao97

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

公開者daodao97
リポジトリchatmcp
言語Dart
フォーク
211
スター
2.2K
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスApache-2.0
リンク
  • ツールをAIワークフローに接続

    chatmcpは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには2.2K件のスターと211件のフォークがあります。

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

インストール

TypingMind
前提条件:

Node.js 18+

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

chatmcpのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度chatmcpに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

chatmcpをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. chatmcpのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "daodao97-chatmcp": {
      "command": "npx",
      "args": [
        "-y",
        "chatmcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてchatmcpのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. chatmcpのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
chatmcpを使ってこのタスクを手伝ってもらえますか?
chatmcp
はい、読みました。
chatmcpで調べた結果をお伝えします。

よくある質問

chatmcp MCPサーバーは何に使いますか?

chatmcpは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでchatmcp MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでchatmcpを利用できます。

TypingMindでchatmcp MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。chatmcpを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

chatmcp MCPをTypingMindに接続するにはどうすればよいですか?

chatmcpはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでchatmcp MCPのどのようなツールを利用できますか?

chatmcpはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

chatmcp MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。chatmcpで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇