Back to Home
rh-ai-quickstart icon

llama-stack-mcp-server

Verified Safe

by rh-ai-quickstart

Overview

Integrates HR operations (employee, vacation, job, performance management) into a Llama Stack AI agent as a custom Model Context Protocol (MCP) tool.

Installation

Run Command
cd custom-mcp-server && python server.py

Environment Variables

  • HR_API_BASE_URL
  • HR_API_KEY
  • PORT
  • NODE_ENV
  • ALLOWED_ORIGINS
  • ENABLE_SWAGGER
  • ENABLE_RATE_LIMITING

Security Notes

The HR Enterprise API (`hr-api`) implements security headers (`helmet`), rate limiting, and input validation (`express-validator`). However, its default `ALLOWED_ORIGINS` for CORS is `*`, which is highly insecure for production use with sensitive HR data. The Custom MCP Server uses a hardcoded default `HR_API_KEY='hr-api-default-key'` if not provided via environment variables, which is also a security concern for non-demo deployments. All data within the HR API is in-memory and non-persistent, making it unsuitable for real production use of sensitive data, though acceptable for a quickstart demo. There are no signs of 'eval', obfuscation, or overtly malicious patterns.

Similar Servers

Stats

Interest Score33
Security Score6
Cost ClassMedium
Avg Tokens1000
Stars3
Forks8
Last Update2026-01-12

Tags

AILLM ToolsHR APINode.jsPythonMicroservice