0M

0xshellming/mcp-summarizer

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

167 stars 25 forks 品質 48 トレンド 17

0xshellming/mcp-summarizerは、https://github.com/0xshellming/mcp-summarizer.からインポートされたMCPサーバー候補です。

概要

0xshellming/mcp-summarizerは、https://github.com/0xshellming/mcp-summarizer.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

GoogleのGemini 1.5 Proモデルを用いた、さまざまなタイプのコンテンツに対してインテリジェントな要約機能を提供するモデルコンテキストプロトコル(MCP)サーバーです。このサーバーは、異なるコンテンツ形式からの重要情報を維持しつつ、簡潔な要約を生成するのに役立ちます。

3MinTop 提供

この要約サービスは3MinTopというAI搭載の読書ツールによって機能しており、わずか3分で章の内容を理解するのに役立ちます。3MinTopは複雑な内容を明確な要約に変換し、学習を効率的にし、持続的な読書習慣の形成を支援します。

特徴

  • GoogleのGemini 1.5 Proモデルを用いたユニバーサルコンテンツ要約
  • 複数のコンテンツタイプのサポート:
  • プレーンテキスト
  • ウェブページ
  • PDF文書
  • EPUB書籍
  • HTMLコンテンツ
  • カスタマイズ可能な概要長さ
  • 多言語サポート
  • スマートコンテキスト保存
  • テスト用の動的グリーティングリソース

始めて

  1. このリポジトリをクローンする

  2. 依存関係のインストール:

  3. プロジェクトを構築する:

  4. サーバー開始:

開発

  • pnpm run dev を使って TypeScript コンパイラをウォッチモードで起動する
  • サーバーの挙動をカスタマイズしたり、新しいツールを追加するためにsrc/index.tsを修正する

デスクトップアプリでの使用

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP Content Summarizer Server

A Model Context Protocol (MCP) server that provides intelligent summarization capabilities for various types of content using Google’s Gemini 1.5 Pro model. This server can help you generate concise summaries while maintaining key information from different content formats.

Powered by 3MinTop

The summarization service is powered by 3MinTop, an AI-powered reading tool that helps you understand a chapter’s content in just three minutes. 3MinTop transforms complex content into clear summaries, making learning efficient and helping build lasting reading habits.

Features

  • Universal content summarization using Google’s Gemini 1.5 Pro model
  • Support for multiple content types:
    • Plain text
    • Web pages
    • PDF documents
    • EPUB books
    • HTML content
  • Customizable summary length
  • Multi-language support
  • Smart context preservation
  • Dynamic greeting resource for testing

Getting Started

  1. Clone this repository

  2. Install dependencies:

    pnpm install
    
  3. Build the project:

    pnpm run build
    
  4. Start the server:

    pnpm start
    

Development

  • Use pnpm run dev to start the TypeScript compiler in watch mode
  • Modify src/index.ts to customize server behavior or add new tools

Usage with Desktop App

To integrate this server with a desktop app, add the following to your app’s server configuration:

{
  "mcpServers": {
    "content-summarizer": {
      "command": "node",
      "args": [
        "{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
      ]
    }
  }
}

Available Tools

summarize

Summarizes content from various sources using the following parameters:

  • content (string | object): The input content to summarize. Can be:
    • Text string
    • URL for web pages
    • Base64 encoded PDF
    • EPUB file content
  • type (string): Content type (“text”, “url”, “pdf”, “epub”)
  • maxLength (number, optional): Maximum length of the summary in characters (default: 200)
  • language (string, optional): Target language for the summary (default: “en”)
  • focus (string, optional): Specific aspect to focus on in the summary
  • style (string, optional): Summary style (“concise”, “detailed”, “bullet-points”)

Example usage:

// Summarize a webpage
const result = await server.invoke("summarize", {
  content: "https://example.com/article",
  type: "url",
  maxLength: 300,
  style: "bullet-points"
});

// Summarize a PDF document
const result = await server.invoke("summarize", {
  content: pdfBase64Content,
  type: "pdf",
  language: "zh",
  style: "detailed"
});

greeting

A dynamic resource that demonstrates basic MCP resource functionality:

  • URI format: greeting://{name}
  • Returns a greeting message with the provided name

Contributing

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "content-summarizer": { "command": "node", "args": [ "{ABSOLUTE PATH TO FILE HERE}/dist/index.js" ] } } }