loading…
Search for a command to run...
loading…
Provides tools for managing human resources tasks such as applying for leave, checking leave balances, and viewing holiday schedules. It enables natural languag
Provides tools for managing human resources tasks such as applying for leave, checking leave balances, and viewing holiday schedules. It enables natural language interaction for employee information and leave history tracking via the Model Context Protocol.
Real MCP Protocol + Groq LLM + FastAPI + Streamlit A real MCP (Model Context Protocol) based HR chatbot using Groq LLM + FastAPI + Streamlit.
User → Streamlit → FastAPI → Groq LLM → MCP Client → MCP Server → Tools
mcp_chatbot/
├── .env
├── requirements.txt
├── mcp_server/server.py ← MCP Tools
├── backend/agent.py ← MCP Client + Groq
├── backend/app.py ← FastAPI
├── frontend/app.py ← Streamlit UI
└── utils/config.py
pip install -r requirements.txt
.envGROQ_API_KEY=your_groq_api_key_here
GROQ_MODEL=llama-3.3-70b-versatile
FASTAPI_HOST=127.0.0.1
FASTAPI_PORT=8000
python backend/app.py
streamlit run frontend/app.py
| Tool | Description |
|---|---|
apply_leave |
Apply leave request |
check_leave_balance |
Check remaining leaves |
get_leave_history |
Past leave records |
cancel_leave |
Cancel last leave |
get_holidays |
Upcoming holidays |
get_employee_info |
Employee details |
Step 4 — Initialize and push bashgit init git add . git commit -m "Initial commit - AI HR MCP Chatbot" git branch -M main git remote add origin https://github.com/anjalimahapatra2004/mcp_tool.git git push -u origin main
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"ai-hr-leave-management-mcp-server": {
"command": "npx",
"args": []
}
}
}