Sponsor MCPSafe10 founding slots
Registry/NX MCP Server

NX MCP Server

v0.25.0
Verified

A Model Context Protocol server implementation for Nx

MIT
other
other
Scanned Oct 2, 2026
WebsiteRepositoryNPM
Automated scan (limited checks) · 2026-10-02

This grade comes from an automated MCPSafe scan of the server's JavaScript, TypeScript and Python source on 2026-10-02. It read the whole repository (683 files). It checks for leaked credentials, shell or code injection from function inputs, unsafe deserialization, malware signatures, install-time scripts, and weak password handling. It does not check for path traversal, server-side request forgery, prompt injection in tool descriptions, network exposure, SQL injection, cross-site scripting, or vulnerable dependencies. It has not been manually reviewed, and the code may have changed since the scan.

A92%
Scanned 1w ago

Very Good Security

Vulnerabilities Found
0Crit
0High
8Med
0Low
2Info

Trust Score 73

Review required
Trust grade B

Trust is stricter than security: it combines reviewed security, MCP capability risk, supply-chain metadata, quality, popularity, freshness, and penalties for unknowns.

Security
92
MCP risk
54
Supply chain
100
Maintenance
71
Docs
100
Freshness
80
Risk traits
Runs shell commands
Filesystem access
Network/API access
Remote transport
Why it scores well
  • • Healthy maintenance cadence
  • • Good documentation surface
  • • Solid supply-chain metadata
  • • Recently scanned
What reduces confidence
  • • MCP risk traits: Runs shell commands, Filesystem access, Network/API access

Security ScoreA

92
out of 100

Vulnerabilities Found

0
Crit
0
High
8
Medi
0
Low
2
Info
Last scanned: 10/2/2026

Quality ScoreC

64
out of 100
71
Maint.
0
Popular
100
Docs
72
Compat
Maintenance71%
Popularity0%
Documentation100%
Compatibility72%

Maintenance71

Unknown
Commit Frequency65%
Release Frequency70%
Issue Response80%

Popularity0

0
Stars
0
Downloads
0
Forks
Stars Score0%
Downloads Score0%
Forks Score0%

Documentation100

README Quality100%

Available Documentation

API DocsExamplesChangelog

Compatibility72

MCP Spec Compliance80%
Transport Support75%

Features

TypeScript

Supported Transports

STDIO

Vulnerabilities(0)

This grade comes from an automated scan. Individual findings from automated scans are not published.

READMENX MCP Server

View source

Nx MCP Server

npm version

A Model Context Protocol server implementation for Nx.

Overview

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. This is possible because Nx already understands the higher-level architecture of your workspace, and monorepos bring all relevant projects into one place.

Read more in our blog post and in our docs.

Installation and Usage

There are two ways to use this MCP server:

a) Run it via the nx-mcp package

Simply invoke the MCP server via npx or your package manager's equivalent.

Here's an example of a mcp.json configuration:

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

<details>

<summary>Claude Code</summary>

sh
claude mcp add nx-mcp npx nx-mcp@latest

</details>

<details>

<summary>VSCode</summary>

sh
code --add-mcp '{"name":"nx-mcp","command":"npx","args":["nx-mcp"]}'

</details>

<details>

<summary>Warp</summary>

Go to Settings -> AI -> Manage MCP Servers -> + Add to add an MCP Server.

Alternatively, use the slash command /add-mcp in the Warp Agent prompt.

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

</details>

Refer to your AI tool's documentation for how to register an MCP server. For example, Cursor or Claude Desktop support MCP.

If you want to host the server instead of communicating via stdio, you can use the --sse and --port flags. The HTTP transport supports multiple concurrent connections, allowing different clients to connect simultaneously with independent sessions.

Run nx-mcp --help to see what options are available.

b) Use the Nx Console extension

If you're using Cursor you can directly install the Nx Console extension which automatically manages the MCP server for you.

More info:

Minimal Mode (Default)

By default, the Nx MCP server runs in minimal mode, which hides workspace analysis tools that overlap with AI tool skills/instructions. This reduces tool clutter and context window usage for AI agents that already have access to equivalent functionality through skills.

The following tools are hidden in minimal mode:

  • nx_available_plugins
  • nx_workspace_path
  • nx_workspace
  • nx_project_details
  • nx_generators
  • nx_generator_schema

To disable minimal mode and expose all tools, use the --no-minimal flag:

sh
npx nx-mcp@latest --no-minimal

Available Tools

The Nx MCP server provides a comprehensive set of tools for interacting with your Nx workspace.

Always Available

  • **nx_docs**: Returns documentation sections relevant to user queries about Nx
  • **nxcurrentrunningtasksdetails**: Lists currently running Nx TUI processes and task statuses
  • **nxcurrentrunningtaskoutput**: Returns terminal output for specific running tasks
  • **nxvisualizegraph**: Visualizes the Nx graph (requires running IDE instance)

Hidden in Minimal Mode (use --no-minimal to enable)

  • **nxavailableplugins**: Lists available Nx plugins from the core team and local workspace plugins
  • **nxworkspacepath**: Returns the path to the Nx workspace root
  • **nx_workspace**: Returns readable representation of project graph and nx.json configuration
  • **nxprojectdetails**: Returns complete project configuration in JSON format for a given project
  • **nx_generators**: Returns list of generators relevant to user queries
  • **nxgeneratorschema**: Returns detailed JSON schema for a specific Nx generator

Nx Cloud Tools (only available w/ Nx Cloud enabled)

These tools provide insights and interactions with your Nx Cloud CI/CD data:

  • **ci_information**: Retrieves CI pipeline execution information for the current branch or a specific Nx Cloud URL. Returns failed tasks with runId metadata and supports a select parameter for field selection with pagination.
  • **citaskoutput**: Retrieves terminal output for a specific failed CI task, using a runId from ci_information or resolving it from the branch / URL context.
  • **updateselfhealing_fix**: Apply, reject, or request a rerun for a self-healing CI fix from Nx Cloud

When no workspace path is specified, only the nx_docs and nx_available_plugins tools will be available.

Available Resources

When connected to an Nx Cloud-enabled workspace, the Nx MCP server automatically exposes recent CI Pipeline Executions (CIPEs) as MCP resources.

Resources appear in your AI tool's resource picker, allowing the LLM to access detailed information about CI runs including failed tasks, terminal output, and affected files.

Contributing & Development

Contributions are welcome! Please see the Nx Console contribution guide for more details.

The basic steps are:

  1. Clone the Nx Console repository and follow installation steps
  2. Build the nx-mcp using nx run nx-mcp:build (or nx run nx-mcp:build:debug for debugging with source maps)
  3. Use the MCP Inspector to test out your changes

Configuration File

You can also configure the MCP server via a JSON file at .nx/nx-mcp-config.json in your workspace root. This is useful when the MCP server binary is managed by a plugin or extension where you can't pass CLI args directly.

json
{
  "tools": ["nx_docs", "!cloud_*"],
  "minimal": true,
  "debugLogs": false,
  "disableTelemetry": true,
  "transport": "sse",
  "port": 9922
}

All keys are optional and match the CLI option names. CLI arguments take precedence over config file values.

License

MIT

Embed Security Badge

Add this badge to your README or documentation

NX MCP Server MCPSafe Security
[![NX MCP Server MCPSafe Security](https://api.mcpsafe.org
/api/badge/nx-mcp-server.svg)](https://mcpsafe.org/registry/nx-mcp-server)
Need more customization options?Badge Documentation

Server Information

Source
NPM
Package
nx-mcp
Version
0.25.0
Language
other
License
MIT
Transport
STDIO
Added
Aug 11, 2026
Updated
Sep 27, 2026