Skip to main content

When should you use it

  • Initialize/configure Firebase features in a repo
  • Inspect or tweak Auth users and custom claims
  • Read/query Firestore data and collections (with rule checks/validation)
  • Retrieve Data Connect schemas and execute GraphQL queries/mutations
  • Validate and fetch Storage rules / object URLs
  • Send FCM test messages

Auth & transport

  • Auth: uses the same credentials as the Firebase CLI (logged-in user or Application Default Credentials). You must be signed in with firebase-tools before using the server.
  • Transport: stdio (configure in clients like Claude Desktop, Cursor, VS Code Copilot, etc.)

Tools provided (official list)

Core / Environment / Project

  • firebase_get_project β€” Get the active Firebase project
  • firebase_list_apps β€” List registered apps
  • firebase_get_admin_sdk_config β€” Admin SDK config for the current project
  • firebase_list_projects β€” List Firebase projects (limited count)
  • firebase_get_sdk_config β€” Client SDK config for a platform or app ID
  • firebase_create_project β€” Create a new project
  • firebase_create_app β€” Create a Web/iOS/Android app in the project
  • firebase_create_android_sha β€” Add an Android SHA cert hash
  • firebase_consult_assistant β€” Ask an AI assistant about Firebase products
  • firebase_get_environment β€” Show current env (user, project dir, active project)
  • firebase_update_environment β€” Update env settings (dir, active project, user)
  • firebase_init β€” Initialize selected features (Firestore, Data Connect, Realtime DB). Re-init may overwrite; deploy with firebase deploy

Firestore

  • firestore_delete_document β€” Delete document(s) by full path
  • firestore_get_documents β€” Get document(s) by full path
  • firestore_list_collections β€” List collections in a database
  • firestore_query_collection β€” Query documents in a collection with a filter
  • firestore_get_rules β€” Retrieve active Firestore Rules
  • firestore_validate_rules β€” Validate Firestore Rules source or file path

Authentication

  • auth_get_user β€” Fetch a user by email/phone/UID
  • auth_disable_user β€” Disable/enable a user by UID
  • auth_list_users β€” List users (limit)
  • auth_set_claim β€” Set a custom claim (string or JSON value)
  • auth_set_sms_region_policy β€” Set ALLOW/DENY list for SMS regions

Data Connect (GraphQL)

  • dataconnect_list_services β€” List Data Connect services
  • dataconnect_generate_schema β€” Generate a schema from a description (uses Gemini in Firebase)
  • dataconnect_generate_operation β€” Generate a query/mutation from schema (uses Gemini)
  • dataconnect_get_schema β€” Get schema (Cloud SQL sources, GraphQL SDL)
  • dataconnect_get_connectors β€” Get connectors & predefined queries
  • dataconnect_execute_graphql β€” Execute arbitrary GraphQL (read/write)
  • dataconnect_execute_graphql_read β€” Execute read-only GraphQL
  • dataconnect_execute_mutation β€” Execute a deployed mutation
  • dataconnect_execute_query β€” Execute a deployed query

Storage

  • storage_get_rules β€” Retrieve Storage Rules
  • storage_validate_rules β€” Validate Storage Rules source or file path
  • storage_get_object_download_url β€” Get a download URL for an object

Messaging

  • messaging_send_message β€” Send an FCM message to a token or topic (one of registration_token or topic)
Last modified on February 27, 2026