Skip to content
LangChain

3DOptix for LangChain

com.3doptix/optical-design

Optical design, simulation and analysis with GPU-powered ray tracing. Import from Zemax and CAD.

client:LangChain transport:streamable-http

Install 3DOptix in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "optical-design": {
            "transport": "streamable_http",
            "url": "https://mcp.3doptix.com",
        }
})

tools = await client.get_tools()

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

3DOptix in other clients