CLIAnywhere for LangChain
io.github.clianywhere/clianywhere-mcp
Run shell commands on your CLIAnywhere PCs from any MCP client, end-to-end encrypted.
client:LangChain
transport:stdio
runtime:npm
Install CLIAnywhere in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"clianywhere-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "clianywhere-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs