nx-mcp

Nx MCP Server

Nx monorepo developers can use nx-mcp to give AI assistants access to workspace context and Nx reference material. Its tools cover documentation, plugins, project configuration, running tasks, and CI workflows, with availability depending on setup.

Server facts

nx-mcp

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
Not recordedPart of the nrwl/nx-console monorepo
Last commit
Data as of

Overview

Nx workspace structure provides the context for nx-mcp’s AI-assisted development workflows. Assistants can consult relevant documentation, discover core and local plugins, inspect project relationships and configuration, and find generators with their schemas. These details support code changes informed by the workspace’s technology choices and connections between projects. Task tools report the status of running Nx TUI processes and retrieve their terminal output. Graph visualization is also available, but requires an IDE instance to be running. Default minimal mode hides several analysis and discovery tools; disabling that mode exposes them.

For workspaces with Nx Cloud enabled, additional tools retrieve pipeline execution details and failed-task output, and let users apply or reject self-healing fixes or request another run. Recent pipeline executions also appear as MCP resources, making CI details accessible through an AI tool’s resource picker. Developers can use the package directly or let the Nx Console extension manage it in Cursor. A workspace JSON configuration file supports settings when passing command-line options is inconvenient, with command-line values taking precedence.

nx-mcp setup notes

  • nx-mcp records stdio only; confirm a network transport upstream before planning remote access.
  • nx-mcp: Part of the nrwl/nx-console monorepo

Related MCP servers