Nx

Nx

An MCP server that exposes Nx workspace context to AI in editors (VSCode/Cursor).

1,384
Stars
233
Forks
20
Releases

Overview

Nx Console includes an MCP (Model Context Protocol) server that provides AI with rich context about your Nx workspace directly inside popular editors like VSCode and Cursor. It enables AI to understand your project graph, architectures, generator schemas and current configurations by feeding up-to-date Nx docs and workspace specifics into the language models powering your editor AI. The MCP server is shipped with Nx Console and can also be installed standalone via the nx-mcp npm package, allowing teams to integrate the MCP capabilities into other editors or environments. It provides a foundation for features like the Project Details View, Generate UI, and Nx Cloud integration, giving AI access to projects, targets, tasks, and configuration details. By offering real-time workspace insights, the MCP server helps AI suggest precise code changes, automate recommendations, and navigate complex monorepo relationships. The server supports both VSCode and Cursor editors, enabling a consistent AI-assisted workflow across development environments. Learn more in the Nx docs or the nx-mcp README.

Details

Owner
nrwl
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

AI Enhancements

Provides contextual data to editor-based AI models, helping them understand workspace architecture, generators, and up-to-date Nx documentation.

Multi-editor MCP Server Support

Ships with an MCP server for both VSCode and Cursor, enabling AI context delivery across editors.

Standalone MCP Server

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

Project Details View Integration

Integrates with the Project Details View to reveal project information, available tasks and configurations, and quick task execution.

Generate UI Integration

Parses generator schemas to provide autocomplete, validation and dry-run previews for generators in the Generate UI.

Nx Cloud Integration

Offers an overview of CI pipeline executions and notifies when CI completes or errors, aiding AI-assisted workflows.

Projects & Tasks Overview

Presents a workspace overview: browse projects, targets, configurations and run targets with ease.

Workspace Visualization

Visualizes Nx project and task graphs in-editor, focusing the graph on the current file to aid navigation.

Audience

DevelopersProvide AI with Nx workspace context to improve code suggestions.
EditorsEnhance editor AI by exposing workspace architecture and task graphs for guidance.

Tags

NxNx ConsoleMCPAIVSCodeCursorProject Details ViewGenerate UINx CloudWorkspace Visualization