Firebase MCP Server

firestore_list_collections

Retrieve Firestore collections or subcollections using a document path. Supports pagination and customizable limits for efficient data management.

Instructions

List collections in Firestore. If documentPath is provided, returns subcollections under that document; otherwise returns root collections.

Input Schema

NameRequiredDescriptionDefault
documentPathNoOptional parent document path
limitNoNumber of collections to return
pageTokenNoToken for pagination to get the next page of results

Input Schema (JSON Schema)

{ "properties": { "documentPath": { "description": "Optional parent document path", "type": "string" }, "limit": { "default": 20, "description": "Number of collections to return", "type": "number" }, "pageToken": { "description": "Token for pagination to get the next page of results", "type": "string" } }, "required": [], "type": "object" }
ID: dlr8h5ouc9