mcp_server
Provides AI-powered document analysis, generating summaries, important details, and relevant skills from uploaded documents using Google Gemini.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp_serverSummarize this document and list the key skills."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI Document Generator
An AI-powered document processing application that allows users to upload documents and generate useful information such as summaries, important details, and skills using Artificial Intelligence.
Features
Upload documents through a web interface
Extract text from uploaded documents
Generate AI-powered document summaries
Extract important information from documents
Identify relevant skills and keywords
AI agent-based document processing
MCP (Model Context Protocol) integration
FastAPI backend
Simple and user-friendly web interface
Related MCP server: MinerU Document Explorer
Technologies Used
Python – Backend programming
FastAPI – Web framework and REST API
Google Gemini – AI/LLM for document analysis
MCP (Model Context Protocol) – AI agent and tool integration
HTML – Frontend structure
CSS – Frontend styling
JavaScript – Frontend functionality
Uvicorn – ASGI server
python-dotenv – Environment variable management
Project Structure
AI-Document-Generator/
│
├── app.py
├── agent.py
├── mcp_server.py
├── document_processor.py
├── prompts.py
├── requirements.txt
├── .gitignore
├── README.md
│
├── templates/
│ └── index.html
│
├── static/
│ ├── style.css
│ └── script.js
│
└── uploads/File Description
app.py
The main FastAPI application.
It is responsible for:
Starting the web application
Handling document uploads
Calling document-processing functions
Communicating with the AI agent
Returning results to the frontend
agent.py
Contains the AI agent logic.
The agent processes the extracted document text and uses the configured AI model to generate useful information from the document.
mcp_server.py
Contains the MCP server implementation.
MCP is used to organize communication between the AI agent and the tools available in the application.
document_processor.py
Responsible for processing uploaded documents and extracting their text.
The extracted text is then passed to the AI agent for further analysis.
prompts.py
Contains the prompts used to instruct the AI model.
Keeping prompts in a separate file makes it easier to modify and improve the AI's responses.
templates/index.html
Contains the main HTML page and user interface of the application.
static/style.css
Contains the styling and layout of the web application.
static/script.js
Contains the JavaScript code responsible for frontend interactions and communication with the FastAPI backend.
requirements.txt
Contains the Python packages required to run the application.
Application Workflow
User
│
▼
Upload Document
│
▼
FastAPI Backend
│
▼
Document Processor
│
▼
Extract Document Text
│
▼
AI Agent
│
▼
Google Gemini / MCP
│
▼
Generate Document Insights
│
▼
Return Result
│
▼
Display Result to UserInstallation
1. Clone the Repository
git clone https://github.com/Nagashree13/AI-Document-Generator.gitNavigate to the project directory:
cd AI-Document-Generator2. Create a Virtual Environment
python3 -m venv venvActivate the virtual environment on Linux/macOS:
source venv/bin/activateFor Windows:
venv\Scripts\activate3. Install Dependencies
pip install -r requirements.txtAPI Key Configuration
The application requires an API key for the AI model.
Create a .env file in the project directory:
.envAdd your API key:
GEMINI_API_KEY=your_api_key_hereThe application reads the API key from the environment variables.
Running the Application
Start the FastAPI server using:
uvicorn app:app --reloadAfter starting the server, open the application in your browser:
http://127.0.0.1:8000How to Use
Open the AI Document Generator in your browser.
Upload a document.
The application extracts the text from the document.
The extracted text is processed by the AI agent.
Google Gemini analyzes the document.
The generated information is returned to the application.
The result is displayed on the web interface.
Example
For a resume uploaded to the application, the AI can generate information such as:
Summary:
MCA graduate with experience in Python, AI and web development.
Skills:
- Python
- SQL
- FastAPI
- MySQL
- JavaScript
- AI/MLFuture Improvements
Support for additional document formats
Chat with uploaded documents
Document question answering
Document comparison
Advanced keyword extraction
User authentication and authorization
Database integration
Cloud deployment
Additional MCP tools
Improved AI response generation
Project Objective
The objective of this project is to demonstrate the integration of Generative AI, AI agents, MCP, document processing, and web development to build a practical AI-based document analysis application.
This project demonstrates experience in:
Python development
FastAPI
Generative AI
Google Gemini
MCP
Document processing
Prompt engineering
REST APIs
Frontend-backend integration
Author
Nagashree M.K.
MCA Graduate
License
This project is created for educational and demonstration purposes.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
AI document editing for agents: draft, edit, export .docx/PDF. 37 MCP tools; agent self-signup.
Document processing over MCP: merge, split and compress PDFs, run OCR, extract document text.
CareerProof MCP gives AI agents direct access to a professional-grade career and workforce intelligence platform. Two namespaces: atlas_* for HR/TA teams (candidate evaluation, batch shortlisting, competency scoring, interview generation, JD analysis, custom eval frameworks, research reports) and ceevee_* for professionals (CV optimization, career positioning, salary intelligence, market reports). Backed by RAG knowledge from 50+ premium research sources (McKinsey, BCG, HBR, Gartner, WEF)
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to read documents in Excel, DOCX, PDF, and TXT formats via MCP protocol.123MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search, deep-read, and build knowledge bases from Markdown, PDF, DOCX, and PPTX documents via MCP tools for retrieval, document navigation, and ingestion.16631MIT
- FlicenseNot gradedqualityDmaintenanceEnables document conversion and processing through an MCP server interface for AI assistants.-
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Labradoc's document management, email ingestion, task extraction, and integration features through MCP tools.177MIT