
chatmcp/mcp-server-chatsum
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
チャットメッセージを問い合わせて要約しましょう。
概要
このMCPサーバーはチャットメッセージを要約するために使われます。 チャットボットディレクトリに移動し、READMEに従ってチャットデータベースを設定してください。チャットボットを起動してチャットメッセージを保存してください。 - query_chat_messages - チャットメッセージのクエリ - 与えられたパラメータでチャットメッセージを問い合わせる - クエリプロンプトに基づいてチャットメッセージを要約する ルートディレクトリに.envファイルを作成し、チャットデータベースのパスを設定します。 Claude Desktopで使うには、サーバー設定を追加してください: MacOSでは:~/library/Application support/Claude/claude_desktop_config.json Windowsでは:%APPDATA%/Claude/claude_desktop_config.json MCPサーバーはstdio経由で通信するため、デバッグは難しい場合があります。パッケージスクリプトとして利用可能なMCP Inspectorの使用を推奨します: インスペクターはブラウザ内のデバッグツールにアクセスするためのURLを提供します。
概要(AI 翻訳)
このMCPサーバーはチャットメッセージを要約するために使われます。
中文说明
始める前に
チャットボットディレクトリに移動>、READMEに従ってチャットデータベースを設定してください。
チャットボットを起動してチャットメッセージを保存する>。
特徴
リソース
道具
query_chat_messages- チャットメッセージのクエリ- 与えられたパラメータでチャットメッセージを問い合わせる
- クエリプロンプトに基づいてチャットメッセージを要約する
プロンプト
開発
- 環境変数の設定:
ルートディレクトリに.envファイルを作成し、チャットデータベースのパスを設定します。
- 依存関係のインストール:
サーバーの構築:
自動再構築による開発:
設置
Claude Desktopで使うには、サーバー設定を追加してください:
MacOSでは:~/Library/Application Support/Claude/claude_desktop_config.json
Windows版:%APPDATA%/Claude/claude_desktop_config.json
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグは難しい場合があります。パッケージスクリプトとして利用可能なMCP Inspectorの使用を推奨します:
インスペクターはブラウザ内のデバッグツールにアクセスするためのURLを提供します。
コミュニティ
- MCPサーバーテレグラム
- MCPサーバーDiscord
著者について
- イドゥビ
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
mcp-server-chatsum
This MCP Server is used to summarize your chat messages.
Before you start
move to chatbot directory, follow the README to setup the chat database.
start chatbot to save your chat messages.
Features
Resources
Tools
query_chat_messages- Query chat messages- Query chat messages with given parameters
- Summarize chat messages based on the query prompt
Prompts
Development
- Set up environment variables:
create .env file in the root directory, and set your chat database path.
CHAT_DB_PATH=path-to/chatbot/data/chat.db
- Install dependencies:
pnpm install
Build the server:
pnpm build
For development with auto-rebuild:
pnpm watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-server-chatsum": {
"command": "path-to/bin/node",
"args": ["path-to/mcp-server-chatsum/build/index.js"],
"env": {
"CHAT_DB_PATH": "path-to/mcp-server-chatsum/chatbot/data/chat.db"
}
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
pnpm inspector
The Inspector will provide a URL to access debugging tools in your browser.
Community
About the author
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"mcp-server-chatsum": {
"command": "path-to/bin/node",
"args": ["path-to/mcp-server-chatsum/build/index.js"],
"env": {
"CHAT_DB_PATH": "path-to/mcp-server-chatsum/chatbot/data/chat.db"
}
}
}
}