rootpilot ssh diagnose for LangChain
io.github.easton-ou/rootpilot-ssh-diagnose
Read-only SSH server diagnostics via a fixed 38-command whitelist; secrets redacted, no write path.
client:LangChain
transport:stdio
runtime:npm
Install rootpilot ssh diagnose in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"rootpilot-ssh-diagnose": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@rootpilot/mcp-ssh-diagnose"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs