MCP File Summarizer logo

MCP File Summarizer

by DevOpsDynamoHub

A lightweight Model Context Protocol (MCP) server that allows AI agents to read and summarize local `.txt` or `.md` files.

View on GitHub

Last updated: N/A

MCP File Summarizer

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
pip install flask