MCP File Assistant
AI File Assistant
A document intelligence system that enables AI agents and users to read, search, summarize, and answer questions over local PDF, DOCX, XLSX, and TXT documents.
The project exposes the same core engine through:
MCP Server for Claude Desktop and other MCP-compatible clients
Flask Web Application for browser-based interaction
Features
Read PDF, DOCX, XLSX and TXT documents
Search keywords across multiple documents
AI-powered document summarization
Retrieval-Augmented Document Q&A
Upload and manage files
Delete individual or all documents
Secure file access with path validation
Claude Desktop MCP integration
Tech Stack
Category | Technologies |
Backend | Python, Flask |
MCP | Model Context Protocol (MCP) |
AI | Groq Llama / Ollama |
Document Parsing | PyMuPDF, python-docx, pandas, openpyxl |
Frontend | HTML, CSS, JavaScript |
Testing | Pytest |
Architecture
Claude Desktop
│
▼
MCP Server
│
┌──────────────┴──────────────┐
│ │
Shared Core Engine Flask Web App
│
├── File Readers
├── Search Engine
├── Document Processor
└── LLM Client📸 Screenshots
🖥️ User Interface
Modern web interface for uploading, browsing, and managing supported documents.
🔗 MCP Server Connected
Claude Desktop successfully connected to the local MCP File Assistant server.
📄 Read Document
Read PDF, DOCX, XLSX, and TXT documents directly through Claude Desktop using MCP.
📝 AI Document Summarization
Generate concise AI-powered summaries of lengthy documents using Groq Llama.
🔍 Keyword Search
Search keywords across every indexed document with ranked search results.
❓ Document Question Answering
Ask natural language questions grounded in document contents using Retrieval-Augmented Generation (RAG).
🗑️ File Management
Delete individual files or remove all uploaded documents directly from the application.
Claude Desktop MCP Integration
Claude Desktop successfully invokes custom MCP tools including Read, Search, Summarize, and Ask Document.
📁 Project Structure
mcp-file-assistant/
│
├── app.py
├── server.py
├── config.py
├── file_readers.py
├── search_engine.py
├── document_processor.py
├── llm_client.py
├── templates/
├── static/
├── tests/
├── sample_documents/
├── requirements.txt
└── README.md🚀 Installation
git clone <repository-url>
cd mcp-file-assistant
pip install -r requirements.txt
python app.pyOpen:
http://127.0.0.1:5000To start the MCP server:
python server.pyConfigure Claude Desktop with the provided MCP configuration and restart the application.
🔧 MCP Tools
Read Document
Search Documents
Summarize Document
Ask Document
List Files
Delete File
Delete All Files
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kaviyasree27/MCP-File-Assistant-with-Claude-Desktop-integration'
If you have feedback or need assistance with the MCP directory API, please join our Discord server