About Nx MCP Server
The Nx MCP Server is an open-source utility server that integrates with Nx workspaces through the Model Context Protocol (MCP). This integration provides Large Language Models (LLMs) with deep insights into a monorepo's structure, including project relationships, file mappings, runnable tasks, ownership information, technology stacks, Nx generators, and documentation. With this context, LLMs can generate code tailored to the specific stack, understand the impact of changes, and apply modifications across connected files with precision.
Key Features:
- Workspace Analysis: Provides an annotated representation of the local Nx configuration and project graph.
- Project Details Retrieval: Offers full project configuration for specific Nx projects.
- Documentation Access: Retrieves relevant sections of Nx documentation based on user queries.
- Generator Management: Lists available generators in the workspace and provides detailed schema information for specific generators.
- Plugin Discovery: Returns a list of available Nx plugins from the npm registry with their descriptions.
Designed for both self-hosted and cloud-deployed operations, the server can be run directly via the nx-mcp package or through the Nx Console extension. It is actively maintained as an open-source project.