We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 789ba4f commit 2263d68Copy full SHA for 2263d68
src/mcp/index.ts
@@ -185,6 +185,9 @@ export class FirebaseMcpServer {
185
186
const projectId = await this.getProjectId();
187
const accountEmail = await this.getAuthenticatedUser();
188
+ if (!this.cachedProjectRoot) {
189
+ return mcpError("No project root set. Please set the project root before calling tools.");
190
+ }
191
if (tool.mcp._meta?.requiresAuth && !accountEmail) return mcpAuthError();
192
if (tool.mcp._meta?.requiresProject && !projectId) return NO_PROJECT_ERROR;
193
0 commit comments