使用说明
AI代理MCP服务器
AI代理MCP服务器
运行项目
- 初始化MCP服务器
uv init first-mcp-server
- 去
first-mcp-server
cd first-mcp-server
- 运行这个
LeaveManagerMCP服务器
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!