Skip to main content
Glama

Nx MCP Server

Official
by nrwl
copy-generate-ui-deps.mjs708 B
import { copyFileSync, existsSync, mkdirSync } from 'fs'; import { dirname, join } from 'path'; const args = process.argv.slice(2); const outputPath = args[0]; const files = [ join('@vscode', 'codicons', 'dist', 'codicon.css'), join('@vscode', 'codicons', 'dist', 'codicon.ttf'), ]; if (!existsSync('node_modules')) { throw new Error( 'Please make sure node_modules are installed by running yarn.' ); } files.forEach((file) => { const path = join('node_modules', file); const destination = join(outputPath, file); const targetFolder = dirname(destination); if (!existsSync(targetFolder)) { mkdirSync(targetFolder, { recursive: true }); } copyFileSync(path, destination); });

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