Skip to content
LangChain

CMDOP Machine Care for LangChain

io.github.commandoperator/cmdop-care

Read-only health and storage diagnostics for an enrolled CMDOP machine fleet.

client:LangChain transport:stdio runtime:oci

Install CMDOP Machine Care in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "cmdop-care": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/commandoperator/cmdop-care:v0.1.2"],
        }
})

tools = await client.get_tools()

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

CMDOP Machine Care in other clients