Back to Home
adi01012002 icon

ai-document-mcp-server

Verified Safe

by 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

Run Command
cd mcp && npm start

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens5000
Stars0
Forks0
Last Update2025-12-03

Tags

AIDocument ProcessingChatbotGemini AIOCRNode.jsExpress.js