Skip to content

Conversation

TrCaM
Copy link
Contributor

@TrCaM TrCaM commented May 16, 2025

Create list_projects tool + slight modifications to list_apps

For some reason cursor keep breaking the tool without the change. It works much more consistently after removing the optional() part

);
return toContent(apps);
} catch (err: any) {
const originalMessage = err.original ? `: ${err.original.message}` : "";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonder if this logic is worth porting to the upstream exception handler.

It feels like a generic enough improvement.

https://github.com/firebase/firebase-tools/blob/master/src/mcp/index.ts#L223

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that would require some refactoring that I'd like to work on a separate PR

Copy link
Contributor

@fredzqm fredzqm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change look good & low risk.

Left some optional thoughts for consideration.

@TrCaM TrCaM enabled auto-merge (squash) May 26, 2025 14:55
@TrCaM TrCaM merged commit d39d184 into master May 26, 2025
48 of 50 checks passed
@github-project-automation github-project-automation bot moved this from Approved [PR] to Done in [Cloud] Extensions + Functions May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants