mcp-file-summarizer

mcp-file-summarizer

3.1

If you are the rightful owner of mcp-file-summarizer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP File Summarizer is a lightweight Model Context Protocol server designed to enable AI agents to read and summarize local text files.

The MCP File Summarizer is a server application that leverages the Model Context Protocol to facilitate AI agents in accessing and summarizing local `.txt` or `.md` files. It is built using Python and Flask, making it lightweight and easy to deploy. The server provides two main functionalities: reading the full content of a file and summarizing the file by returning the first 10 lines. This tool is particularly useful for applications that require quick access to file content and basic summarization capabilities without the need for complex processing.

Features

  • read_file(file_path) → returns full file content
  • summarize_file(file_path) → returns the first 10 lines as a summary