Custom MCP for leave management
概览
This AI tool helps an HR with leave management related tasks. The codebase here is for MCP server that interacts with mock leave database and responds to MCP client queries 1. Install Claude Desktop 2. Install uv by running pip3 install uv 3. Run uv init . to create a project directory 4. Run uv add "mcp[cli]" to add mcp cli in your project 5. Few folks may get type errors for which you can run pip install --upgrade typer to upgrade typer library to its latest version 6. Write code in main.py for leave management server 7. Install this server inside Claude desktop by running uv run mcp install main.py in the project directory 8. Kill any running instance of Claude from Task Manager. Restart Claude Desktop 9. In Claude desktop, now you will see tools from this server
README
Build Your First MCP Server: Leave Management
This AI tool helps an HR with leave management related tasks. The codebase here is for MCP server that interacts with mock leave database and responds to MCP client queries
Setup steps
- Install Claude Desktop
- Install uv by running
pip3 install uv - Run
uv init .to create a project directory - Run
uv add "mcp[cli]"to add mcp cli in your project - Few folks may get type errors for which you can run
pip install --upgrade typerto upgrade typer library to its latest version - Write code in main.py for leave management server
- Install this server inside Claude desktop by running
uv run mcp install main.pyin the project directory - Kill any running instance of Claude from Task Manager. Restart Claude Desktop
- In Claude desktop, now you will see tools from this server
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →