Leave Manager Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Leave Manager Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A minimal, AI-ready Leave Management System built using FastMCP (Model Context Protocol). This project demonstrates how backend business logic can be exposed directly to AI clients (like Claude Desktop), without REST APIs or prompt hacks.
Most of us:
…but never execute.
This project started when I searched:
“fast api backend for employee management system”
and found this Medium article: 👉 Building a Leave Management System with FastAPI and FastMCP by Madhuri
Instead of just reading it, I asked:
“Why not build it myself?”
That curiosity turned into execution — and this repo is the result.
get_leave_balance(employee_id)apply_leave(employee_id, leave_dates)get_leave_history(employee_id)greeting://{name}leave-manager-mcp/ ├── main.py # MCP server (Claude-compatible) ├── requirements.txt # Dependencies └── README.md
yaml Copy code
Claude Desktop ↓ Model Context Protocol (MCP) ↓ FastMCP Server (Python) ↓ Business Logic (Leave Management)
yaml Copy code
Claude discovers tools, understands their schema, and calls them directly.
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
2️⃣ Install dependencies
bash
Copy code
pip install -r requirements.txt
3️⃣ Run MCP server (manual testing)
bash
Copy code
python main.py
⚠️ For Claude Desktop, Claude itself starts this process via MCP configuration.
🤖 Claude Desktop Configuration (Windows Example)
json
Copy code
{
"mcpServers": {
"LeaveManagerPython": {
"command": "C:\\Users\\<USERNAME>\\path\\to\\.venv\\Scripts\\python.exe",
"args": [
"C:\\Users\\<USERNAME>\\path\\to\\main.py"
],
"cwd": "C:\\Users\\<USERNAME>\\path\\to\\leave-manager-mcp"
}
}
}
🔁 Restart Claude Desktop after updating the config.
🧪 Example Prompts (Claude)
rust
Copy code
Check leave balance for employee E001
Apply leave for employee E002 on 2025-04-17 and 2025-04-18
Show leave history of E001
Use greeting://Akash
Claude will automatically call the correct MCP tools.
⚠️ Key Learnings
MCP requires a pure stdio process
FastAPI & MCP must be separated
Claude Desktop caches MCP configs aggressively
Execution teaches more than tutorials
🔮 Future Improvements
Add FastAPI (dual-mode: REST + MCP)
Persist data using PostgreSQL
Add authentication & roles
Build AI agents on top of MCP tools
Production deployment
📌 Final Thought
Reading tutorials gives comfort.
Watching reels gives motivation.
But execution gives clarity.
This repo exists because of curiosity — not perfection.
yaml
Copy code
---
## ✅ Why This README Works
✔ Clean headings
✔ Clear story hook
✔ Explains MCP simply
✔ Recruiter / dev friendly
✔ Medium-article ready
✔ No fluff, no noise
---
### 🚀 Next (Recommended)
Now that GitHub is ready, next we should:
1. **Write the Medium article using this repo**
2. **Add FastAPI back cleanly (dual-mode)**
3. **Create an AI agent on top of this**
Just say **which one** and we continue 🔥~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.