firebase-local-env-setup

Prerequisite setup for Firebase agent integration: Node.js, CLI authentication, and MCP server installation. Verifies Node.js v20+ installation and guides setup via nvm or official installers for macOS, Linux, and Windows Confirms Firebase CLI availability through npx firebase-tools and authenticates via firebase login with remote environment support Directs agent-specific MCP server and skill installation for Gemini CLI, Antigravity, Claude Code, Cursor, GitHub Copilot, and other platforms Enforces completion of all four verification steps before proceeding to other Firebase tasks

INSTALLATION
npx skills add https://github.com/firebase/agent-skills --skill firebase-local-env-setup
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$2a

# For Zsh

 source ~/.zprofile

 source ~/.zshrc

 ```
  1. Install Node.js:

bash nvm install 24 nvm use 24

For Windows:

  • Request the user to manually install nvm-windows and Node.js, and reply when finished. Stop and wait for the user's confirmation.
  • After the user confirms, verify Node.js is available:
node --version

Alternative: Official Installer

  • Guide the user to download and install the LTS version from nodejs.org.
  • Request the user to manually install Node.js and reply when finished. Stop and wait for the user's confirmation.

2. Verify Firebase CLI

The Firebase CLI is the primary tool for interacting with Firebase services.

  • Action: Run npx -y firebase-tools@latest --version.
  • Handling: Ensure this command runs successfully and outputs a version number.

3. Verify Firebase Authentication

You must be authenticated to manage Firebase projects.

  • Action: Run npx -y firebase-tools@latest login.
  • Handling: If the environment is remote or restricted (no browser access), run npx -y firebase-tools@latest login --no-localhost instead.

4. Install Agent Skills and MCP Server

To fully manage Firebase, the agent needs specific skills and the Firebase MCP server installed. Identify the agent environment you are currently running in and follow the corresponding setup document strictly.

Read the setup document for your current agent:

CRITICAL AGENT RULE: Do NOT proceed with any other Firebase tasks until EVERY step above has been successfully verified and completed.

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card