HR Leave Management MCP Server
by enggvaij
README.md
# He leave management MCP server integrated to claude desktop
## Steps to be completed
1. Install the claude desktop and login it - click on whatever OS you using- https://claude.com/download
2. install pip install mcp help - https://pypi.org/project/mcp/
```bash
pip install mcp
```
3. We wil install uv for windows :
by running the command
```bash
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```
4. Initialize the uv project in your location - d:\code\HrLeaveMan-mcp
```bash
$c: cd d:
$d: cd code
$d:code uv init HrLeaveMan-mcp
$d:code cd HrLeaveMan-mcp
```
5. If facing any errror follow the command
```bash
pip install --upgrade typer
```
6.Write main.py python code for mcp server
7.Run the command in virtual envirment
```bash
uv run mcp install main.py
```
8. check the claud developer tab and also config file by edit config option in developer tab under file ->settings->developer
9. check the tool added to clude tool under the connector by pressing + key button on claude desktop UX.
10. Carry some prompt to test the tool
- Give EMP001 leave deatils
- Apply leave for EMP002 from date and to date
- List out the leaves
TDQS
B3.2/5.0
Scored across 6 tools
Disambiguation5/5
Each tool targets a distinct action (apply, approve, reject, list, check balance, employee details) with no overlap. An agent can easily distinguish their purposes.
Naming Consistency4/5
Most tools follow a consistent verb_noun pattern (e.g., apply_leave, approve_leave). However, 'employee_details' deviates slightly as it is a noun phrase rather than verb_noun, causing minor inconsistency.
Tool Count5/5
With 6 tools, the set is well-scoped for HR leave management. Each tool serves a necessary function, and the count is neither too few nor too many.
Completeness4/5
The core leave lifecycle is covered (apply, approve, reject, list, balance check). Missing features like cancel or update leave are minor gaps, but the surface is largely complete.