Back to Home
vinaykaushik5555 icon

employee_fastapi_mcp_server

by vinaykaushik5555

Overview

A Leave Management System offering both a FastAPI REST API and a FastMCP interface for employee and admin functionalities.

Installation

Run Command
uv run uvicorn main:app --reload

Environment Variables

  • DATABASE_URL

Security Notes

CRITICAL: Passwords are stored in plain text in the SQLite database (e.g., 'admin' password, new employee passwords). Basic Authentication uses plain-text password comparison without hashing. A default admin user 'admin' with password 'admin' is created automatically, which is a major security risk if not immediately changed. The in-memory token storage for MCP is not persistent, making session management fragile.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassLow
Stars0
Forks0
Last Update2025-11-23

Tags

Leave ManagementFastAPISQLiteFastMCPBasic Auth