Skip to content
LangChain

nx console for LangChain

io.github.nrwl/nx-console

A Model Context Protocol server implementation for Nx

client:LangChain transport:stdio runtime:npm

Install nx console in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "nx-console": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "nx-mcp"],
        }
})

tools = await client.get_tools()

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

nx console in other clients