From 4ff11dc2f82d4fd3d57c292df4c825dde9bbb765 Mon Sep 17 00:00:00 2001 From: Joe Hanley Date: Wed, 30 Sep 2026 23:40:22 +0000 Subject: [PATCH] fix/refactor: [Task] Delete unregistered MCP placeholder guides init_data_connect and init_rtdb (b/568084252) --- src/mcp/antigravity/README.md | 2 -- src/mcp/resources/guides/init_data_connect.ts | 32 ------------------- src/mcp/resources/guides/init_rtdb.ts | 32 ------------------- 3 files changed, 66 deletions(-) delete mode 100644 src/mcp/resources/guides/init_data_connect.ts delete mode 100644 src/mcp/resources/guides/init_rtdb.ts diff --git a/src/mcp/antigravity/README.md b/src/mcp/antigravity/README.md index 25f7fca9d3c..6fc19609a2f 100644 --- a/src/mcp/antigravity/README.md +++ b/src/mcp/antigravity/README.md @@ -95,10 +95,8 @@ The Firebase MCP server provides three types of capabilities: **Tools** (functio | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | | backend_init_guide | Firebase Backend Init Guide: guides the coding agent through configuring Firebase backend services in the current project | | ai_init_guide | Firebase GenAI Init Guide: guides the coding agent through configuring GenAI capabilities in the current project utilizing Firebase | -| data_connect_init_guide | Firebase SQL Connect Init Guide: guides the coding agent through configuring SQL Connect for PostgreSQL access in the current project | | firestore_init_guide | Firestore Init Guide: guides the coding agent through configuring Firestore in the current project | | firestore_rules_init_guide | Firestore Rules Init Guide: guides the coding agent through setting up Firestore security rules in the project | -| rtdb_init_guide | Firebase Realtime Database Init Guide: guides the coding agent through configuring Realtime Database in the current project | | auth_init_guide | Firebase Authentication Init Guide: guides the coding agent through configuring Firebase Authentication in the current project | | hosting_init_guide | Firebase Hosting Deployment Guide: guides the coding agent through deploying to Firebase Hosting in the current project | | docs | Firebase Docs: loads plain text content from Firebase documentation, e.g. `https://firebase.google.com/docs/functions` becomes `firebase://docs/functions` | diff --git a/src/mcp/resources/guides/init_data_connect.ts b/src/mcp/resources/guides/init_data_connect.ts deleted file mode 100644 index dcf64045bf0..00000000000 --- a/src/mcp/resources/guides/init_data_connect.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { resource } from "../../resource"; - -export const init_data_connect = resource( - { - uri: "firebase://guides/init/data_connect", - name: "data_connect_init_guide", - title: "Firebase SQL Connect Init Guide", - description: - "guides the coding agent through configuring SQL Connect for PostgreSQL access in the current project", - }, - async (uri) => { - return { - contents: [ - { - uri, - type: "text", - text: ` -Create a file called \`data-connect.ts\`: - -\`\`\`ts -import { initializeApp } from "firebase/app"; -import { getDataConnect } from "firebase/data-connect"; - -const app = initializeApp({...}); -const db = getDataConnect(app); -\`\`\` -`.trim(), - }, - ], - }; - }, -); diff --git a/src/mcp/resources/guides/init_rtdb.ts b/src/mcp/resources/guides/init_rtdb.ts deleted file mode 100644 index 704c3e7a747..00000000000 --- a/src/mcp/resources/guides/init_rtdb.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { resource } from "../../resource"; - -export const init_rtdb = resource( - { - uri: "firebase://guides/init/rtdb", - name: "rtdb_init_guide", - title: "Firebase Realtime Database Init Guide", - description: - "guides the coding agent through configuring Realtime Database in the current project", - }, - async (uri) => { - return { - contents: [ - { - uri, - type: "text", - text: ` -Create a file called \`rtdb.ts\`: - -\`\`\`ts -import { initializeApp } from "firebase/app"; -import { getDatabase } from "firebase/database"; - -const app = initializeApp({...}); -const db = getDatabase(app); -\`\`\` -`.trim(), - }, - ], - }; - }, -);