Flex HR MCP by usefulapi for LangChain
io.usefulapi/flex-hr
Read employees, departments, work schedules, clock events, time off and holidays in Flex HR.
client:LangChain
transport:streamable-http
tools:16
Install Flex HR MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"flex-hr": {
"transport": "streamable_http",
"url": "https://flex-hr.usefulapi.io/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- flexhr_list_departments
- flexhr_list_department_heads
- flexhr_list_job_items
- flexhr_list_cost_centers
- flexhr_list_custom_properties
- flexhr_list_employee_numbers
- flexhr_get_employees
- flexhr_get_employee_departments
- flexhr_list_employee_changes
- flexhr_get_work_schedules
- flexhr_get_work_clock_events
- flexhr_get_work_schedules_with_clocks
- flexhr_get_time_off_uses
- flexhr_get_annual_time_off_buckets
- flexhr_get_leave_of_absence
- flexhr_list_holidays