MCPcopy Create free account
hub / github.com/firebase/firebase-tools / isFirebaseStudio

Function isFirebaseStudio

src/env.ts:4–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3let googleIdxFolderExists: boolean | undefined;
4export function isFirebaseStudio() {
5 if (googleIdxFolderExists === true || process.env.MONOSPACE_ENV) return true;
6 if (googleIdxFolderExists === false) return false;
7 googleIdxFolderExists = dirExistsSync("/google/idx");
8 return googleIdxFolderExists;
9}
10
11let isFirebaseMcpFlag = false;
12export function isFirebaseMcp() {

Callers 11

track.tsFile · 0.90
applyRCMethod · 0.90
autoAuthFunction · 0.90
requireAuthFunction · 0.90
setNewActiveFunction · 0.90
clientNameMethod · 0.90
mcpListToolsMethod · 0.90
mcpCallToolMethod · 0.90
mcpListPromptsMethod · 0.90
mcpGetPromptMethod · 0.90
mcpReadResourceMethod · 0.90

Calls 1

dirExistsSyncFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…