Hosthub MCP by usefulapi for LangChain
io.usefulapi/hosthub
Read rentals, channels, rates and calendar events; create, change and delete bookings in Hosthub.
client:LangChain
transport:streamable-http
tools:16
Install Hosthub MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"hosthub": {
"transport": "streamable_http",
"url": "https://hosthub.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
- hosthub_list_rentals
- hosthub_get_rental
- hosthub_list_rental_channels
- hosthub_list_rate_plans
- hosthub_get_rate_plan
- hosthub_get_rate_plan_daily_rates
- hosthub_list_users
- hosthub_get_user
- hosthub_list_team_members
- hosthub_list_calendar_events
- hosthub_get_calendar_event
- hosthub_list_calendar_event_notes
- hosthub_create_calendar_event
- hosthub_update_calendar_event
- hosthub_delete_calendar_event
- hosthub_add_calendar_event_note