HR-assist MCP server
Click on "Deploy 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., "@HR-assist MCP server Onboard John Doe as software engineer starting Monday"
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.
AI-powered HR automation using the Model Context Protocol (MCP) and Claude Desktop.
HR-Assist is an Agentic AI application that enables Claude Desktop to autonomously perform HR operations through MCP tool calling. The system demonstrates multi-step workflow orchestration by automating employee onboarding, leave management, meeting scheduling, ticket creation, and email notifications using natural language commands.
π Key Highlights
π€ Agentic AI workflow powered by MCP
π οΈ Modular MCP tool ecosystem for Claude Desktop
π Multi-step autonomous task orchestration
π§ Automated email notifications
π« IT/Admin ticket automation
π Meeting scheduling
π΄ Leave management
π§© Modular service-oriented architecture
Portfolio Project: This repository was built to demonstrate practical Agentic AI development, MCP server implementation, workflow automation, and tool-calling capabilities for GenAI and AI/ML Engineering roles.
Related MCP server: hr-assist
π Table of Contents
ποΈ System Architecture
flowchart LR
U[User] --> C[Claude Desktop]
C --> M[MCP Server]
M --> E[Employee Manager]
M --> L[Leave Manager]
M --> T[Ticket Manager]
M --> ME[Meeting Manager]
M --> EM[Email Service]
E --> D[(In-Memory Data)]
L --> D
T --> D
ME --> D
EM --> SMTP[SMTP Email Server]Architecture Overview
The project follows a modular service-oriented architecture where Claude Desktop communicates with the MCP server through the Model Context Protocol (MCP). The server exposes multiple HR tools that operate on independent service modules responsible for employee management, leave tracking, meetings, ticketing, and email notifications.
For simplicity and portability, the application uses in-memory data storage seeded with sample employee records at startup. This allows the entire onboarding workflow to be demonstrated without requiring external databases or infrastructure.
π€ Agent Workflow
The onboarding process is executed as a multi-step AI workflow, where Claude Desktop interprets the user's request, selects the appropriate MCP tools, and coordinates them to complete the entire onboarding process autonomously.
flowchart TD
A[Natural Language Request]
--> B[Claude Desktop]
B --> C[MCP Server]
C --> D{Task Planning}
D --> E[Add Employee]
E --> F[Generate Employee Credentials]
F --> G[Send Welcome Email]
G --> H[Notify Manager]
H --> I[Create IT & Admin Tickets]
I --> J[Schedule Introductory Meeting]
J --> K[Return Final Summary]Workflow Explanation
Unlike traditional automation scripts that execute predefined functions, the AI agent dynamically determines which MCP tools to invoke based on the user's natural language request.
For a single onboarding request, the agent autonomously:
Understands the user's intent.
Plans the sequence of required actions.
Invokes the appropriate MCP tools.
Passes relevant context between tool calls.
Executes the onboarding workflow.
Returns a consolidated summary after all tasks are completed.
This demonstrates tool calling, workflow orchestration, context propagation, and Agentic AI reasoning using the Model Context Protocol (MCP).
β¨ Features
π€ AI-Powered Employee Onboarding
Automate the complete onboarding process using a single natural language request.
Add new employees to the HRMS
Generate employee credentials
Send personalized welcome emails
Notify the reporting manager
Create onboarding tickets (Laptop, ID Card, etc.)
Schedule introductory meetings
π§βπΌ Employee Management
Manage employee information through MCP tools.
Retrieve employee details
View employee profiles
Access manager and contact information
π΄ Leave Management
Simplify leave tracking and requests.
Check available leave balance
View leave history
Apply for leave
π Meeting Management
Coordinate employee meetings directly from Claude Desktop.
Schedule meetings
View upcoming meetings
Cancel existing meetings
π« Ticket Management
Automate IT and administrative requests.
Create onboarding tickets
Track existing tickets
Update ticket status
π§ Email Automation
Keep employees and managers informed automatically.
Welcome emails
Manager notifications
General email communication
β‘ Natural Language Interface
Interact with the HR system using plain English instead of manually invoking individual tools.
Example:
"Onboard Karan Mehta under Vikram Singh."
"Schedule a meeting for Rahul Sharma."
"How many leaves does Priya Verma have remaining?"π§ AI Concepts Demonstrated
This project showcases several core concepts used in modern Generative AI and Agentic AI applications.
Concept | Implementation |
Model Context Protocol (MCP) | Exposes HR operations as MCP tools that Claude Desktop can discover and invoke. |
Agentic AI | Executes complete HR workflows from a single natural language request. |
Tool Calling | Enables the LLM to invoke structured backend tools instead of generating text alone. |
Workflow Orchestration | Coordinates multiple dependent tasks such as employee creation, email notifications, ticket generation, and meeting scheduling. |
Context Propagation | Passes employee information between successive tool calls during workflow execution. |
Natural Language Interface | Allows users to interact with the HR system using conversational prompts instead of traditional UI forms. |
Function-Based Tool Design | Each HR operation is exposed as an independent, reusable MCP tool. |
Service-Oriented Architecture | Business logic is separated into modular services for maintainability and scalability. |
Prompt-Driven Automation | Complex workflows are initiated through a single user prompt interpreted by Claude Desktop. |
Email Automation | Integrates automated notifications into the onboarding workflow. |
Why MCP?
Instead of building custom APIs or tightly coupling the AI model with backend services, this project leverages the Model Context Protocol (MCP) to expose HR functionality as standardized tools.
This enables Claude Desktop to:
Discover available tools automatically
Invoke tools securely through a standardized interface
Chain multiple tool calls into autonomous workflows
Extend the system with new capabilities without modifying the AI client
This design demonstrates how MCP simplifies the development of modular, extensible, and interoperable AI applications.
π οΈ Available MCP Tools
The MCP server exposes a collection of specialized tools that Claude Desktop can invoke to perform HR operations. Each tool is designed to handle a single responsibility, making the system modular, reusable, and easy to extend.
Category | Tool | Description |
π€ Employee Management |
| Retrieve an employee's ID, email, manager, and profile information. |
π€ Employee Management |
| Register a new employee in the HRMS. |
π΄ Leave Management |
| Check an employee's remaining leave balance. |
π΄ Leave Management |
| View an employee's historical leave records. |
π΄ Leave Management |
| Submit a leave request for specified dates. |
π Meeting Management |
| Schedule a meeting between employees. |
π Meeting Management |
| Cancel an existing meeting. |
π Meeting Management |
| Retrieve all scheduled meetings for an employee. |
π« Ticket Management |
| Raise IT or administrative requests such as laptops or ID cards. |
π« Ticket Management |
| Retrieve all tickets associated with an employee. |
π« Ticket Management |
| Update the status of an existing ticket. |
π§ Communication |
| Send automated email notifications. |
Example Tool Chain
A single onboarding request triggers multiple MCP tools behind the scenes.
User Prompt
β
βΌ
add_employee
β
βΌ
send_email
β
βΌ
create_ticket
β
βΌ
create_ticket
β
βΌ
schedule_meeting
β
βΌ
Return Final SummaryThis demonstrates how Claude Desktop can orchestrate multiple independent MCP tools to complete a complex HR workflow from a single natural language request.
π οΈ Tech Stack
Category | Technologies |
Programming Language | Python 3.11+ |
AI Framework | Model Context Protocol (MCP) |
AI Client | Claude Desktop |
Package Manager | uv |
Communication | SMTP (Email Notifications) |
Data Storage | In-Memory Data Structures |
Configuration | JSON |
Architecture | Modular Service-Oriented Design |
βοΈ Installation
Prerequisites
Before getting started, ensure you have the following installed:
Python 3.11+
uv package manager
Claude Desktop
A valid email account with an App Password (required for sending automated emails)
1. Clone the Repository
git clone <repository-url>
cd hr-assist2. Install Dependencies
Initialize the project:
uv initInstall the required MCP packages:
uv add "mcp[cli]"3. Configure Claude Desktop
Locate your claude_desktop_config.json file and add the following MCP server configuration:
{
"mcpServers": {
"hr-assist": {
"command": "<YOUR_UV_EXECUTABLE_PATH>",
"args": [
"--directory",
"<YOUR_PROJECT_DIRECTORY_PATH>",
"run",
"server.py"
],
"env": {
"EMAIL": "<YOUR_HOST_EMAIL>",
"EMAIL_PASS": "<YOUR_APP_PASSWORD>"
}
}
}
}Configuration Variables
Variable | Description |
| Absolute path to the |
| Absolute path to this project |
| Email address used to send automated notifications |
| App Password for your email account (recommended instead of your account password) |
4. Restart Claude Desktop
After saving the configuration:
Close Claude Desktop.
Reopen Claude Desktop.
Verify that the HR-Assist MCP Server appears in the available connectors.
π‘ Note: Claude Desktop may continue running in the background even after closing the application. If your MCP server doesn't appear after updating the configuration, open Task Manager, end all Claude processes, and then launch Claude Desktop again. This ensures Claude reloads the updated MCP configuration.
π Usage
Once the MCP server is configured and Claude Desktop is running, you can interact with the HR system using natural language.
Example Prompts
Onboard a New Employee
Add Karan Mehta who will report to Vikram Singh.Check Leave Balance
How many leaves does Rahul Sharma have remaining?Apply for Leave
Apply leave for Priya Verma from August 5 to August 7.Schedule a Meeting
Schedule a one-on-one meeting between Rahul Sharma and Vikram Singh tomorrow at 10 AM.Create an IT Ticket
Create a laptop replacement ticket for Karan Mehta.The AI agent automatically selects the appropriate MCP tools and executes the requested workflow without requiring users to manually invoke individual tools.
π¨βπ» About Me
Hi, I'm Keshav Sharma π
I'm an aspiring Generative AI & AI/ML Engineer passionate about building intelligent systems using LLMs, Agentic AI, Model Context Protocol (MCP), Machine Learning, and Deep Learning.
I enjoy transforming AI concepts into practical applications by developing projects focused on workflow automation, intelligent agents, computer vision, and natural language processing.
This repository is part of my portfolio, showcasing my approach to designing modular, production-inspired AI systems that combine software engineering best practices with modern AI technologies.
π Connect With Me
π» GitHub: https://github.com/yash-s27
π§ Email: yash27sharma10@gmail.com
If you have feedback, collaboration ideas, or opportunities related to AI/ML or Generative AI, I'd love to connect!
π License
This project is licensed under the MIT License. See the LICENSE file for details.
Available Tools
12 toolsadd_employeeC
Add new employee to the hrms system
:param emp_name :takes new employee name
:param manager_id :takes the manager id
returns: Confirmation messageInputs: email (required), emp_name (required), manager_id (required). Returns: result
apply_leavesB
Apply for leaves for the employee
:param emp_id: ID of an employee
:leave_dates : List of leave Dates
:returns : Leave application status messageInputs: emp_id (required), leave_dates (required). Returns: result
cancel_meetingsC
Cnacel a scheduled meeting of an employee
:param emp_id: ID of an employee
:meeting_date : Dateand time of the meeting in python datetime format
:topic : Topic of the meeting(optional)
returns :Confirmation MessageInputs: topic (required), emp_id (required), meeting_date (required). Returns: result
create_ticketC
Create ticket for buying items for the employee
:param emp_name: Nane of the employee
:param item: Item Requested(example: Laptop or ID)
:param reason: reason for the request
returns : Confiramtion of Ticket GenratedInputs: item (required), emp_id (required), reason (required).
get_employee_detailsB
Get the employee details by name
:param name: Name of the employee
returns employee ID or Manager IDInputs: name (required). Returns: result
get_employee_leavesC
Get the leave balance of an Employee
:param emp_id: Id of an employee
:retuns : Remaning or the total number of leaves employee have or left
Inputs: emp_id (required). Returns: result
get_leave_historyC
Get the history of leaves of an Employee
:param emp_id: Id of an Employee
:returns : Leaves history messsageInputs: emp_id (required). Returns: result
get_meetingsA
Get the list of meetings scheduled for employee
:param emp_id: ID of the employee
:returns: List of the MeetingsInputs: emp_id (required). Returns: result
list_ticketC
Get the list of the tickets
:param emp_id: Id of employee
:param status: status of the ticket(optional)
:returns : list of the ticketsInputs: emp_id (required), status (required).
schedule_meetingC
Schedule a meeting for an employee,
:param emp_id: ID of the employee
:param meeting_datetime : Date and time of the meeting in python datetime format
:param topic: Topic of the meeting
:returns : Confirmation Message
Inputs: topic (required), emp_id (required), meeting_datetime (required). Returns: result
send_emailD
Inputs: body (required), subject (required), to_email (required), html.
update_ticket_statusC
Update the status of the ticket
:param emp_id: Id od the employee
:status : Status od the ticket
returns : Confirmation message Inputs: status (required), ticket_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 12 tools
Tools cover distinct HR areas (employee info, tickets, meetings, leaves), with clear purposes. The only ambiguity is 'send_email', which lacks description and could overlap with notifications, but overall tools are distinct.
All tool names follow a consistent verb_noun pattern (e.g., add_employee, get_meetings, create_ticket). Minor singular/plural variations (e.g., get_meetings vs schedule_meeting) do not detract from overall coherence.
With 12 tools covering employee management, ticketing, meetings, and leave handling, the count is well-scoped for an HR assistant. No redundant or excessive tools.
The tool surface covers key workflows but has notable gaps: no employee update/delete, no ticket deletion, no meeting update, and no leave cancellation. These missing operations could cause agent failures in some scenarios.
Related MCP Connectors
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
Build and manage AI-native customer support agents from Claude or any MCP client.
An MCP gateway for teams deploying AI tools at scale to employee-facing and headless agents.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Related MCP Servers
- AlicenseCqualityDmaintenanceAutomates HR workflows such as employee onboarding, leave management, and ticket tracking through natural language prompts in Claude Desktop.12MIT
- FlicenseNot gradedqualityDmaintenanceEnables HR teams to automate employee onboarding workflows through an Agentic AI system integrated with Claude Desktop.1-
- FlicenseCqualityDmaintenanceAgentic HR assistant providing employee, leave, meeting, ticket, and email tools over the Model Context Protocol, designed to automate onboarding workflows via an MCP client such as Claude Desktop.14-
- FlicenseBqualityCmaintenanceEnables Claude Desktop to autonomously handle HR workflows through natural language, including employee onboarding, leave management, meeting scheduling, and IT/admin ticketing.8-