Skip to content

Commit 1650098

Browse files
authored
chore(mcp): adds "firebase:" prefix to deploy command (#9197)
1 parent 9132b4e commit 1650098

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/mcp/prompts/core/deploy.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { prompt } from "../../prompt";
33
export const deploy = prompt(
44
{
55
name: "deploy",
6-
omitPrefix: true,
76
description: "Use this command to deploy resources to Firebase.",
87
arguments: [
98
{
@@ -43,7 +42,7 @@ ${prompt || "<the user didn't supply specific instructions>"}
4342
Follow the steps below taking note of any user instructions provided above.
4443
4544
1. If there is no active user, prompt the user to run \`firebase login\` in an interactive terminal before continuing.
46-
2. Analyze the source code in the current working directory to determine if this is a web app. If it isn't, end this process and tell the user "The /deploy command only works with web apps."
45+
2. Analyze the source code in the current working directory to determine if this is a web app. If it isn't, end this process and tell the user "The /firebase:deploy command only works with web apps."
4746
3. Analyze the source code in the current working directory to determine if the app requires a server for Server-Side Rendering (SSR). This will determine whether or not to use Firebase App Hosting. Here are instructions to determine if the app needs a server:
4847
Objective: Analyze the provided codebase files to determine if the web application requires a backend for Server-Side Rendering (SSR). Your final output must be a clear "Yes" or "No" followed by a brief justification.
4948
Primary Analysis: package.json

src/mcp/resources/guides/init_hosting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const init_hosting = resource(
2222
2323
**When to Deploy:**
2424
- Introduce Firebase Hosting when developers are ready to deploy their application to production
25-
- Alternative: Developers can deploy later using the \`/deploy\` command
25+
- Alternative: Developers can deploy later using the \`/firebase:deploy\` command
2626
2727
**Deployment Process:**
2828
- Request developer permission before implementing Firebase Hosting

0 commit comments

Comments
 (0)