Back to Home
raahulrawat icon

docsynthai

Verified Safe

by raahulrawat

Overview

An intelligent document processing server that classifies documents using rule-based and AI (Gemini Vision) methods via the Model Context Protocol (MCP).

Installation

Run Command
python server.py

Environment Variables

  • DOCSYNTH_RULES_FILE
  • DOCSYNTH_MAX_BASE64_BYTES
  • DOCSYNTH_TRY_HTTP
  • DOCSYNTH_HOST
  • DOCSYNTH_PORT

Security Notes

The server uses `json.load`/`json.dump` for rule persistence, which is safe. Base64 decoding and image processing use PIL, which is generally robust but not immune to image-based exploits; however, size limits are enforced (`MAX_IMAGE_BYTES`, `MAX_BASE64_BYTES`). The Google API key is supplied at runtime via a tool, not hardcoded, and stored in memory, which is acceptable for server operation. No direct `eval` or `exec` of user-controlled input found. Overall, the system appears designed with reasonable security considerations for its scope.

Similar Servers

Stats

Interest Score26
Security Score8
Cost ClassMedium
Avg Tokens100
Stars1
Forks0
Last Update2025-11-19

Tags

Document ClassificationAILLMGemini VisionMCP Server