Hive heating for LangChain
io.github.mattoddie/hive-mcp
Check and control Hive smart heating: thermostats, radiator valves, hot water and holiday mode
client:LangChain
transport:stdio
runtime:oci
Install Hive heating in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"hive-mcp": {
"transport": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/mattoddie/hive-mcp:0.3.2"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs