clusterport for LangChain
io.github.cloudcorprecords/clusterport
Core kubectl operations: get, describe, logs, apply, scale, patch, rollout and explain.
client:LangChain
transport:stdio
runtime:npm
Install clusterport in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"clusterport": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@reneturcios/clusterport"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs