Skip to content
LangChain

PLCs.ai for LangChain

ai.plcs/plcs-ai

Query Allen-Bradley and Siemens PLC projects, live tag values, and analyses in plain English.

client:LangChain transport:streamable-http

Install PLCs.ai in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "plcs-ai": {
            "transport": "streamable_http",
            "url": "https://mcp.plcs.ai/mcp",
        }
})

tools = await client.get_tools()

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

PLCs.ai in other clients