This project implements a robust HR Leave Management System and Client Meeting Scheduler using FastMCP, the Python framework for building context-aware LLM-powered applications. It includes dynamic tools, prompt handling, and resources for interacting with a mock employee database.
submit_leave_request: Submit a new leave requestapprove_leave_request: Manager approval workflowget_leave_balance: View remaining leave dayslist_leave_requests: See pending/approved requestscancel_leave_request: Withdraw pending requests
schedule_client_meeting: Book client meetingsget_available_slots: Check open time slotslist_upcoming_meetings: View scheduled meetingscancel_meeting: Cancel or reschedulesend_meeting_invite: Email invitation handler
get_employee_info: Lookup employee datagenerate_report: Get summary of leave & meetings
-
Clone the Repository
git clone https://github.com/your-username/hr-meeting-mcp.git cd hr-meeting-mcp -
Set Up a Virtual Environment (Optional but Recommended)
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install Dependencies
pip install -r requirements.txt
-
Run the Server
python main.py
This will start the MCP server and register all tools and resources.
You can test tool functionality using the MCP-compatible client or build a FastAPI/CLI layer to call tools interactively.
Below is the requirements.txt:
fastapi
uvicorn
mcp
You can install them via:
pip install -r requirements.txtMIT License – Use freely with attribution.
Feel free to open an issue or pull request. For feature requests or integration help, reach out to pratikguharoystads@gmail.com.