The Firebase MCP server comes with a library of pre-written prompts optimized for developing and running an app with Firebase.
You can use these prompts to complete various common tasks or goals with your agentic AI assistants like Antigravity, Gemini CLI and Gemini Code Assist, Firebase Studio, Claude Code and Claude Desktop, Cline, Cursor, GitHub Copilot in VS Code, Windsurf, and more!
Most AI assistants that support MCP provide a convenient way to run these prompts. For example, if you use the Firebase extension for Gemini CLI, these prompts are available as slash commands:
/firebase:init
In Gemini CLI, start typing /firebase: to see a list of available
commands applicable to your app.
Available pre-written prompts
Set up backend services
/firebase:init
Set up Cloud Firestore and Firebase Authentication in your web app.
Write Firebase Security Rules
/firebase:generate_security_rules
Generate and test Firebase Security Rules for Cloud Firestore and Cloud Storage for Firebase.
Add AI features
/firebase:init
Add AI features that use Firebase AI Logic in your mobile or web app.
Deploy to a Firebase hosting service
/firebase:deploy
Deploy your web app to the appropriate Firebase hosting service for your app.
Prioritize & fix stability issues
/crashlytics:connect
Prioritize and fix reported issues in your mobile apps that have already integrated Firebase Crashlytics.