MCP server

Nx MCP Server

Your Nx workspace graph, projects, generators and docs as context for the agent. Official: built and maintained by Nx. It runs locally on your machine over stdio. Setup below for 12 clients (checked 2026-10-25). Repo and registry data checked 2026-10-24.
Maintainer
Official · Nx
Runs
Local (stdio)
GitHub
★ 1,413 (whole repo, which holds more servers), last push 2026-10-23 (checked 2026-10-24)
License
MIT
Registry
io.github.nrwl/nx-mcp
Connects to
Nx

Install the Nx MCP Server

Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.

Run in a terminal. Everything after -- is the command that starts the server. docs

claude mcp add --transport stdio nx -- npx -y nx-mcp

Security notes

  • The local server runs with your user's permissions (npx downloads it from npm on first run).
  • It can change code and repositories. Review what it writes before you push.
  • GitHubofficial · ★ 34k

    Repos, issues, pull requests, Actions, code scanning and Copilot coding agent, hosted or local.

  • Keployofficial · ★ 19k

    Generate and run API tests from OpenAPI specs, curl commands, Postman collections or real traffic.

  • Mobilerunofficial · ★ 9.8k

    Control real Android and iOS devices with an agent: tap, swipe, type and automate flows.

  • Azure DevOpsofficial · ★ 2.1k

    Work items, repos, pull requests, pipelines and wikis in Azure DevOps.

  • MATLABofficial · ★ 1.7k

    Run MATLAB code, tests and code analysis from a coding agent.

  • Docker MCP Gatewayofficial · ★ 1.6k

    Run MCP servers in isolated containers behind one gateway, from the Docker MCP Catalog.

  • Salesforce DXofficial · ★ 486

    Query Salesforce orgs, deploy metadata, run Apex tests and build Lightning Web Components.

  • Postmanofficial · ★ 325

    Manage Postman workspaces, collections, environments and mocks.

FAQ

What does the Nx MCP Server do?+

Your Nx workspace graph, projects, generators and docs as context for the agent.

Is the Nx MCP server official?+

Official: built and maintained by Nx.

How do I add Nx to Claude Code?+

Run: claude mcp add nx -- npx -y nx-mcp. Add --scope project to share it with your team through .mcp.json.

How do I use the Nx MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").

Does Nx work in ChatGPT and claude.ai?+

No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.

What are the alternatives to the Nx MCP server?+

Other developer tools & git MCP servers: GitHub, Keploy, Mobilerun, Azure DevOps and MATLAB.

All MCP servers · What is an MCP server? · Agent skills