django-firebase-mcp
by raghavdasila·★ 15·Score 39
A Django-based MCP server providing 14 Firebase tools for AI agents to interact with Firestore, Auth, and Cloud Storage.
Overview
Django Firebase MCP is a production-ready Django application that implements the Model Context Protocol server for Firebase services. It offers comprehensive functionality with 14 tools covering Firebase Authentication (4 tools), Firestore Database (6 tools), and Cloud Storage (4 tools). The server supports both standalone and Django-integrated modes, with HTTP and stdio transport options. The project features clear documentation, state management with Redis or InMemory options, and includes test commands and LangChain integration examples.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you need AI agents to interact with Firebase services and you're already using Django or want Firebase-specific tools.
When NOT to choose this
Don't choose this if you're not using Firebase or prefer non-Django solutions, as it's tied to Firebase ecosystem and Django framework.
Tools this server exposes
12 tools extracted from the READMEfirebase_verify_tokenVerify Firebase ID tokens
firebase_create_custom_tokenCreate custom auth tokens
firebase_get_userGet user info by UID
firebase_delete_userDelete user accounts
firestore_list_collectionsList all collections
firestore_create_documentCreate new documents
firestore_get_documentRetrieve documents
firestore_update_documentUpdate documents
firestore_delete_documentDelete documents
firestore_query_collectionQuery with filters
storage_list_filesList files with filtering
storage_upload_fileUpload files
Comparable tools
Installation
Installation
- Clone the repository:
git clone https://github.com/raghavdasila/django-firebase-mcp.git
cd django-firebase-mcp- Install dependencies:
pip install -r requirements.txt- Set up Firebase credentials:
- Download service account key from Firebase Console
- Save as
credentials.jsonin project root
- Configure environment variables:
Create .env file with:
SERVICE_ACCOUNT_KEY_PATH=credentials.json
FIREBASE_STORAGE_BUCKET=your-project-id.appspot.com
MCP_TRANSPORT=http
MCP_HOST=127.0.0.1
MCP_PORT=8001- Test with standalone agent:
python firebase_admin_mcp/standalone_firebase_agent.pyClaude Desktop Configuration
Add to Claude Desktop config.json:
"mcpServers": {
"django-firebase-mcp": {
"command": "python",
"args": ["manage.py", "run_mcp"],
"env": {
"PYTHONPATH": "/path/to/django-firebase-mcp"
}
}
}FAQ
- How do I test if the MCP server is working?
- Run the standalone agent with `python firebase_admin_mcp/standalone_firebase_agent.py` or test with curl using the provided example in the README.
- What Firebase services are covered by this MCP server?
- The server provides tools for Firebase Authentication (4 tools), Firestore Database (6 tools), and Cloud Storage (4 tools), covering all major Firebase services.
Compare django-firebase-mcp with
Last updated · Auto-generated from public README + GitHub signals.