File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ export class Command {
311
311
312
312
if ( getInheritedOption ( options , "json" ) ) {
313
313
options . nonInteractive = true ;
314
- } else {
314
+ } else if ( ! options . isMCP ) {
315
315
useConsoleLoggers ( ) ;
316
316
}
317
317
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ export class FirebaseMcpServer {
140
140
}
141
141
142
142
async resolveOptions ( ) : Promise < Partial < Options > > {
143
- const options : Partial < Options > = { cwd : this . cachedProjectRoot } ;
143
+ const options : Partial < Options > = { cwd : this . cachedProjectRoot , isMCP : true } ;
144
144
await cmd . prepare ( options ) ;
145
145
return options ;
146
146
}
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ export interface BaseOptions {
28
28
// Emulator specific import/export options
29
29
exportOnExit ?: boolean | string ;
30
30
import ?: string ;
31
+
32
+ isMCP ?: boolean ;
31
33
}
32
34
33
35
export interface Options extends BaseOptions {
You can’t perform that action at this time.
0 commit comments