Skip to content
LangChain

node runtime for LangChain

io.github.mcp-protocol/node-runtime

This package is intended for demonstration only. Maintained by JFrog Security.

client:LangChain transport:stdio runtime:npm

Install node runtime in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "node-runtime": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@mcp-protocol/node-runtime"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

node runtime in other clients