Nx Mcp
@nrwl
关于 Nx Mcp
Nx Console is the user interface for Nx & Lerna.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"nx-mcp": {
"command": "npx",
"args": [
"nx-mcp@latest",
"--no-minimal"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Nx Mcp?
Nx Mcp is a Model Context Protocol server that gives large language models deep access to an Nx monorepo’s structure: project relationships, file mappings, runnable tasks, ownership info, tech stacks, Nx generators, and Nx documentation. It helps AI generate code tailored to the workspace’s stack, understand change impact, and apply modifications across connected files.
How to use Nx Mcp?
You can run the server via npx nx-mcp@latest (stdio) or with --sse and --port flags for HTTP transport. Alternatively, install the Nx Console extension in Cursor, which manages the server automatically. The server runs in minimal mode by default; use --no-minimal to expose all tools. A JSON config file can be placed at .nx/nx-mcp-config.json.
Key features of Nx Mcp
- Gives LLMs workspace project graph and nx.json configuration
- Exposes task execution details and terminal output
- Provides Nx documentation snippets relevant to queries
- Visualizes the Nx graph (requires running IDE)
- Nx Cloud CI tools: pipeline info, failed task output, self-healing fix management
- Minimal mode reduces tool clutter by hiding overlapping analysis tools
Use cases of Nx Mcp
- AI generates code that respects monorepo project boundaries and dependencies
- Developers get context-aware code modifications across connected projects
- Understand the impact of changes by querying the project graph
- Debug CI failures by retrieving task output from Nx Cloud runs
- Automate Nx generator usage based on developer natural language requests
FAQ from Nx Mcp
What tools are hidden in minimal mode?
The following are hidden: nx_available_plugins, nx_workspace_path, nx_workspace, nx_project_details, nx_generators, and nx_generator_schema. Use the --no-minimal flag to show them.
Do I need Nx Cloud to use all tools?
Nx Cloud tools (ci_information, ci_task_output, update_self_healing_fix) and the CI Pipeline Execution resources are only available when the workspace is connected to Nx Cloud.
How do I configure the server when I can’t pass CLI args?
Place a JSON configuration file at .nx/nx-mcp-config.json in your workspace root. All keys are optional; CLI arguments take precedence over file values.
What transports are supported?
The server supports stdio by default, and SSE (with --sse and --port flags) for HTTP transport with multiple concurrent connections.
Where does my workspace data live?
The server reads local workspace files (project graph, nx.json, etc.) and optionally communicates with Nx Cloud CI endpoints. No data is sent outside your environment unless you use Nx Cloud features.
其他 分类下的更多 MCP 服务器
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
评论