Commit b4a46d9
authored
feat: add Init MCP App (#10261)
* feat: add mcpapps experiment flag and helper
### Description
- Adds mcpapps experiment flag to src/experiments.ts.
- Adds applyAppMeta helper function to src/mcp/util.ts to conditionally add UI metadata.
- Adds unit tests for applyAppMeta in src/mcp/util.spec.ts.
### Scenarios Tested
- Unit tests passed.
- Build succeeds.
* chore: address PR comments on experiments and util
### Description
- Fixes applyAppMeta to preserve existing metadata.
- Moves mcpapps flag to be grouped with other MCP experiments.
- Removes as any in util.spec.ts by importing CallToolResult.
### Scenarios Tested
- Build succeeds.
- Lint passes for modified files (ignoring pre-existing warnings).
- Unit tests for applyAppMeta pass.
* feat: add infrastructure for MCP Apps
Adds support for returning structured content from tools, which is used by MCP Apps to pass complex data to the host. Also updates the resource index.
- Verified build and file changes.
* feat: add Update Environment MCP App
### Description
Adds the Update Environment MCP App, allowing users to switch projects and directories from the UI.
### Scenarios Tested
- Verified build and file changes.
* feat: add Init MCP App
### Description
Adds the Init MCP App for interactive initialization of Firestore and Auth products. Includes support for Google Sign-In configuration and project selection.
### Scenarios Tested
- Verified build and file changes.
* chore: address PR comments and fix build on mcp-init-app
- Remove non-existent login_ui and deploy_ui from resources index to fix build.
- Avoid using any in mcp-app.ts, use specific interfaces.
- Check isError on tool results.
- Reduce page_size to 1000.
- Fix lint warnings for catch blocks.
* fix: add missing vite.config.ts for update_environment MCP app
* chore: add missing MCP app dependencies and update shrinkwrap on mcp-init-app
* fix: resolve lint errors for unused variables on mcp-init-app
* chore: format mcp-app.ts to fix lint issues
* refactor: clean up typing and UI options structure per review1 parent 868a687 commit b4a46d9
File tree
11 files changed
+1314
-47
lines changed- src/mcp
- apps
- init
- update_environment
- resources
11 files changed
+1314
-47
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| 189 | + | |
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
| |||
266 | 268 | | |
267 | 269 | | |
268 | 270 | | |
269 | | - | |
| 271 | + | |
| 272 | + | |
270 | 273 | | |
271 | 274 | | |
272 | 275 | | |
| |||
0 commit comments