OpenFactory for LangChain
tech.openfactory/openfactory
Build custom Linux OS images from recipes and test them in VMs with your OpenFactory account.
client:LangChain
transport:streamable-http
Install OpenFactory in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"openfactory": {
"transport": "streamable_http",
"url": "https://console.openfactory.tech/api/mcp-stream/plugin/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs