GyanLabs-Agentic-HRMS
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GyanLabs-Agentic-HRMSOnboard Sarah as a Marketing Manager in Toronto."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ข #GyanLabs-Agentic-HRMS: Autonomous HR Model Context Protocol (MCP) Server
Educational & Demonstration Disclaimer:
This project, including the fictitious company identity ("#Gyan Labs / HashGyan Technologies"), employee personas, email domains (@gyanlabs.ai), internal policies, and datasets, is created strictly for educational, portfolio, and research demonstration purposes. All characters, roles, and enterprise scenarios are entirely synthetic simulations designed to reflect North American tech market standards (Canada & US). Any resemblance to real persons, living or deceased, or actual corporate entities is purely coincidental.
#GyanLabs-Agentic-HRMS is an enterprise-grade Model Context Protocol (MCP) server that equips AI assistants (like Claude Desktop, Cursor, and custom agentic frameworks) with the power to autonomously orchestrate the entire employee lifecycle.
From end-to-end employee onboarding and IT asset provisioning to smart meeting coordination and leave management, this server provides 20+ production-ready tools and agentic prompts.
๐ Key Highlights & Capabilities
๐ค Agentic Multi-Step Workflows (
@mcp.prompt):onboard_new_employee: Single command to look up manager, generate corporate email, add to directory, trigger hardware requisitions, schedule 1:1 sync, and dispatch branded welcome credentials.offboard_employee: Reclaim IT assets, compute leave encashment, and schedule exit interviews.conduct_quarterly_performance_review: Traverse reporting tree and coordinate sprint review sessions.
๐๏ธ Employee Directory & Org Hierarchy:
Fuzzy name resolution, manager chain tracking, and department filtering across North American hubs (Toronto, Montreal, Vancouver, Seattle, San Francisco).
๐ด North American Leave & PTO Subsystem:
Tracks Paid Vacation (PTO), Sick & Mental Health days, Personal/Flex days with automatic accrual checks and historical audit logs.
๐ป IT Requisition & Asset Lifecycle:
Provision developer workstations (MacBook Pro 16" M3 Max, Linux Workstations, Cloud GPU Clusters), software licenses, with priority levels (
Low,Medium,High,Critical) and status transitions.
๐ Intelligent Calendar Coordination:
Prevents double-booking across organizers and attendees with automated ISO datetime conflict resolution.
๐ HR Policy Knowledge Base:
Instant retrieval of company benefits, remote work stipends, Group RRSP / 401(k) matching, probation review guidelines, and role-specific 30-day onboarding roadmaps.
โ๏ธ Branded HTML Email Dispatcher with Mock Fallback:
Dispatches beautiful, responsive HTML emails with #Gyan Labs styling. Operates seamlessly in Mock Mode when running locally without SMTP credentials so tests never fail!
Related MCP server: MCP FactorialHR
๐๏ธ System Architecture
flowchart TD
subgraph ClientLayer ["MCP Client Layer (Claude Desktop / Cursor / IDE)"]
User["HR Manager / User"]
Claude["Claude Desktop Assistant"]
PromptCatalog["Agentic Prompts (@mcp.prompt)"]
end
subgraph MCPServer ["#Gyan Labs FastMCP Server (server.py)"]
Tools["MCP Tools Catalog (20+ Tools)"]
FastMCPRuntime["FastMCP Runtime (stdio / sse)"]
end
subgraph CoreEngine ["Enterprise HRMS Subsystems (hrms/)"]
Emp["Employee Directory & Org Hierarchy"]
Leave["Leave & PTO Tracker (Vacation / Sick / Flex)"]
Ticket["IT Hardware & GPU Compute Requisitions (SLA / Priority)"]
Meet["Calendar & Meeting Conflict Resolver"]
Policy["HR Policy Knowledge Base & Checklist Generator"]
Mailer["Responsive HTML Emailer & Mock Fallback"]
end
subgraph Persistence ["Data Layer"]
Seed["#Gyan Labs Data Seeder (utils.py)"]
State["State Stores & Audit Logs"]
end
User -->|Voice / Natural Language| Claude
Claude <-->|JSON-RPC via STDIO| FastMCPRuntime
PromptCatalog -.-> FastMCPRuntime
FastMCPRuntime --> Tools
Tools --> CoreEngine
CoreEngine --> Persistence
Mailer -.->|SMTP TLS / Mock Mode| Inbox["Employee Corporate Inbox"]๐ Repository Structure
GyanLabs-Agentic-HRMS/
โโโ hrms/ # Core HRMS Subsystems & Managers
โ โโโ __init__.py # Unified package exports
โ โโโ schemas.py # Pydantic v2 data models with strict validation
โ โโโ employee_manager.py # Directory, fuzzy search & org tree
โ โโโ leave_manager.py # North American PTO & leave balance tracking
โ โโโ meeting_manager.py # Meeting scheduler & conflict detection
โ โโโ ticket_manager.py # IT asset requisitions & status lifecycle
โ โโโ policy_manager.py # HR handbook & onboarding roadmap generator
โโโ tests/
โ โโโ __init__.py
โ โโโ test_hrms_services.py # Pytest unit tests for all domain models
โโโ emails.py # Responsive HTML templates & Mock SMTP engine
โโโ utils.py # Enterprise data seeder (15 North American tech roles)
โโโ server.py # FastMCP Server entrypoint & Tool registry
โโโ setup_claude_desktop.py # 1-Click configuration for Claude Desktop
โโโ test_mcp_server.py # Standalone smoke test runner
โโโ run_server.bat # Windows batch launcher
โโโ pyproject.toml # Packaging specification (uv & pip compatible)
โโโ requirements.txt # Frozen dependencies
โโโ .env.example # Environment variables sample
โโโ POLICIES.md # Complete Employee Policy & Benefits Handbook
โโโ LICENSE # MIT License
โโโ README.md # Production GitHub documentationโก Quickstart & Installation
Option 1: Standard Python (pip / venv)
Clone the repository:
git clone https://github.com/Harish-Mathematican/GyanLabs-Agentic-HRMS.git cd GyanLabs-Agentic-HRMSCreate and activate a virtual environment:
python -m venv .venv # Windows: .venv\Scripts\activate # macOS/Linux: source .venv/bin/activateInstall dependencies:
pip install -r requirements.txt
Option 2: Using uv (Ultra-Fast)
uv pip install -r requirements.txt๐ฅ๏ธ 1-Click Setup with Claude Desktop
We provide an automated setup script that automatically registers the server in your claude_desktop_config.json:
python setup_claude_desktop.pyManual Configuration (Alternative)
Add the following to your claude_desktop_config.json:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"gyanlabs-hr-agent": {
"command": "python",
"args": [
"C:\\Users\\Administrator\\Desktop\\Project HashGyan\\GyanLabs-Agentic-HRMS\\server.py"
],
"env": {
"GYAN_EMAIL": "",
"GYAN_EMAIL_PWD": ""
}
}
}
}Note: If
GYAN_EMAILandGYAN_EMAIL_PWDare left blank, the server automatically operates in Mock Mode, simulating email delivery directly in the logs without errors.
๐งฐ Comprehensive MCP Tool Reference
Category | Tool Name | Description |
Directory |
| Provision new employee with ID and department assignment. |
| Profile lookup by ID or fuzzy name matching. | |
| Retrieve manager contact and hierarchy. | |
| Query all subordinates under a manager. | |
| Filter company roster by department. | |
Leave / PTO |
| Breakdown of Vacation PTO, Sick, and Personal/Flex days. |
| Submit multi-day time off with balance deduction. | |
| Audit log of all past leaves. | |
IT & Assets |
| Raise hardware/cloud compute tickets with SLA priorities. |
| Advance ticket ( | |
| Filter tickets by employee, status, or priority. | |
Calendar |
| Book meetings with multi-attendee conflict detection. |
| Retrieve sorted schedule for an employee. | |
| Cancel sync and clear all participant calendars. | |
Knowledge |
| Search handbook (probation, remote work, RRSP/401k, learning grants). |
| Build tailored 30-day onboarding roadmaps. | |
| Dispatch general notifications. | |
| Send rich HTML welcome cards with login details. |
๐ Company Policy Handbook
All organizational rules, leave accrual matrices, hybrid work policies, and employee benefits are documented in our complete handbook:
๐ View the Complete #Gyan Labs Employee Policy Handbook (POLICIES.md)
๐ฌ Example Agentic Prompts
Try pasting any of these natural language instructions into Claude Desktop:
1. New Hire Onboarding
Onboard a new employee named Liam Davis as a Senior ML Engineer in the AI Research team reporting to Harish Dhakal.Claude will autonomously look up Harish's ID, generate liam.davis@gyanlabs.ai, create the directory profile, generate the 30-day onboarding checklist, dispatch the welcome email, raise IT tickets for a MacBook Pro 16" M3 Max + GPU cluster, and book the intro 1:1 meeting.
2. Employee Offboarding
Execute offboarding for employee E005 (Olivier Roy) due to career transition.3. Leave & IT Asset Inquiry
What is Liam Tremblay's current leave balance, and does he have any open IT equipment requests?๐งช Testing & Verification
Run the automated smoke test:
python test_mcp_server.pyRun the unit test suite:
pytest tests/ -vโ๏ธ Legal & Educational Disclaimer
This software and its associated datasets, documentation, and simulated company structures ("#Gyan Labs / HashGyan Technologies") are developed strictly for educational, instructional, research, and non-commercial portfolio demonstrations.
Fictional Entity: "#Gyan Labs" is a fictional entity created solely to demonstrate Model Context Protocol (MCP) tool design and agentic workflows.
Synthetic Data: All employee records, names, email addresses (
@gyanlabs.ai), dates, and policies are generated synthetically. Any resemblance to real persons, living or deceased, or actual organizations is purely coincidental.No Warranty: This software is provided under the open-source MIT License "as is", without warranty of any kind. Users are responsible for ensuring compliance with applicable data privacy, email dispatching, and security policies in their respective jurisdictions.
๐ License
This project is open-source under the MIT License.
Developed by Harish Dhakal (#Gyan Labs AI Systems Demo).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP-powered HR management system that automates employee onboarding, leave tracking, meeting scheduling, and IT ticketing. It allows users to manage organizational workflows and administrative tasks through natural language interactions with Claude.2
- Alicense-qualityFmaintenanceA comprehensive MCP server that provides AI assistants with full access to FactorialHR to manage employees, teams, time off, projects, training, recruiting, and more, all with built-in safety guardrails.413MIT
- Alicense-qualityDmaintenanceMCP-based HR automation tool that streamlines employee onboarding, leave management, and equipment requests via natural language conversations.1MIT
- FlicenseCqualityDmaintenanceMCP server for HR automation that enables employee onboarding workflows through Claude Desktop.12
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An AI concierge that turns static forms into adaptive AI conversations. From any MCP client.
GibsonAI MCP server: manage your databases with natural language
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Harish-Mathematican/GyanLabs-Agentic-HRMS'
If you have feedback or need assistance with the MCP directory API, please join our Discord server