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. The summarization service is powered by 3MinTop, an AI-powered reading tool that helps you understand a chapter's content in
Add this skill
npx mdskills install 0xshellming/mcp-summarizerWell-documented MCP server with comprehensive summarization tools for multiple content types
1# MCP Content Summarizer Server23A 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.45<a href="https://3min.top"><img width="380" height="200" src="/public/imgs/section1_en.jpg" alt="MCP Content Summarizer Server" /></a>67## Powered by 3MinTop89The summarization service is powered by [3MinTop](https://3min.top), 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.1011## Features1213- Universal content summarization using Google's Gemini 1.5 Pro model14- Support for multiple content types:15 - Plain text16 - Web pages17 - PDF documents18 - EPUB books19 - HTML content20- Customizable summary length21- Multi-language support22- Smart context preservation23- Dynamic greeting resource for testing2425## Getting Started26271. Clone this repository282. Install dependencies:29 ```30 pnpm install31 ```32333. Build the project:34 ```35 pnpm run build36 ```37384. Start the server:39 ```40 pnpm start41 ```4243## Development4445- Use `pnpm run dev` to start the TypeScript compiler in watch mode46- Modify `src/index.ts` to customize server behavior or add new tools4748## Usage with Desktop App4950To integrate this server with a desktop app, add the following to your app's server configuration:5152```js53{54 "mcpServers": {55 "content-summarizer": {56 "command": "node",57 "args": [58 "{ABSOLUTE PATH TO FILE HERE}/dist/index.js"59 ]60 }61 }62}63```6465## Available Tools6667### summarize6869Summarizes content from various sources using the following parameters:70- `content` (string | object): The input content to summarize. Can be:71 - Text string72 - URL for web pages73 - Base64 encoded PDF74 - EPUB file content75- `type` (string): Content type ("text", "url", "pdf", "epub")76- `maxLength` (number, optional): Maximum length of the summary in characters (default: 200)77- `language` (string, optional): Target language for the summary (default: "en")78- `focus` (string, optional): Specific aspect to focus on in the summary79- `style` (string, optional): Summary style ("concise", "detailed", "bullet-points")8081Example usage:8283```typescript84// Summarize a webpage85const result = await server.invoke("summarize", {86 content: "https://example.com/article",87 type: "url",88 maxLength: 300,89 style: "bullet-points"90});9192// Summarize a PDF document93const result = await server.invoke("summarize", {94 content: pdfBase64Content,95 type: "pdf",96 language: "zh",97 style: "detailed"98});99```100101### greeting102103A dynamic resource that demonstrates basic MCP resource functionality:104- URI format: `greeting://{name}`105- Returns a greeting message with the provided name106107## Contributing108109Contributions are welcome! Please feel free to submit a Pull Request.110111## License112113This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Full transparency — inspect the skill content before installing.