MCP Content Summarizer Server
by 0xshellming
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.
Last updated: N/A
What is MCP Content Summarizer Server?
This is an MCP server that utilizes Google's Gemini 1.5 Pro model to provide intelligent summarization for various content types, including text, web pages, PDFs, EPUBs, and HTML.
How to use MCP Content Summarizer Server?
- Clone the repository. 2. Install dependencies using
pnpm install
. 3. Build the project withpnpm run build
. 4. Start the server usingpnpm start
. You can then use thesummarize
tool via the MCP protocol, providing content, type, and optional parameters likemaxLength
,language
, andstyle
.
Key features of MCP Content Summarizer Server
Universal content summarization using Google's Gemini 1.5 Pro model
Support for multiple content types (text, web pages, PDF, EPUB, HTML)
Customizable summary length
Multi-language support
Smart context preservation
Dynamic greeting resource for testing
Use cases of MCP Content Summarizer Server
Summarizing long articles or web pages for quick understanding
Extracting key information from PDF documents
Generating concise summaries of EPUB books
Integrating summarization capabilities into desktop applications
Quickly understanding the content of HTML documents
FAQ from MCP Content Summarizer Server
What content types are supported?
What content types are supported?
The server supports plain text, web pages (URLs), PDF documents (Base64 encoded), EPUB books, and HTML content.
How can I customize the summary length?
How can I customize the summary length?
You can use the maxLength
parameter when invoking the summarize
tool to specify the desired maximum length of the summary in characters.
Can I specify the language for the summary?
Can I specify the language for the summary?
Yes, you can use the language
parameter to set the target language for the summary.
What is the greeting
tool for?
What is the greeting
tool for?
The greeting
tool is a dynamic resource that demonstrates basic MCP resource functionality. It returns a greeting message with a provided name.
How do I contribute to the project?
How do I contribute to the project?
Contributions are welcome! Please feel free to submit a Pull Request.