RM

rashmina34/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 29 趋势 0

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

  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
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →