Skip to content
LangChain

Mokxi for LangChain

com.mokxi/mcp

Build, check and open Arduino, ESP32 and Pico circuits with code in the Mokxi simulator.

client:LangChain transport:streamable-http tools:8

Install Mokxi in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp": {
            "transport": "streamable_http",
            "url": "https://mokxi.com/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

Mokxi in other clients