Back to Home
abumuslim1 icon

med-mcp-server

by abumuslim1

Overview

Analyzing medical PDF conclusions for inconsistencies and errors using a Yandex Cloud-powered AI assistant.

Installation

Run Command
uvicorn server:app --host 0.0.0.0 --port 8000

Environment Variables

  • YANDEX_CLOUD_FOLDER_ID
  • YANDEX_CLOUD_API_KEY

Security Notes

Secrets (Yandex Cloud API Key/Folder ID) are loaded from environment variables, which is good practice. No hardcoded secrets or `eval` usage. However, the `pdf_id` argument in `analyze_pdf` and `read_pdf_text` is used directly in `PDF_ROOT / pdf_id` to construct a file path. If `pdf_id` is not properly sanitized (e.g., to prevent `../` or absolute paths) by FastMCP or the caller, this could lead to a directory traversal vulnerability, allowing access to arbitrary files outside the intended `PDF_ROOT` directory.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassHigh
Avg Tokens6500
Stars0
Forks0
Last Update2025-11-23

Tags

MedicalAIPDF AnalysisHealthcareLLM