Back to Home
sendsta icon

Document-handler

Verified Safe

by sendsta

Overview

The MCP server provides document parsing, OCR, and advanced analytical tools to extract key information (requirements, deadlines, contacts, evaluation criteria) from tender documents for the tri-tender system.

Installation

Run Command
docker run -i --rm tender-docs-mcp:latest

Environment Variables

  • TENDER_UPLOAD_DIR
  • TENDER_PROCESSED_DIR
  • TENDER_CACHE_DIR

Security Notes

The server primarily relies on external libraries (pdfplumber, python-docx, pytesseract, pandoc) for core document processing, which introduces dependencies on their security. The `subprocess.run` calls to `pandoc` and `soffice` directly use `str(file_path)` which is generally safe against shell injection, but could still be vulnerable if the external tools themselves have vulnerabilities when processing malicious files. The `import_document` tool in `server.py` supports only base64 encoding, mitigating URL-based SSRF risks present in an older implementation (tender_docs_mcp.py). No direct `eval()` calls or hardcoded secrets were found. File handling uses system temporary directories and explicit Path objects which is good.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens7500
Stars0
Forks0
Last Update2025-11-29

Tags

Document ProcessingOCRTender AnalysisFastMCPInformation Extraction