Skip to main content
Glama
nrwl

Nx MCP Server

Official
by nrwl
read-file.ts369 B
import { PosixFS } from '@yarnpkg/fslib'; import { ZipOpenFS, getLibzipSync as libzip } from '@yarnpkg/libzip'; const zipOpenFs = new ZipOpenFS({ libzip }); export const crossFs = new PosixFS(zipOpenFs); export async function readFile(filePath: string): Promise<string> { try { return crossFs.readFilePromise(filePath, 'utf8'); } catch { return ''; } }

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