7shifts MCP by usefulapi for LangChain
io.usefulapi/7shifts
Read locations, employees, roles, shifts and time punches of a restaurant in 7shifts.
client:LangChain
transport:streamable-http
tools:15
Install 7shifts MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"7shifts": {
"transport": "streamable_http",
"url": "https://7shifts.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
- 7shifts_whoami
- 7shifts_list_companies
- 7shifts_get_company
- 7shifts_list_locations
- 7shifts_get_location
- 7shifts_list_departments
- 7shifts_list_roles
- 7shifts_list_inactive_reasons
- 7shifts_list_users
- 7shifts_get_user
- 7shifts_list_user_assignments
- 7shifts_list_shifts
- 7shifts_get_shift
- 7shifts_list_time_punches
- 7shifts_get_time_punch