Skip to content
LangChain

DDC/CI Control Bridge for LangChain

io.github.defozo/ddc-ci-control-bridge

Control monitor brightness, contrast, power and input via DDC/CI with MCP and MQTT support.

client:LangChain transport:stdio runtime:npm

Install DDC/CI Control Bridge in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "ddc-ci-control-bridge": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "ddc-ci-control-bridge"],
        }
})

tools = await client.get_tools()

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

DDC/CI Control Bridge in other clients