MCP File Summarizer

by DevOpsDynamoHub

336 downloads Not rated yet

About

Lightweight MCP server that summarizes local .txt and .md files using AI agents

Explore

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

Install Python 3.7+ and Flask, then run the server. Invoke the read_file(file_path) tool to retrieve full file content or summarize_file(file_path) to get the first 10 lines as a summary.

This is a lightweight Model Context Protocol (MCP) server that allows AI agents (like Cursor, Claude, etc.) to read and summarize local .txt or .md files.

🚀 Features

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

🛠 Requirements

- Python 3.7+ - Flask

```bash
pip install flask

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.