MCP Catalogs
Home

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.

databasecloud-storagedeveloper-tools
3
Forks
3
Open issues
11 mo ago
Last commit
2d ago
Indexed

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:

you:Building AI agents that need to interact with Firebase databases and storage
you:Creating applications that require user authentication through Firebase
you:Developing prototypes with real backend services using MCP tools
you:How do I test if the MCP server is working?
you:What Firebase services are covered by this MCP server?

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 README
  • firebase_verify_token

    Verify Firebase ID tokens

  • firebase_create_custom_token

    Create custom auth tokens

  • firebase_get_user

    Get user info by UID

  • firebase_delete_user

    Delete user accounts

  • firestore_list_collections

    List all collections

  • firestore_create_document

    Create new documents

  • firestore_get_document

    Retrieve documents

  • firestore_update_document

    Update documents

  • firestore_delete_document

    Delete documents

  • firestore_query_collection

    Query with filters

  • storage_list_files

    List files with filtering

  • storage_upload_file

    Upload files

Comparable tools

firebase-admin-pythongoogle-cloud-firestore-mcpweb-sockets-mcpshell-mcp

Installation

Installation

  1. Clone the repository:
git clone https://github.com/raghavdasila/django-firebase-mcp.git
cd django-firebase-mcp
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up Firebase credentials:
  • Download service account key from Firebase Console
  • Save as credentials.json in project root
  1. 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
  1. Test with standalone agent:
python firebase_admin_mcp/standalone_firebase_agent.py

Claude 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.