休假管理系统

AI Agent MCP Server 是一个用于管理和跟踪员工休假情况的服务器系统,提供员工休假查询、申请和剩余休假天数统计功能。

  • by FaisalAhmedBijoy
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 FaisalAhmedBijoy/AI-Agent-MCP-Server

使用说明

AI代理MCP服务器

AI代理MCP服务器

运行项目

  • 初始化MCP服务器
uv init first-mcp-server
  • 去 first-mcp-server
cd first-mcp-server
  • 运行这个 LeaveManager MCP服务器
uv run mcp install main.py
  • 在Clade桌面中启用开发人员模式
  • 配置 Claude Desktop 随着 LeaveManager

在克劳德提问

Question: How many leave days are available for employee E001?
Answer: Employee E001 has 18 leave days remaining.
Question: For the same person i wanted to know about which date he was took leave?
Answer: 
Employee E001 took leave on the following dates:
December 25, 2024
January 1, 2025
Question: I want to apply for 21 February 2026 for employee E002 holiday?
Answer: Leave has been successfully applied for employee E002 on February 21, 2026. They now have 19 leave days remaining.
Question: What are the remaing leave of all empoyee?
Question: 
Based on the available employee records, here are the remaining leave days:

Employee E001: 18 leave days remaining
Employee E002: 19 leave days remaining

These are the employees currently in the system. If there are other employee IDs you'd like me to check, please let me know!

示例输入输出