Skip to main content
Glama
nrwl

Nx MCP Server

Official
by nrwl
directory-exists.ts206 B
import { stat } from 'fs/promises'; export async function directoryExists(filePath: string): Promise<boolean> { try { return (await stat(filePath)).isDirectory(); } catch { return false; } }

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