nx-mcp

nx-mcp is an MCP server for Cursor from TanStack/cli. Its token cost is not measured, scanned A, original, MIT.

An MCP server for Nx, a tool that manages projects in a monorepo, meaning one repository containing multiple related projects. It lets a coding agent inspect the project graph, find code generators, and run Nx tasks.

In plain words
What is it for?
Use it to explore Nx project relationships, look up generators, and run repository tasks through the local server.
Why use it?
It gives the agent project-specific structure and task information instead of making it infer how the monorepo is organized.

MCP server for Cursor

Written for Cursor: installed under .cursor/. Also seen: listed in .cursor/mcp.json.

Good fit Use it to explore Nx project relationships, look up generators, and run repository tasks through the local server.

Compare 6 mcp servers from other repositories ↓
Install with agentmods
npx agentmods add mcp/tanstack/cli/nx-mcp
About the project

TanStack/cli is the official command-line tool for creating and managing TanStack Start and TanStack Router applications. It is for scaffolding full-stack or single-page projects and adding integrations such as authentication, databases, deployment, and monitoring. The catalogue entries provide add-ons and guidance for working with the CLI.

TanStack/cli · 1,302 stars · on GitHub · tanstack.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/TanStack/cli

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nx-mcp

README.md
[![agentmods](https://agentmods.dev/badge/mcp/tanstack/cli/nx-mcp/github.svg)](https://agentmods.dev/mcp/tanstack/cli/nx-mcp)
Your own site
<a href="https://agentmods.dev/mcp/tanstack/cli/nx-mcp"><img src="https://agentmods.dev/badge/mcp/tanstack/cli/nx-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nx-mcp

Your own site · 80×15
<a href="https://agentmods.dev/mcp/tanstack/cli/nx-mcp"><img src="https://agentmods.dev/badge/mcp/tanstack/cli/nx-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

nx-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/mcp.json · 5 lines

What it actually says

{
  "nx-mcp": {
    "url": "http://localhost:9733/sse"
  }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 5 lines scan A 42b12ae356f3

Subscribe to this mod's changes

nx-mcp is an MCP server published in the GitHub repository TanStack/cli (1,302 stars, last pushed 2d ago), licensed MIT. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.

Related

nx-mcp compared with mcp servers from other repositories

nx-mcp next to 6 mcp servers from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nx-mcpTanStack/cliMCP server1.3k2d agoMITA—Cursor
docs-langchainlangchain-ai/langchainMCP server149kyesterdayMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
component-explorermicrosoft/vscodeMCP server195kyesterdayMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
codex_message_boardopenai/codexMCP server133kyesterdayApache-2.0A—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
playwright-testmicrosoft/playwrightMCP server99kyesterdayApache-2.0A—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
reference-langchainlangchain-ai/langchainMCP server149kyesterdayMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
reamorluto/reaMCP server435kyesterdayMITA—Claude Code