Skip to content

Conversation

google-labs-jules[bot]
Copy link
Contributor

This change renames the MCP server tool name from database_* to rtdb_*.

Specifically, the following tools have been renamed:

  • database_get_data -> rtdb_get_data
  • database_set_data -> rtdb_set_data
  • database_get_rules -> rtdb_get_rules
  • database_validate_rules -> rtdb_validate_rules

The directory src/mcp/tools/database has been renamed to src/mcp/tools/rtdb.
The feature name has been changed from database to rtdb in src/mcp/types.ts, src/mcp/prompts/index.ts, and src/mcp/util.ts.
The README.md has been updated to reflect the new tool names and the new feature group name (rtdb).


PR created automatically by Jules for task 826937673060723026

Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll acknowledge your comments with a 👀 emoji and then get to work. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

I will automatically address your feedback. For any comments you don't want me to act on, just include (aside).



For security, I will only act on instructions from the user who triggered this task for this pull request.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR renames the MCP server tool names from database_* to rtdb_* to better reflect that these tools are specifically for Firebase Realtime Database functionality.

  • Updates the feature name from database to rtdb across type definitions, mappings, and configuration files
  • Renames exported tool collections and directory references to use the new rtdb naming convention
  • Updates documentation to reflect the new tool names (rtdb_get_data, rtdb_set_data, rtdb_get_rules, rtdb_validate_rules)

Reviewed Changes

Copilot reviewed 6 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/mcp/util.ts Updates feature API mapping from database to rtdb
src/mcp/types.ts Changes feature type definition from database to rtdb
src/mcp/tools/rtdb/index.ts Renames exported tool collection from realtimeDatabaseTools to rtdbTools
src/mcp/tools/index.ts Updates import and tool mapping to use new rtdb naming
src/mcp/prompts/index.ts Updates prompts mapping from database to rtdb
src/mcp/README.md Updates documentation table with new tool names and feature group

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@antholeole
Copy link
Contributor

this generally lgtm. We should fire up the MCP inspector to make sure this works e2e

also cc @nguymichael just so ur aware about this rename

@charlotteliang charlotteliang marked this pull request as ready for review September 17, 2025 23:35
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.

LG.

Please address merge conflicts and try it out with Gemini CLI or MCP inspector.

@fredzqm
Copy link
Contributor

fredzqm commented Sep 27, 2025

Don't forget to run npm run format. It has some linter error now.

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.

4 participants