lchrk241721/my-first-mcp-server
If you are the rightful owner of my-first-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This AI tool assists HR departments with managing employee leave requests by interacting with an MCP server and a mock database.
First MCP Server -> Leave Management
This AI tool helps an HR with leave management related tasks. This code will interact with MCP server & a mock database and responds to MCP client queries.
Setup
1 Install Claude Desktop (FREE VERSION or PAID VERSION)
2 Install uv by running
pip install uv
3 Run the below command to create a project directory.
uv init my-first-mcp-server
4 Run the below command to add mcp cli in your project
uv add "mcp[cli]"
5 Few folks may get type errors for which you can run the following command to upgrade typer library.
pip install --upgrade typer
6 Write code in main.py for leave management server 7 Install this server inside Claude desktop by running the following command in the project directory
uv run mcp install main.py
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
IMPORTANT NOTE
This MCP server will run smoothly only if we are having "PAID VERSION" of Claude Desktop. In FREE VERSION, it won't work