openITCOCKPIT for LangChain
io.github.openitcockpit/mcp-server
openITCOCKPIT monitoring: host and service state, history, downtimes, acknowledgements, patches
client:LangChain
transport:stdio
runtime:oci
Install openITCOCKPIT in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcp-server": {
"transport": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "docker.io/openitcockpit/mcp-server:0.5.0"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs