Firebase MCP Server for Cloudflare Workers
Test Firebase tools directly in your browser. Select a tool and provide inputs to see the results.
Create a free account to test Firebase tools interactively. No credit card required.
firebase_auth_list_usersList Firebase Auth users. Args: - maxResults: Maximum users to return (1-1000, default: 100) - pageToken: Pagination token from previous response - format: Response format ('json' or 'markdown') Returns: List of users with their profile information.
firebase_auth_get_userGet a Firebase Auth user by UID. Args: - uid: The user's unique ID - format: Response format Returns: The user's profile information.
firebase_auth_get_user_by_emailGet a Firebase Auth user by email address. Args: - email: The user's email address - format: Response format Returns: The user's profile information.
firebase_auth_get_user_by_phoneGet a Firebase Auth user by phone number. Args: - phoneNumber: The user's phone number (E.164 format, e.g., +1234567890) - format: Response format Returns: The user's profile information.
firebase_auth_create_userCreate a new Firebase Auth user. Args: - email: User's email address - password: User's password (min 6 characters) - displayName: User's display name - phoneNumber: User's phone number (E.164 format) - photoUrl: URL to user's profile photo - emailVerified: Whether email is verified (default: false) - disabled: Whether account is disabled (default: false) Returns: The created user.
firebase_auth_update_userUpdate an existing Firebase Auth user. Args: - uid: User's UID - email: New email address - password: New password - displayName: New display name - phoneNumber: New phone number - photoUrl: New profile photo URL - emailVerified: Email verified status - disabled: Account disabled status - customAttributes: Custom claims JSON string (max 1000 chars) Returns: The updated user.
firebase_auth_delete_userDelete a Firebase Auth user. Args: - uid: User's UID Returns: Confirmation of deletion.
firebase_auth_delete_usersDelete multiple Firebase Auth users at once. Args: - uids: Array of user UIDs to delete (max 1000) Returns: Success and failure counts.
firebase_auth_send_email_verificationSend an email verification link to a user. Args: - email: User's email address Returns: Confirmation that the email was sent.
firebase_auth_send_password_resetSend a password reset email to a user. Args: - email: User's email address Returns: Confirmation that the email was sent.
firebase_auth_set_custom_claimsSet custom claims on a Firebase Auth user (for role-based access control). Args: - uid: User's UID - claims: Custom claims object (e.g., { admin: true, role: "editor" }) Returns: Confirmation that claims were set.
firebase_fcm_send_to_tokenSend a push notification to a specific device token. Args: - token: Device registration token - title: Notification title - body: Notification body - data: Optional custom data payload (string key-value pairs) Returns: Message ID of the sent notification.
firebase_fcm_send_to_topicSend a push notification to all devices subscribed to a topic. Args: - topic: Topic name (without /topics/ prefix) - title: Notification title - body: Notification body - data: Optional custom data payload (string key-value pairs) Returns: Message ID of the sent notification.
firebase_fcm_sendSend an advanced FCM message with full configuration options. Args: - message: Full FCM message object including: - token: Target device token (use this OR topic OR condition) - topic: Target topic name - condition: Topic condition expression (e.g., "'TopicA' in topics && 'TopicB' in topics") - notification: { title, body, image? } - data: Custom string data payload - android: Android-specific options - apns: iOS-specific options - webpush: Web push options Returns: Message ID of the sent notification.
firebase_firestore_listList documents in a Firestore collection. Args: - collectionPath: Path to the collection (e.g., "users" or "users/uid/posts") - pageSize: Number of documents to return (1-100, default: 20) - pageToken: Pagination token from previous response - format: Response format ('json' or 'markdown') Returns: List of documents with their fields and metadata.
firebase_firestore_getGet a single Firestore document by path. Args: - documentPath: Full path to the document (e.g., "users/uid123") - format: Response format ('json' or 'markdown') Returns: The document with all fields and metadata.
firebase_firestore_createCreate a new document in a Firestore collection. Args: - collectionPath: Path to the collection - fields: Document fields as a JSON object - documentId: Optional custom document ID (auto-generated if not provided) Returns: The created document.
firebase_firestore_updateUpdate an existing Firestore document. Args: - documentPath: Path to the document - fields: Fields to update as a JSON object - updateMask: Optional list of field paths to update (updates all provided fields if not specified) Returns: The updated document.
firebase_firestore_deleteDelete a Firestore document. Args: - documentPath: Path to the document Returns: Confirmation of deletion.
firebase_firestore_queryQuery documents in a Firestore collection. Args: - collectionPath: Path to the collection - where: Array of filter conditions [{ field, op, value }] - op: LESS_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, EQUAL, NOT_EQUAL, ARRAY_CONTAINS, ARRAY_CONTAINS_ANY, IN, NOT_IN - orderBy: Array of ordering [{ field, direction: "ASCENDING" | "DESCENDING" }] - limit: Maximum number of documents to return - offset: Number of documents to skip - format: Response format Returns: Matching documents.
firebase_firestore_batch_getGet multiple documents by their paths in a single request. Args: - documentPaths: Array of document paths to retrieve - format: Response format Returns: The requested documents.
firebase_firestore_list_collectionsList collection IDs under a document or at the database root. Args: - documentPath: Optional document path (lists root collections if not provided) - format: Response format Returns: List of collection IDs.
firebase_firestore_list_indexesList all composite indexes in the Firestore database. Returns: List of indexes with their configuration.
firebase_firestore_create_indexCreate a composite index in Firestore. Args: - queryScope: COLLECTION or COLLECTION_GROUP - fields: Array of field configurations [{ fieldPath, order?, arrayConfig? }] Returns: The created index (may be in CREATING state).
firebase_remoteconfig_getGet the current Remote Config template. Returns: The Remote Config template with parameters, conditions, and version info.
firebase_remoteconfig_updateUpdate the Remote Config template. Args: - template: The updated template object with parameters and conditions - etag: ETag from the previous get operation (for concurrency control) Returns: The updated Remote Config template.
firebase_remoteconfig_rollbackRollback Remote Config to a previous version. Args: - versionNumber: Version number to rollback to Returns: The rolled-back Remote Config template.
firebase_remoteconfig_list_versionsList Remote Config version history. Args: - pageSize: Number of versions to return (default: 10) - pageToken: Pagination token Returns: List of version history entries.
firebase_rtdb_getRead data from a Realtime Database path. Args: - path: Database path (e.g., "users/uid123" or "posts") - orderBy: Field to order by (requires index) - limitToFirst: Limit to first N results - limitToLast: Limit to last N results - startAt: Start at value (for pagination) - endAt: End at value (for pagination) - equalTo: Filter by exact value - shallow: Return only keys (no nested data) Returns: The data at the specified path.
firebase_rtdb_setWrite data to a Realtime Database path (overwrites existing data). Args: - path: Database path - data: Data to write (any JSON value) Returns: Confirmation of write.
firebase_rtdb_updateUpdate specific fields at a Realtime Database path (merges with existing data). Args: - path: Database path - data: Fields to update (object with key-value pairs) Returns: Confirmation of update.
firebase_rtdb_pushPush a new item to a Realtime Database list (auto-generates unique key). Args: - path: Database path to the list - data: Data to push Returns: The generated key for the new item.
firebase_rtdb_deleteDelete data at a Realtime Database path. Args: - path: Database path to delete Returns: Confirmation of deletion.
firebase_storage_list_bucketsList all Cloud Storage buckets in the project. Returns: List of storage buckets with metadata.
firebase_storage_get_bucketGet metadata for a Cloud Storage bucket. Args: - bucketName: Name of the bucket Returns: Bucket metadata.
firebase_storage_list_objectsList objects in a Cloud Storage bucket. Args: - bucketName: Name of the bucket - prefix: Filter objects by prefix (folder path) - delimiter: Delimiter for hierarchical listing (usually "/") - maxResults: Maximum objects to return (1-1000) - pageToken: Pagination token - format: Response format Returns: List of objects and prefixes (folders).
firebase_storage_get_objectGet metadata for a Cloud Storage object. Args: - bucketName: Name of the bucket - objectName: Name/path of the object Returns: Object metadata including size, content type, timestamps.
firebase_storage_delete_objectDelete an object from Cloud Storage. Args: - bucketName: Name of the bucket - objectName: Name/path of the object to delete Returns: Confirmation of deletion.
firebase_storage_copy_objectCopy an object within or between buckets. Args: - sourceBucket: Source bucket name - sourceObject: Source object path - destBucket: Destination bucket name - destObject: Destination object path Returns: The copied object metadata.
firebase_storage_update_metadataUpdate custom metadata for a Cloud Storage object. Args: - bucketName: Name of the bucket - objectName: Name/path of the object - metadata: Custom metadata key-value pairs Returns: The updated object metadata.
firebase_auth_list_users{
"format": "example_format",
"pageToken": "example_pageToken",
"maxResults": true
}firebase_auth_get_user{
"uid": "example_uid",
"format": "example_format"
}firebase_auth_get_user_by_email{
"email": "example_email",
"format": "example_format"
}