Skip to content
LangChain

Overleaf MCP Server and API by Cotlet for LangChain

dev.cotlet/overleaf

Overleaf collaborative latex editor MCP server: list projects, read file, edit file.

client:LangChain transport:streamable-http

Install Overleaf MCP Server and API by Cotlet in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "overleaf": {
            "transport": "streamable_http",
            "url": "https://cotlet.dev/mcp/v1/overleaf/connect",
        }
})

tools = await client.get_tools()

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

Overleaf MCP Server and API by Cotlet in other clients