Skip to content
LangChain

optical intelligence for LangChain

br.com.lensas/optical-intelligence

Optical education, prescription transposition, horizontal decentration and approximate prism. PT/EN.

client:LangChain transport:streamable-http tools:5

Install optical intelligence in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "optical-intelligence": {
            "transport": "streamable_http",
            "url": "https://lensas.com.br/optical-api/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

optical intelligence in other clients