Skip to main content
Glama
mcp-summarizer

mcp-summarizer

by 0xshellming

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

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

3MinTop提供

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

Related MCP server: Summarizer Ai MCP

特徴

  • 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ファイルを参照してください。

Available Tools

1 tool
summarizeD

Inputs: text (required), language, maxLength.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.7/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'summarize' has no competing alternatives within this server, making disambiguation trivial.

    Naming Consistency5/5

    A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The name 'summarize' follows a clear verb pattern, but consistency cannot be assessed across a set of one.

    Tool Count2/5

    One tool is too few for most practical server purposes, as it severely limits functionality and scope. For a summarizer, this feels thin and incomplete, lacking operations like list_summaries, get_summary, or customize_summary that would enhance utility.

    Completeness1/5

    The server is severely incomplete for a summarizer domain. With only a single 'summarize' tool and no description, there are obvious gaps: no way to retrieve, update, delete, or list summaries, and no coverage of related operations like configuration or batch processing.

    Related MCP Connectors

    Related MCP Servers