Skip to content
LangChain

Incus for LangChain

io.github.androsmeda/incus-mcp

Reads an Incus server or cluster and changes it through a reviewed plan and one apply.

client:LangChain transport:stdio runtime:oci

Install Incus in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "incus-mcp": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/androsmeda/incus-mcp:v0.1.1"],
        }
})

tools = await client.get_tools()

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

Incus in other clients