Skip to main content
Glama

firefox-devtools-mcp

fs.ts512 B
/** * File system utilities */ import { access, constants } from 'fs/promises'; import { existsSync } from 'fs'; /** * Check if a file exists and is executable */ export async function isExecutable(path: string): Promise<boolean> { if (!existsSync(path)) { return false; } try { await access(path, constants.X_OK); return true; } catch { return false; } } /** * Check if a file exists (sync) */ export function fileExists(path: string): boolean { return existsSync(path); }

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/freema/firefox-devtools-mcp'

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