Back to Home
abneetwats24 icon

hr-policy-mcp

by abneetwats24

Overview

Provides HR policy documents and basic math tools as authenticated Model Context Protocol (MCP) resources for consumption by AI agents.

Installation

Run Command
docker compose up --build

Environment Variables

  • MCP_HOST
  • MCP_PORT
  • MCP_PATH
  • MATH_MCP_PATH
  • HR_POLICY_MCP_PATH
  • LOG_LEVEL
  • OAUTH_ISSUER_URL
  • MCP_REQUIRED_SCOPE
  • OAUTH_CLIENT_ID
  • OAUTH_CLIENT_SECRET

Security Notes

The server uses `httpx.AsyncClient(verify=False)` when performing OAuth2 token introspection, which disables SSL/TLS certificate validation. This is a critical security vulnerability for production environments, making it susceptible to Man-in-the-Middle (MITM) attacks. Additionally, the `CORSMiddleware` is configured with `allow_origins=["*"]`, which is overly permissive and insecure for production. While basic SSRF protection is implemented for the introspection endpoint, it relies on a hardcoded whitelist of local IP ranges, which may not be comprehensive. No hardcoded secrets were found, as client credentials are expected via environment variables.

Similar Servers

Stats

Interest Score31
Security Score6
Cost ClassMedium
Avg Tokens750
Stars1
Forks0
Last Update2025-12-12

Tags

MCP ServerAI AgentsHR PoliciesMath ToolsAuthentication