Lancelot for LangChain
watch.lancelot/lancelot
AI cost and margin per customer. Find who loses you money and approve fixes from chat.
client:LangChain
transport:streamable-http
Install Lancelot in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"lancelot": {
"transport": "streamable_http",
"url": "https://app.lancelot.watch/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs