Back to Home
b9122-jl6929 icon

mcp-server

by b9122-jl6929

Overview

An AI-powered digital twin server that answers questions based on a user's CV PDF content.

Installation

Run Command
fastmcp run main.py

Environment Variables

  • OPENAI_API_KEY
  • OPENAI_MODEL

Security Notes

The `chat_with_me` tool accepts an optional `cv_path` parameter, which is then used directly in `extract_text_from_pdf` to open files. This allows an attacker to specify arbitrary file paths on the server's filesystem (e.g., `/etc/passwd`, `/app/secrets.txt`), potentially leading to Local File Inclusion (LFI) or path traversal vulnerabilities. While the PDF parsing libraries will likely fail on non-PDF files, error messages could confirm file existence, leading to information disclosure. It is crucial to sanitize or restrict the `cv_path` input, or deploy in a highly sandboxed environment with strict filesystem permissions.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassHigh
Avg Tokens3500
Stars0
Forks0
Last Update2025-11-25

Tags

Digital TwinCVAIQ&APDF Processing