You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/mcp/README.md
+22-8
Original file line number
Diff line number
Diff line change
@@ -29,15 +29,29 @@ In `.cursor/mcp.json` in your workspace directory, add the Firebase MCP server:
29
29
30
30
### Command Line Options
31
31
32
-
-`--dir <absolute_dir_path>`: The absolute path of a directory containing `firebase.json` to set a project context for the MCP server. If unspecified, the `{get|set}_firebase_directory` tools will become available and the default directory will be the working directory where the MCP server was started.
32
+
-`--dir <absolute_dir_path>`: The absolute path of a directory containing `firebase.json` to set a project context for the MCP server. If unspecified, the `{get|set}_project_directory` tools will become available and the default directory will be the working directory where the MCP server was started.
33
33
-`--only <feature1,feature2>`: A comma-separated list of feature groups to activate. Use this to limit the tools exposed to only features you are actively using.
|`get_firebase_directory`|`core`| When running without the `--dir` command, retrieves the current directory (defaults to current working directory). |
40
-
|`set_firebase_directory`|`core`| When running without the `--dir` command, sets the current project directory (i.e. one with `firebase.json` in it). |
41
-
|`get_project`|`project`| Get basic information about the active project in the current Firebase directory. |
42
-
|`list_apps`|`project`| List registered apps for the currently active project. |
43
-
|`get_sdk_config`|`project`| Get an Firebase client SDK config for a specific platform. |
|`get_project_directory`|`directory`| When running without the `--dir` command, retrieves the current directory (defaults to current working directory). |
40
+
|`set_project_directory`|`directory`| When running without the `--dir` command, sets the current project directory (i.e. one with `firebase.json` in it). |
41
+
|`firebase_get_project`|`core`| Get basic information about the active project in the current Firebase directory. |
42
+
|`firebase_list_apps`|`core`| List registered apps for the currently active project. |
43
+
|`firebase_get_sdk_config`|`core`| Get an Firebase client SDK config for a specific platform. |
44
+
|`firebase_consult_assistant`|`core`| Consult Gemini in Firebase agent for help |
45
+
|`firestore_list_collections`|`firestore`| Retrieves a list of collections from a Firestore database in the current project. |
46
+
|`firestore_get_documents`|`firestore`| Retrieves one or more Firestore documents from a database in the current project by full document paths. Use this if you know the exact path of a document. |
47
+
|`firestore_get_rules`|`firestore`| Retrieves the active Firestore security rules for the current project. |
48
+
|`auth_get_user`|`auth`| Retrieves a user based on an email address, phone number, or UID. |
49
+
|`auth_disable_user`|`auth`| Disables or enables a user based on a UID. |
50
+
|`auth_set_claims`|`auth`| Sets custom claims on a specific user's account. Use to create trusted values associated with a user e.g. marking them as an admin. Claims are limited in size and should be succinct in name and value. |
51
+
|`auth_set_sms_region_policy`|`auth`| Sets an SMS Region Policy for Firebase Auth to restrict the regions which can receive text messages based on an ALLOW or DENY list of country codes. This policy will override any existing policies when set. |
52
+
|`dataconnect_list_services`|`dataconnect`| List the Firebase Data Connect services available in the current project. |
53
+
|`dataconnect_generate_schema`|`dataconnect`| Generates a Firebase Data Connect Schema based on the users description of an app. |
54
+
|`dataconnect_generate_operation`|`dataconnect`| Generates a single Firebase Data Connect query or mutation based on the currently deployed schema and the provided prompt. |
55
+
|`dataconnect_get_schema`|`dataconnect`| List the Firebase Data Connect Schema in the project, which includes Cloud SQL data sources and the GraphQL Schema describing what tables are available. |
56
+
|`dataconnect_get_connector`|`dataconnect`| Get the Firebase Data Connect Connectors in the project, which includes the pre-defined GraphQL queries accessible to client SDKs. |
57
+
|`storage_get_rules`|`storage`| Retrieves the Firebase Cloud Storage Rules for the default bucket. |
"Gets the current Firebase project directory. If this has been set using the `set_firebase_directory` tool it will return that, otherwise it will look for a PROJECT_ROOT environment variable or the current working directory of the running Firebase MCP server.",
10
+
"Gets the current Firebase project directory. If this has been set using the `set_project_directory` tool it will return that, otherwise it will look for a PROJECT_ROOT environment variable or the current working directory of the running Firebase MCP server.",
`There is no detected 'firebase.json' in directory '${host.projectRoot}'. Please use the 'set_firebase_directory' tool to activate a Firebase project directory.`,
21
+
`There is no detected 'firebase.json' in directory '${host.projectRoot}'. Please use the 'set_project_directory' tool to activate a Firebase project directory.`,
"Sets the project directory for the Firebase MCP server to utilize for project detection and authentication. This should be a directory with a `firebase.json` file in it. This information is persisted between sessions.",
0 commit comments