Deputy MCP by usefulapi for LangChain
io.usefulapi/deputy
See rosters, timesheets, leave and staff in Deputy, and create shifts, leave and memos.
client:LangChain
transport:streamable-http
tools:21
Install Deputy MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"deputy": {
"transport": "streamable_http",
"url": "https://deputy.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
- deputy_whoami
- deputy_list_locations
- deputy_list_areas
- deputy_list_employees
- deputy_get_employee
- deputy_list_shifts
- deputy_get_shift
- deputy_list_timesheets
- deputy_get_timesheet
- deputy_list_leave
- deputy_get_employee_unavailability
- deputy_query_resource
- deputy_describe_resource
- deputy_create_shift
- deputy_update_shift
- deputy_publish_shifts
- deputy_create_leave_request
- deputy_add_unavailability
- deputy_create_memo
- deputy_update_timesheet
- deputy_approve_timesheet