CM

chatmcp/mcp-server-chatsum

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

1천 stars 101 forks 품질 55 트렌드 22

채팅 메시지를 문의하고 요약하세요.

개요

이 MCP 서버는 채팅 메시지를 요약하는 데 사용됩니다. 챗봇 디렉터리로 이동해서 README를 따라 채팅 데이터베이스를 설정하세요. 챗봇을 실행해서 채팅 메시지를 저장하세요. - query_chat_messages - 채팅 메시지 쿼리 - 주어진 매개변수로 채팅 메시지 쿼리 - 쿼리 프롬프트에 따라 채팅 메시지 요약 루트 디렉터리에 .env 파일을 만들고 채팅 데이터베이스 경로를 설정하세요. Claude Desktop에서 사용하려면 서버 설정을 추가하세요: MacOS에서: ~/라이브러리/애플리케이션 지원/Claude/claude_desktop_config.json 윈도우에서: %APPDATA%/Claude/claude_desktop_config.json MCP 서버가 stdio를 통해 통신하기 때문에 디버깅이 어려울 수 있습니다. 저희는 패키지 스크립트로 제공되는 MCP 인스펙터 사용을 권장합니다: 인스펙터는 브라우저에서 디버깅 도구에 접근할 수 있는 URL을 제공합니다.

개요(AI 번역)

이 MCP 서버는 채팅 메시지를 요약하는 데 사용됩니다.

中文说明

시작하기 전에

챗봇 디렉토리로 이동> README를 따라 채팅 데이터베이스를 설정하세요.

채팅 메시지를 저장하기 위해 챗봇을 시작> 보세요.

특징

자료

도구

  • query_chat_messages - 쿼리 채팅 메시지
  • 주어진 매개변수로 채팅 메시지 쿼리
  • 쿼리 프롬프트에 따라 채팅 메시지 요약

프롬프트

개발

  1. 환경 변수 설정:

루트 디렉터리에 .env 파일을 만들고 채팅 데이터베이스 경로를 설정하세요.

  1. 의존성 설치:

서버 구축하기:

자동 재조립 개발용:

설치

Claude Desktop에서 사용하려면 서버 설정을 추가하세요:

MacOS에서: ~/Library/Application Support/Claude/claude_desktop_config.json 윈도우에서: %APPDATA%/Claude/claude_desktop_config.json

디버깅

MCP 서버가 stdio를 통해 통신하기 때문에 디버깅이 어려울 수 있습니다. 저희는 패키지 스크립트로 제공되는 MCP 인스펙터 사용을 권장합니다:

인스펙터는 브라우저에서 디버깅 도구에 접근할 수 있는 URL을 제공합니다.

커뮤니티

  • MCP 서버 텔레그램
  • MCP 서버 디스코드

작가에 대하여

  • 이두비

이 페이지는 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

  1. 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
  1. 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

GitHub에서 전체 README 보기

설치

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" } } } }