Skip to main content
Glama
nrwl

Nx MCP Server

Official
by nrwl
nx-json.ts491 B
import type { NxJsonConfiguration } from 'nx/src/devkit-exports'; import { readJsonFile } from './local-nx-utils/read-json'; export async function readNxJson( workspacePath: string, ): Promise<NxJsonConfiguration> { return await readJsonFile<NxJsonConfiguration>('nx.json', workspacePath); } export async function canReadNxJson(workspacePath: string): Promise<boolean> { try { await readNxJson(workspacePath); return true; } catch (e) { return false; } } // helpers

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