Spoke Dispatch MCP by usefulapi for LangChain
io.usefulapi/spoke-dispatch
Read Spoke Dispatch plans, stops, routes and drivers; create and optimize plans; send routes.
client:LangChain
transport:streamable-http
tools:23
Install Spoke Dispatch MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"spoke-dispatch": {
"transport": "streamable_http",
"url": "https://spoke-dispatch.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
- spoke_list_plans
- spoke_get_plan
- spoke_list_plan_stops
- spoke_get_stop
- spoke_search_stops
- spoke_list_unassigned_stops
- spoke_get_unassigned_stop
- spoke_list_drivers
- spoke_get_driver
- spoke_list_depots
- spoke_get_depot
- spoke_list_routes
- spoke_get_route
- spoke_list_route_stops
- spoke_list_operations
- spoke_get_operation
- spoke_list_custom_stop_properties
- spoke_create_plan
- spoke_update_plan
- spoke_create_stop
- spoke_import_stops
- spoke_optimize_plan
- spoke_distribute_plan