Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

nx-mcp

MCP server by nrwl Community

nx-mcp is a Model Context Protocol server for Nx. It gives AI assistants context about an Nx workspace, including its architecture, generators and up-to-date Nx docs. It is aimed at developers working in Nx monorepos.

  • Score 91
  • 1.4k stars
  • 100k a week
  • MIT
  • Updated

Install nx-mcp

Built from the published package, never by AI.

claude mcp add nx-mcp -- npx -y nx-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install nx-mcp in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the nx-mcp block.

About

nx-mcp is a Model Context Protocol server for Nx. According to the Nx Console README, it provides relevant context to the large language models used by editors such as VS Code and Cursor. It teaches the AI about a workspace's architecture and generators, and it can feed the AI up-to-date Nx documentation.

The MCP server ships with the Nx Console extension for VS Code and Cursor. It can also be installed separately from the nx-mcp npm package. The source is written for developers working in Nx or Lerna workspaces with Node.js installed, who want their AI chat to understand their projects.

Written from the project's README and checked against it.

What you need

  • Node.js
  • An Nx or Lerna workspace
  • VS Code or Cursor for the MCP server

Try asking

  • What generators are available in this Nx workspace and how do I use them?
  • Explain the architecture of this Nx workspace and how its projects depend on each other.
  • Using the current Nx docs, how should I configure the targets for this project?

Good to know

  • Compatibility is stated for Nx 15 and later. Older versions are not guaranteed.
  • The source describes MCP server support for VS Code and Cursor only.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Give AI assistants context on an Nx workspace
  • Ask about workspace generators and architecture
  • Get current Nx documentation inside AI chat

Alternatives to nx-mcp

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

nx-mcp: common questions

Does nx-mcp work with older versions of Nx?

The source says the latest Nx Console supports Nx 15 and later. For older versions, the source does not guarantee compatibility or full functionality.

Do I need the Nx Console extension to use nx-mcp?

No. The source says the MCP server can be installed separately from the Nx Console extension via the nx-mcp npm package.

Which editors does the Nx MCP server support?

The source describes the MCP server for Visual Studio Code and Cursor.

How do I install nx-mcp?

In Claude Code run claude mcp add nx-mcp -- npx -y nx-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is nx-mcp the official server?

nx-mcp is a community project by nrwl, not verified by a company domain.

Is nx-mcp free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is nx-mcp safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to nx-mcp?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does nx-mcp work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

nx-mcp Install

Add to stack

Loading.