ai-document-mcp-server
Verified Safeby adi01012002
Overview
An AI-powered Model Context Protocol (MCP) server designed for intelligent document processing, including text extraction, document type detection, and AI-driven chat with context retention via Google Gemini AI.
Installation
cd mcp && npm startEnvironment Variables
- GEMINI_API_KEY
Security Notes
The server demonstrates good security practices by using environment variables for API keys (`GEMINI_API_KEY`). File uploads are validated for size (10MB limit) and type (pdf, png, jpg, jpeg, webp, txt), mitigating some common attack vectors like large file DoS or unauthorized file execution. The `mcp/package.json` lists `express-rate-limit` and `helmet` as dependencies, indicating an intent for security middleware, though the provided `mcp/index.js` snippet does not explicitly show `helmet` being applied. CORS is enabled in the client, which could be overly permissive if not configured to specific origins in a production environment. No 'eval' or obvious malicious code patterns were found. The use of `@modelcontextprotocol/sdk` implies a structured and potentially more secure communication protocol.
Similar Servers
gemini-mcp-tool
A Model Context Protocol (MCP) server that enables AI assistants to interact with the Google Gemini CLI for comprehensive code and file analysis, structured edit suggestions, and creative brainstorming.
gemini-mcp-server
An MCP server providing a suite of 7 AI-powered tools (Image Gen/Edit, Chat, Audio Transcribe, Code Execute, Video/Image Analysis) powered by Google Gemini, featuring a self-learning "Smart Tool Intelligence" system for prompt enhancement and user preference adaptation.
mcp-gemini-prompt-enhancer
A Model Context Protocol (MCP) server that provides a prompt optimization service for Large Language Models (LLMs) using Google Gemini, with advanced prompt engineering support and automatic PDF asset management.
GeminiMCP
Integrate Google's Gemini API for AI-powered tasks and search with Model Control Protocol (MCP) clients, focusing on developer-centric features like code analysis and context handling.