Cover image
Try Now
2025-02-28

Serveur MCP pour la résumé de l'IA

3 years

Works with Finder

1

Github Watches

8

Github Forks

62

Github Stars

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.

MCP Content Summarizer Server

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

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocole de connecteur de message) 服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

    Reviews

    5 (1)
    Avatar
    user_T8nxtjKH
    2025-04-18

    I've been using mcp-summarizer by 0xshellming and it's a game-changer! The summarization quality is top-notch, and it's incredibly easy to integrate into projects. The developer has clearly put a lot of thought into its functionality. Highly recommend checking it out! You can find it here: https://github.com/0xshellming/mcp-summarizer-server