- 🌩️ Databases Storm - Unified Database Management System
🌩️ Databases Storm - Unified Database Management System
🌩️ Unified Database Management System - MCP server for orchestrating Supabase and multiple databases
Content
🌩️ Databases Storm - Unified Database Management System
🚀 Overview
Databases Storm è un MCP server che orchestra Supabase (il Firebase open source) e altri database per creare un ecosistema completo di gestione dati. Con Supabase al centro, ottieni automaticamente:
- 🐘 PostgreSQL con estensioni avanzate
- 🔐 Authentication integrata (JWT, OAuth, Magic Links)
- ⚡ Realtime subscriptions via websocket
- 📦 Storage per file e media (S3-compatible)
- 🔄 Edge Functions per logica serverless
- 🛡️ Row Level Security per sicurezza granulare
- 📊 Dashboard di amministrazione built-in
🎯 Perché Supabase + Databases Storm?
Supabase fornisce l'80% di quello che serve per la maggior parte dei progetti. Databases Storm aggiunge:
- Gestione multi-progetto - Deploy e gestione di istanze Supabase separate per ogni progetto
- Database aggiuntivi - Integrazione con Redis, MongoDB, TimescaleDB quando servono
- Orchestrazione unificata - Un singolo MCP server per controllare tutto
- Backup avanzati - Strategie di backup cross-database
- Monitoring esteso - Metriche unificate per tutti i database
🏗️ Architettura
databases-storm/
├── mcp-server/ # MCP server core
├── supabase/ # Supabase configurations
│ ├── projects/ # Project-specific configs
│ ├── migrations/ # Database migrations
│ ├── functions/ # Edge functions
│ └── seed/ # Seed data
├── integrations/ # Altri database
│ ├── redis/
│ ├── mongodb/
│ ├── chromadb/
│ └── timescaledb/
├── orchestration/ # Docker Compose & K8s
├── monitoring/ # Prometheus + Grafana
└── dashboard/ # Admin UI unificata
🚦 Quick Start
# Clone del repository
git clone https://github.com/yourusername/databases-storm.git
cd databases-storm
# Installa dipendenze
npm install
# Avvia Supabase locale
npm run supabase:start
# Avvia Databases Storm
npm run dev
📦 Stack Completo
Core (Supabase)
- PostgreSQL 15 - Database principale con pg_vector, PostGIS, pg_cron
- GoTrue - Authentication service
- Realtime - Websocket per subscriptions
- Storage API - S3-compatible object storage
- Kong - API Gateway
- PostgREST - RESTful API automatica
Database Aggiuntivi
- Redis - Caching e pub/sub
- MongoDB - Document store per dati non strutturati
- ChromaDB - Vector database per AI/embeddings
- TimescaleDB - Time-series data
- Elasticsearch - Full-text search
Monitoring
- Prometheus - Metriche
- Grafana - Visualizzazione
- pgAdmin - PostgreSQL management
- RedisInsight - Redis GUI
🎮 MCP Commands
Supabase Management
// Crea nuovo progetto Supabase
await storm.createSupabaseProject({
name: 'aets-trading',
region: 'eu-central-1',
plan: 'pro',
features: {
vectorExtension: true,
realtimeMultiplier: 2,
storageLimit: '100GB'
}
});
// Configura authentication
await storm.configureAuth({
project: 'aets-trading',
providers: ['github', 'google'],
jwt: {
secret: process.env.JWT_SECRET,
expiry: '7d'
}
});
Database Operations
// Deploy stack completo per un progetto
await storm.deployProjectStack({
project: 'my-app',
databases: {
supabase: {
plan: 'free',
features: ['auth', 'storage', 'realtime']
},
redis: {
size: 'cache.t3.micro',
evictionPolicy: 'allkeys-lru'
},
mongodb: {
size: 'M10',
provider: 'atlas'
}
}
});
Backup & Migration
// Backup cross-database
await storm.backupAll({
project: 'my-app',
includeStorage: true,
compression: 'zstd',
encryption: true
});
// Migrazione da Firebase a Supabase
await storm.migrateFromFirebase({
firebaseConfig: './firebase-export.json',
targetProject: 'my-app-supabase'
});
🔧 Configurazione Esempio
# storm-config.yaml
projects:
aets-trading:
supabase:
url: "https://xyzxyz.supabase.co"
anonKey: "eyJhbGc..."
features:
- auth
- storage
- realtime
- edge-functions
additional_databases:
redis:
host: "redis.aets.local"
purpose: "session-cache"
chromadb:
url: "http://chromadb.aets.local:8000"
purpose: "ai-embeddings"
orchestralia:
supabase:
url: "https://abcabc.supabase.co"
features:
- auth
- storage
additional_databases:
mongodb:
uri: "mongodb://mongo.orchestralia.local"
purpose: "document-store"
📊 Dashboard Unificata
La dashboard web (http://localhost:3000) mostra:
- Supabase Projects - Stato, metriche, users attivi
- Database Health - CPU, memoria, connessioni
- Storage Usage - Spazio utilizzato per progetto
- Auth Analytics - Login, registrazioni, providers
- Realtime Connections - WebSocket attivi
- Backup Status - Ultimi backup, prossimi scheduled
🚀 Use Cases
1. SaaS Multi-Tenant
# Crea tenant isolation con Supabase RLS
storm create-tenant --project=my-saas --tenant=acme-corp
2. Mobile App Backend
# Setup completo per app mobile
storm setup-mobile-backend --name=my-app --auth=social --storage=10GB
3. AI Application
# Supabase + Vector DB per RAG
storm setup-ai-stack --vectors=chromadb --embeddings=openai
🔐 Security Best Practices
- Row Level Security sempre attiva
- Secrets gestiti via Vault/AWS Secrets Manager
- Backup crittografati con rotazione chiavi
- Network isolation tra progetti
- Audit logs centralizzati
📈 Roadmap
- Supabase Cloud integration
- Multi-region replication
- Automatic scaling basato su metriche
- Cost optimization AI
- One-click migrations tra provider
- Disaster recovery automation
🤝 Contributing
Vedi CONTRIBUTING.md per linee guida.
📄 License
MIT License - vedi LICENSE
Powered by Supabase ⚡ Orchestrated by Storm 🌩️
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Playwright McpPlaywright MCP server
WindsurfThe new purpose-built IDE to harness magic
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
DeepChatYour AI Partner on Desktop
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
CursorThe AI Code Editor
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Serper MCP ServerA Serper MCP Server
Amap Maps高德地图官方 MCP Server