Nx Console MCP
Lets your AI agent understand your Nx monorepo, its projects and generators, and read current Nx docs.
1.4k stars on GitHubby Nrwl (Nx)License MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add nx-console -- npx -y nx-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Which projects in my workspace depend on the shared-ui library?
Which generator should I use to add a new library here?
What it is
Nx Console is an editor extension for Nx and Lerna workspaces. It includes an MCP server that gives AI chats context about your workspace architecture and generators, and feeds in up-to-date Nx documentation. The MCP server can also be installed alone with the nx-mcp npm package.
What it can do
- Workspace architecture context for the AI
- Information about available generators
- Up-to-date Nx documentation
- Project and task overview
- Project and task graph information
When to use
- βΊWhen you work in an Nx monorepo and want your AI chat to know the projects and how they depend on each other.
- βΊWhen you want your agent to use the right Nx generator.
- βΊWhen you want the AI to answer from current Nx docs.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
docs-architectCreates detailed technical documentation from code. Helps understand the structure and workings of complex projects.docs-generatorHelps your agent create detailed technical documentation. It's useful for formal reports, user guides, and project documentation. It makes complex information easier to understand.readme-blueprint-generatorAutomatically generates a complete README.md file for your project. It analyzes your code's structure and information to create clear documentation.Frequently asked questions
Is it free and open source?
It is open source; the repository links to an open license file.
Where do I get it?
From the Visual Studio Marketplace, OpenVSX or the JetBrains Marketplace, or as the nx-mcp npm package.
Which editors use the MCP server?
The readme names VS Code and Cursor.
Which Nx versions work?
Nx 15 and newer are supported; older versions are not guaranteed.
Do I need Nx already?
Yes, you need to be in an Nx or Lerna workspace.
Does it do more than MCP?
Yes. It also has a project details view, a Generate UI, Nx Cloud integration and graph views.
If it does not work
- βΊMake sure you open an Nx or Lerna workspace and have Node.js installed.
- βΊIf your Nx version is older than 15, update it.
- βΊOn JetBrains with WSL, set the Node interpreter to the Node executable inside the WSL distribution.
5 new skills a week. 1 minute to read.