Subchapter 5.18
references/setup/other_agents.mdMarkdown3 KBView on GitHub
If you use another agent (like Windsurf, Cline, or Claude Desktop), follow these steps to install the agent skills and the MCP server.
The agent skills and MCP server should be installed globally for consistent access across projects.
Check if the skills are already installed before proceeding:
npx skills list --agent <agent-name>. If the
output includes firebase-basics, the skills are already installed locally.
Replace <agent-name> with the actual agent name, which can be found
here (opens in a new tab).npx skills list --global --agent <agent-name>firebase-basics, the skills are already installed
globally.npx skills add firebase/agent-skills --agent <agent-name> --skill "*"--yes and --global to choose the installation location
manually. If prompted interactively in the terminal, ensure you send the
appropriate user choices via standard input to complete the installation.firebase-basics is now available.The MCP server allows the agent to interact directly with Firebase projects.
Locate MCP Configuration: Find the configuration file for your agent
(e.g., ~/.codeium/windsurf/mcp_config.json, cline_mcp_settings.json, or
claude_desktop_config.json).
Note: If the document or its containing directory does not exist, create
them and initialize the file with { "mcpServers": {} } before proceeding.
Check Existing Configuration: Open the configuration file and check the
mcpServers section for a firebase entry.
command is "firebase" OR if the
command is "npx" with "firebase-tools" and "mcp" in the args.firebase entry is found, the MCP server is
already configured. Skip step 3 and proceed directly to step 4.Example valid configurations:
"firebase": {
"command": "npx",
"args": ["-y", "firebase-tools@latest", "mcp"]
}OR
"firebase": {
"command": "firebase",
"args": ["mcp"]
}Add or Update Configuration: If the firebase block is missing or
incorrect, add it to the mcpServers object:
"firebase": {
"command": "npx",
"args": [
"-y",
"firebase-tools@latest",
"mcp"
]
}CRITICAL: Merge this configuration into the existing file. You MUST preserve
any other existing servers inside the mcpServers object.
Verify Configuration: Save the file and confirm the firebase block is
present and properly formatted JSON.