Skip to main content
Glama
hr-assist

hr-assist

HR-ASSIST 智能体 AI 系统


HR ASSIST 是一个智能体 AI 系统,旨在帮助 HR 团队自动化常规工作流。此示例展示了员工入职流程的自动化,简化了通常需要人工干预的任务。

在技术架构方面,对于 MCP 客户端,我们使用 Claude Desktop,此处的代码库代表 MCP 服务器,包含 MCP 客户端将使用的必要工具。

🗃️ 安装与配置

按以下步骤操作,不随系统:

  • 打开 claude\_desktop\_config.json 添加 to 将如下配置添加到你的 claude\_desktop\_config.json 文件:

    {
    "mcpServers": {
        "hr-assist": {
        "command": "C:\\Users\\dhaval\\.local\\bin\\uv",
        "args": [
            "--directory",
            "C::\\code\\atliq-hr-assist",
            "run",
            "server.py"
        ],
        "env": {
            "CB_EMAIL": "YOUR_EMAIL",
            "CB_EMAIL_PWD": "YOUR_APP_PASSWORD"
        }
        }
    }
    }
  • 将 YOUR\_EMAIL 替换为实际邮箱。

  • 将 YOUR\_APP\_PASSWORD 替换为你的邮箱服务商所提供的应用专用密码(例如 Gmail)。

  • 按课程视频教程,执行 uv init 和 uv add mcp[cli]。

使用

  • 点击 + 图标并选择 Add from hr-assist 项,然后提交请求。

  • 填写新员工的详细信息:

或者,你也可以自定义一条提示词,并让智能体 Agent 自动完成。

保留所有权利 ©Codebasics Inc.和LearnerX India Private Ltd.

Available Tools

12 tools
add_employeeC

Add a new employee to the HRMS system. :param emp_name: Employee name :param manager_id: Manager ID (optional) :return: Confirmation message

Inputs: email (required), emp_name (required), manager_id (required). Returns: result

apply_leaveA

Apply for leave for an employee. :param emp_id: Employee ID :param leave_dates: List of leave dates :return: Leave application status message

Inputs: emp_id (required), leave_dates (required). Returns: result

cancel_meetingC

Cancel a scheduled meeting for an employee. :param employee_id: Employee ID :param meeting_datetime: Date and time of the meeting in python datetime format :param topic: Topic of the meeting (optional) :return: Confirmation message

Inputs: topic (required), employee_id (required), meeting_datetime (required). Returns: result

create_ticketA

Create a ticket for buying required items for an employee. :param emp_id: Employee ID :param item: Item requested (Laptop, ID Card, etc.) :param reason: Reason for the request :return: Confirmation message

Inputs: item (required), emp_id (required), reason (required). Returns: result

get_employee_detailsB

Get employee details by name. :param name: Name of the employee :return: Employee ID and manager ID

Inputs: name (required). Returns: result

get_employee_leave_balanceB

Get the leave balance of an employee. :param emp_id: Employee ID :return: Leave balance message

Inputs: emp_id (required). Returns: result

get_leave_historyB

Get the leave history of an employee. :param emp_id: Employee ID :return: Leave history message

Inputs: emp_id (required). Returns: result

get_meetingsB

Get the list of meetings scheduled for an employee. :param employee_id: Employee ID :return: List of meetings

Inputs: employee_id (required). Returns: result

list_ticketsA

List tickets for an employee with optional status filter. :param employee_id: Employee ID :param status: Ticket status (optional) :return: List of tickets

Inputs: status (required), employee_id (required). Returns: result

schedule_meetingA

Schedule a meeting for an employee. :param employee_id: Employee ID :param meeting_datetime: Date and time of the meeting in python datetime format :param topic: Topic of the meeting :return: Confirmation message

Inputs: topic (required), employee_id (required), meeting_datetime (required). Returns: result

send_emailD

Inputs: body (required), subject (required), to_emails (required), html. Returns: result

update_ticket_statusB

Update the status of a ticket. :param ticket_id: Ticket ID :param status: New status of the ticket :return: Confirmation message

Inputs: status (required), ticket_id (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 12 tools

    Disambiguation4/5

    Tools have distinct purposes related to employee management, leave, tickets, and meetings. However, 'send_email' has no description, creating ambiguity about its scope and potential overlap with other communication tools.

    Naming Consistency4/5

    Most tool names follow a consistent verb-noun pattern (e.g., get_leave_history, add_employee, update_ticket_status). Minor deviations like 'send_email' and 'schedule_meeting' still fit the pattern, but the mix of 'emp_id' and 'employee_id' in parameters is slightly inconsistent.

    Tool Count5/5

    12 tools is well-scoped for an HR assistant, covering employee records, leave, tickets, and meetings without redundancy. Each tool appears to serve a distinct function.

    Completeness3/5

    Core operations for leave and tickets are present, but missing update/delete for employee records and leave, and the 'send_email' tool lacks description, suggesting an incomplete or unclear communication surface.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers