nx-mcp

Level CLocal

A Model Context Protocol server implementation for Nx

Overview

nx-mcp is the official Model Context Protocol server implementation for Nx, available standalone or bundled with the Nx Console editor extension. It supplies AI chats such as VS Code Copilot and Cursor with context about your workspace architecture, generators, and up-to-date Nx docs, helping AI better understand and work with Nx monorepo projects.

⭐ 0Development ToolsRepo ↗Updated 2026-04-30

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "nx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nx-mcp@latest"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/nrwl/nx-console

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "nx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nx-mcp@latest"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers