Back to Home
SUMAIRA-SHAIKH icon

TASK-4-DONE-QUARTER4-MCP-SERVER-AND-CONTEXT7-

by SUMAIRA-SHAIKH

Overview

This server summarizes PDF documents and generates quizzes (MCQ or mixed format) from the extracted text using the Gemini LLM.

Installation

Run Command
gemini run mcp/main.py

Environment Variables

  • GEMINI_API_KEY

Security Notes

The Gemini API key is hardcoded directly into `mcp/main.py`, which is a critical security vulnerability. This exposes the API key and should be moved to environment variables and loaded securely. The code also uses `load_dotenv()` but then overrides with a hardcoded value.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassHigh
Avg Tokens5750
Stars0
Forks0
Last Update2025-11-26

Tags

PDF processingSummarizationQuiz generationStreamlitGeminiAI Agent