Skip to content
LangChain

PLC Cloud Sim — LAD/SCL simulation over MCP for LangChain

io.github.tia-forge/plc-cloud-sim

Cloud PLC simulator: validate and step-run LAD/SCL programs, run scenarios, return PASS/FAIL.

client:LangChain transport:streamable-http

Install PLC Cloud Sim — LAD/SCL simulation over MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "plc-cloud-sim": {
            "transport": "streamable_http",
            "url": "https://tia.hubwiz.com/sim/mcp",
        }
})

tools = await client.get_tools()

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

PLC Cloud Sim — LAD/SCL simulation over MCP in other clients