io.github.nrwl/nx-mcp

Official registry AI and agents

A Model Context Protocol server implementation for Nx

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package nx-mcp
Claude Code
claude mcp add nx-mcp -- npx -y nx-mcp@0.25.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "nx-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "nx-mcp@0.25.0"
            ]
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. The UI for Monorepos, providing visual workflows and enriching your AI Chat with deep insights
  2. Why Nx Console?
  3. Installation
  4. Key Features
  5. Requirements
  6. Compatibility
  7. Contributing
  8. Learn More

The UI for Monorepos, providing visual workflows and enriching your AI Chat with deep insights

Stay focused and productive right in your editor.

Why Nx Console?

Developers use both command-line tools and user interfaces. They commit in the terminal, but resolve conflicts in Visual Studio Code or WebStorm. They use the right tool for the job.

Nx Console is that tool. It helps developers stay in the flow, provides visual workflows, and enhances your AI chats and more.

Installation

You can download Nx Console from the following places:

Key Features

AI Enhancements

Nx Console enhances your editors AI features by providing relevant context to the large language models powering VSCode and Cursor. Automatically teach AI about your workspace architecture, generators and feed it up-to-date nx docs!

Nx Console comes with an MCP server for both, VSCode and Cursor.

You can also install the MCP server separately from the Nx Console extension via the nx-mcp NPM package. More about that here. Learn more in the Nx docs.

Project Details View

Nx Console provides seamless integration with the Project Details View (PDV). You can learn more about your project, the available tasks and detailed configuration information. With the PDV in Nx Console, you can run tasks or navigate the task graph with just a few clicks!

Learn more about the Project Details view on nx.dev

Generate UI

Nx Console makes it easier to run generators through our interactive Generate UI. It automatically parses the schema for any generator and provides autocomplete, validation and dry-run previews as you type.

You can launch the Generate UI via the Nx: Generate (UI) command or through the context menu in the file explorer. Paths will be automatically prefilled! Learn more about the Generate UI on nx.dev

Nx Cloud Integration

Nx Console improves the experience of using Nx Cloud by giving you an overview of current CI Pipeline Executions and showing notifications when CI is done or an error occurs. No more refreshing GitHub forever, just keep working and Nx Console will let you know once your PR is ready!

Additionally, Nx Console helps by guiding you through the Nx Cloud onboarding process, right in your editor.

Learn more about the Nx Cloud Integration on nx.dev

Projects & Tasks Overview

Nx Console presents an overview of your workspace from an Nx perspective. You can browse projects, their targets & configurations in the Projects view. Run available targets or create shortcuts for frequent commands in the Common Nx Commands view.

Workspace Visualization

Nx Console visualizes the Nx project & task graphs right in your editor. It knows which file you're working on, so you can easily open the graph focused on that specific project. Also, with the tight integration into your editor, you can run tasks or explore the files that cause project dependencies with a single click.

Requirements

To use Nx Console, make sure you're in an Nx or Lerna workspace and have Node.js installed. If you're not using Nx yet, learn more here: Intro to Nx

You can create an Nx workspace by running the following command:

npx create-nx-workspace@latest my-workspace

To install Nx into an existing repository, simply run

npx nx init

Compatibility

The latest version of Nx Console supports all Nx versions starting at Nx 15. For older versions, we cannot guarantee compatibility or full functionality. However, we welcome contributions! If you encounter specific issues with older versions, please consider submitting a PR. Of course, if you discover any problems with newer versions of Nx, please report these issues to help us improve Nx Console.

If you're looking to upgrade your version of Nx easily, refer to the Nx migrate documentation.

Contributing

Please read the contributing guidelines. Pick one of the issues from the good first issue list to get started.

Learn More

Jetbrains WSL support

The Node interpreter under Languages & Frameworks > Node.js needs to be configured to use the Node executable within the WSL distribution. You can read more on the official Jetbrains docs page.

Frequently asked questions

What is io.github.nrwl/nx-mcp?

A Model Context Protocol server implementation for Nx

How do I install io.github.nrwl/nx-mcp?

It runs on your machine. In Claude Code: claude mcp add nx-mcp -- npx -y nx-mcp@0.25.0. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.nrwl/nx-mcp need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is io.github.nrwl/nx-mcp open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains io.github.nrwl/nx-mcp?

It is published by nrwl. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.