Skip to main content
Glama

Nx MCP Server

Official
by nrwl
launch.json2.86 kB
// A launch configuration that compiles the extension and then opens it inside a new window // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 { "version": "0.2.0", "configurations": [ { "name": "Launch Extension", "args": [ "--extensionDevelopmentPath=${workspaceFolder}/dist/apps/vscode" ], "request": "launch", "skipFiles": ["<node_internals>/**"], "type": "extensionHost", "sourceMaps": true, "resolveSourceMapLocations": null }, { "name": "Launch Extension (with other extensions)", "args": [ "--extensionDevelopmentPath=${workspaceFolder}/dist/apps/vscode" ], "outFiles": [ "${workspaceFolder}/dist/apps/vscode", "${workspaceFolder}/dist/apps/generate-ui-v2", "${workspaceFolder}/node_modules" ], "request": "launch", "skipFiles": [ "<node_internals>/**", "/Applications/Visual Studio Code.app/**" ], "type": "extensionHost", "resolveSourceMapLocations": [ "${workspaceFolder}/**", "!**/node_modules/**" ] }, { "type": "node", "request": "attach", "name": "Attach to LSP Server", "port": 6009, "timeout": 30000, "restart": true, "sourceMaps": true, "skipFiles": [ "<node_internals>/**", "/Applications/Visual Studio Code.app/**" ], "sourceMapPathOverrides": { // This converts relative paths in source maps (e.g., '../../../apps/nxls/main.ts') // to absolute workspace paths. // 1. The pattern "../*" matches this path ../../../apps/nxls/main.ts // 2. The leading ../ is replaced with /dev/nx-console/nx-console // 3. The rest of the path (../../apps/nxls/main.ts) is preserved // 4. VS Code then resolves /dev/nx-console/nx-console/../../apps/nxls/main.ts // 5. After normalizing, this becomes /dev/nx-console/apps/nxls/main.ts "../*": "${workspaceFolder}/${workspaceFolderBasename}*" } }, { "name": "Debug E2E Tests", "type": "node", "request": "launch", "args": ["run", "vscode-e2e:e2e"], "env": { "DEBUG": "true" }, "cwd": "${workspaceFolder}", "autoAttachChildProcesses": true, "program": "${workspaceRoot}/node_modules/nx/bin/nx.js", "console": "integratedTerminal", "skipFiles": [ "${workspaceFolder}/node_modules/**/*.js", "${workspaceFolder}/lib/**/*.js", "<node_internals>/**/*.js" ] } ], "compounds": [ { "name": "Launch Client + Server", "configurations": ["Launch Extension", "Attach to LSP Server"] } ] }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nrwl/nx-console'

If you have feedback or need assistance with the MCP directory API, please join our Discord server