Skip to content

Commit 15d5eab

Browse files
committed
Add Nx MCP server
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ
1 parent 2fd91f8 commit 15d5eab

1 file changed

Lines changed: 67 additions & 0 deletions

File tree

servers/com.nx-mcp-npx.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.nx-mcp-npx",
4+
"name": "Nx (npx)",
5+
"alias": "nx",
6+
"description": "Connects AI assistants to your Nx monorepo. Exposes the workspace project graph, project and task details, file-to-project mappings, Nx generators, and up-to-date Nx documentation so the assistant understands your monorepo structure.",
7+
"logo": "https://avatars.githubusercontent.com/u/23692104?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"developer-tools"
11+
],
12+
"tags": [
13+
"nx",
14+
"monorepo",
15+
"nrwl",
16+
"project-graph",
17+
"build",
18+
"generators",
19+
"developer-tools"
20+
],
21+
"transport": {
22+
"type": "stdio",
23+
"command": "npx",
24+
"args": [
25+
"-y",
26+
"nx-mcp",
27+
"${input:WORKSPACE_PATH}"
28+
],
29+
"metadata": {
30+
"inputs": [
31+
{
32+
"id": "WORKSPACE_PATH",
33+
"label": "Nx Workspace Path",
34+
"description": "Absolute path to the root of your Nx workspace (the folder containing nx.json). Optional: if left blank, the server falls back to the current working directory. When no workspace can be resolved, only the nx_docs and nx_available_plugins tools are available.",
35+
"type": "directory_path",
36+
"required": false,
37+
"secret": false,
38+
"placeholder": "C:\\Users\\you\\my-nx-workspace or /home/you/my-nx-workspace"
39+
}
40+
]
41+
}
42+
},
43+
"auth": {
44+
"type": "none",
45+
"instructions": "No authentication or API key required. The Nx MCP server reads your local Nx workspace; point it at the workspace root."
46+
},
47+
"contributor": {
48+
"name": "Nx (Nrwl)",
49+
"github": "nrwl",
50+
"url": "https://nx.dev"
51+
},
52+
"links": {
53+
"repository": "https://github.com/nrwl/nx-console",
54+
"homepage": "https://nx.dev",
55+
"documentation": "https://nx.dev/docs/reference/nx-mcp"
56+
},
57+
"platforms": [
58+
"all"
59+
],
60+
"capabilities": {
61+
"tools": true,
62+
"resources": false,
63+
"prompts": false,
64+
"read_only_mode": false
65+
},
66+
"changelog_url": "https://github.com/nrwl/nx-console/releases"
67+
}

0 commit comments

Comments
 (0)