Skip to content
LangChain

olcli for LangChain

io.github.aloth/olcli

Overleaf projects from an MCP client: files, compile and PDF, diff, comments and tracked changes

client:LangChain transport:stdio runtime:npm

Install olcli in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "olcli": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@aloth/olcli"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

olcli in other clients