Chaport MCP by usefulapi for LangChain
io.usefulapi/chaport
Read Chaport visitors, chats, operators and webhooks; update visitors and chats; message visitors.
client:LangChain
transport:streamable-http
tools:14
Install Chaport MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"chaport": {
"transport": "streamable_http",
"url": "https://chaport.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
- chaport_whoami
- chaport_list_operators
- chaport_get_operator
- chaport_set_operator_status
- chaport_list_visitors
- chaport_get_visitor
- chaport_update_visitor
- chaport_get_last_visitor_chat
- chaport_get_chat
- chaport_list_chat_events
- chaport_get_chat_event
- chaport_update_last_visitor_chat
- chaport_send_operator_message
- chaport_list_webhooks