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
uv run uvicorn main:app --reloadEnvironment 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
MCP-Server
A full-stack platform for managing model context, executing system tools, performing AI-powered data analytics with SMART question generation, file management, real-time streaming, and system monitoring, accessible via a web interface.
my_mcp_employee_server
Provides a micro-tool server for managing employee records (CRUD operations) via an MCP API.
MCP_Server_Project
A foundational FastAPI server for integrating and managing Spark and PostgreSQL data operations and ETL pipelines.
mcp-server-FastMCP-FastAPI-MCP
The server demonstrates Model Context Protocol (MCP) implementations, providing tools for arithmetic calculations and searching FreeCodeCamp news and YouTube feeds via STDIO and HTTP transports.