Skip to content
appsgit

Nx MCP

Nx MCP is an MCP server that adds productivity tools to AI assistants such as Claude Desktop, Claude Code and Cursor. A Model Context Protocol server implementation for Nx. It has 1,412 GitHub stars, is released under the MIT license and runs locally with npx -y nx-mcp.

github.com/nrwl/nx-console (opens in a new tab)

Install Nx MCP

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "nx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nx-mcp"
      ]
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --transport stdio nx-mcp -- npx -y nx-mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "nx-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nx-mcp"
      ]
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "nx-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nx-mcp"
      ]
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Tools (13)

Parsed from the Tools section of the README; check the repository for the current list.

  • nx_docs

    Returns documentation sections relevant to user queries about Nx

  • nx_current_running_tasks_details

    Lists currently running Nx TUI processes and task statuses

  • nx_current_running_task_output

    Returns terminal output for specific running tasks

  • nx_visualize_graph

    Visualizes the Nx graph (requires running IDE instance)

  • nx_available_plugins

    Lists available Nx plugins from the core team and local workspace plugins

  • nx_workspace_path

    Returns the path to the Nx workspace root

  • nx_workspace

    Returns readable representation of project graph and nx.json configuration

  • nx_project_details

    Returns complete project configuration in JSON format for a given project

  • nx_generators

    Returns list of generators relevant to user queries

  • nx_generator_schema

    Returns detailed JSON schema for a specific Nx generator

  • ci_information

    Retrieves CI pipeline execution information for the current branch or a specific Nx Cloud URL.

  • ci_task_output

    Retrieves terminal output for a specific failed CI task, using a runId from ciinformation or resolving it from the…

  • update_self_healing_fix

    Apply, reject, or request a rerun for a self-healing CI fix from Nx Cloud

About Nx MCP

A Model Context Protocol server implementation for Nx. The Nx MCP server gives LLMs deep access to your monorepo’s structure: project relationships, file mappings, runnable tasks, ownership info, tech stacks, Nx generators, and even Nx documentation. With this context, LLMs can generate code tailored to your stack, understand the impact of a change, and apply modifications across connected files with precision.

FAQ

Nx MCP FAQ

Still curious? Email info@appsgit.com.

What is Nx MCP?

Nx MCP is an MCP server that adds productivity tools to AI assistants such as Claude Desktop, Claude Code and Cursor. A Model Context Protocol server implementation for Nx. It has 1,412 GitHub stars, is released under the MIT license and runs locally with npx -y nx-mcp. The source code is at github.com/nrwl/nx-console.

How do I install the Nx MCP MCP server?

Add the command npx -y nx-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Nx MCP free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Nx MCP actively maintained?

The most recent commit was on Oct 6, 2026. The latest release is intellij-v1.61.0, published Oct 5, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.