caishi for LangChain
io.github.zhongquinnking/caishi
Read Bilibili, Douyin, Xiaohongshu and any web page via your own logged-in Chrome.
client:LangChain
transport:stdio
runtime:npm
Install caishi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"caishi": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "caishi-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs