Loading languages...
NX

nx-mcp

@Nx

Monorepos는 **AI 기반 개발을 위한 이상적인 기반을 제공**하여 프로젝트 간 추론 및 코드 생성을 가능하게 합니다. 그러나 적절한 컨텍스트가 없으면 **LLM은 전체적인 그림이 아닌 개별 파일만 보게 되어 워크스페이스 아키텍처를 이해하는 데 어려움을 겪습니다.** Nx는 풍부한 워크스페이스 메타데이터를 제공하여 AI 어시스턴트를 다음과 같이 변화시킵니다. 목표는 AI 어시스턴트를 단순한 코드 도우미에서 사용자의 특정 워크스페이스 구조를 이해하고 지능적이며 컨텍스트를 인식하는 결정을 내릴 수 있는 아키텍처 기반의 협업자로 변화시키는 것입니다.

monorepo
workspace
llm
ai
developer-tools

Nx MCP Server

The Nx MCP (Model Context Protocol) Server enhances Large Language Models (LLMs) by providing them with rich, context-aware metadata about your Nx monorepo workspace. This transforms generic AI assistants into architecturally-aware collaborators that understand your specific project structure, dependencies, and best practices.

What it does

The Nx MCP Server acts as a "map" for your LLM, allowing it to reason beyond individual files and comprehend the high-level architecture of your monorepo. It exposes various tools to the AI assistant, such as nx_workspace, nx_project_details, nx_docs, nx_generators, and nx_visualize_graph.

How to use it

The Nx MCP server is integrated with Nx Console for supported editors like VS Code/Cursor. For other MCP-compatible clients, it can be manually configured.

Installation (Manual Configuration)

Add the following configuration to your MCP client:

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

Key Use Cases

  • Understanding Workspace Architecture: Get detailed, accurate responses about project structure and relationships.
  • Instant CI Failure Resolution: Receive notifications and AI assistance to understand and fix CI build failures.
  • Smart Code Generation: Leverage AI to invoke Nx generators, ensuring consistent code scaffolding tailored to your needs.
  • Documentation-Aware Configuration: Get accurate guidance on Nx configuration based on up-to-date documentation.
  • Cross-Project Dependency Analysis: Understand the impact of changes across your monorepo by analyzing project dependencies.

# mcpServer Config

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

# stdio

npx nx-mcp@latest
Transport:
stdio
Language:
TypeScript
Updated: 7/31/2025
Homepage:
https://nx.dev