mcp-summarizer

by 0xshellming
Verified

Integrations

  • Integrates with Google's Gemini 1.5 Pro model to provide intelligent summarization capabilities for various types of content

MCP コンテンツサマライザーサーバー

Google Gemini 1.5 Pro モデルを用いて、様々な種類のコンテンツに対してインテリジェントな要約機能を提供する Model Context Protocol(MCP)サーバーです。このサーバーは、様々な形式のコンテンツから重要な情報を維持しながら、簡潔な要約を生成するのに役立ちます。

3MinTop提供

要約サービスは、わずか3分で章の内容を理解できるAI搭載の読書ツールである3MinTopを活用しています。3MinTopは複雑なコンテンツを明確な要約に変換し、学習を効率的にし、持続的な読書習慣の構築を支援します。

特徴

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

はじめる

  1. このリポジトリをクローンする
  2. 依存関係をインストールします:
    pnpm install
  3. プロジェクトをビルドします。
    pnpm run build
  4. サーバーを起動します。
    pnpm start

発達

  • pnpm run devを使用して、TypeScript コンパイラをウォッチモードで起動します。
  • src/index.tsを変更して、サーバーの動作をカスタマイズしたり、新しいツールを追加したりします。

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

このサーバーをデスクトップ アプリと統合するには、アプリのサーバー構成に以下を追加します。

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

利用可能なツール

要約する

次のパラメータを使用して、さまざまなソースのコンテンツを要約します。

  • content (文字列 | オブジェクト): 要約する入力コンテンツ。次のいずれかになります。
    • テキスト文字列
    • ウェブページのURL
    • Base64エンコードされたPDF
    • EPUBファイルの内容
  • type (文字列): コンテンツタイプ ("text", "url", "pdf", "epub")
  • maxLength (数値、オプション): 要約の最大文字数 (デフォルト: 200)
  • language (文字列、オプション): 要約の対象言語 (デフォルト: "en")
  • focus (文字列、オプション):要約で焦点を当てる特定の側面
  • style (文字列、オプション): 概要スタイル ("concise", "detailed", "bullet-points")

使用例:

// 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" });

挨拶

基本的な MCP リソース機能を示す動的リソース:

  • URI 形式: greeting://{name}
  • 指定された名前の挨拶メッセージを返します

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

AI要約用のMCPサーバー、複数のコンテンツタイプをサポート:

  • プレーンテキスト
  • ウェブページ
  • PDF文書
  • EPUB書籍
  • HTMLコンテンツ
  1. Powered by 3MinTop
    1. Features
      1. Getting Started
        1. Development
          1. Usage with Desktop App
            1. Available Tools
              1. summarize
              2. greeting
            2. Contributing
              1. License
                ID: wbqyofepik