Supabase MCP Server
by alexander-zuev
Verified
live_dangerously
Toggle unsafe mode for either Management API or Database operations.
WHAT THIS TOOL DOES: This tool switches between safe (default) and unsafe operation modes for either the Management API or Database operations.
SAFETY MODES EXPLAINED:
- Database Safety Modes:
- SAFE mode (default): Only low-risk operations like SELECT queries are allowed
- UNSAFE mode: Higher-risk operations including INSERT, UPDATE, DELETE, and schema changes are permitted
- API Safety Modes:
- SAFE mode (default): Only low-risk operations that don't modify state are allowed
- UNSAFE mode: Higher-risk state-changing operations are permitted (except those explicitly blocked for safety)
OPERATION RISK LEVELS: The system categorizes operations by risk level:
- LOW: Safe read operations with minimal impact
- MEDIUM: Write operations that modify data but don't change structure
- HIGH: Operations that modify database structure or important system settings
- EXTREME: Destructive operations that could cause data loss or service disruption
WHEN TO USE THIS TOOL:
- Use this tool BEFORE attempting write operations or schema changes
- Enable unsafe mode only when you need to perform data modifications
- Always return to safe mode after completing write operations
USAGE GUIDELINES:
- Start in safe mode by default for exploration and analysis
- Switch to unsafe mode only when you need to make changes
- Be specific about which service you're enabling unsafe mode for
- Consider the risks before enabling unsafe mode, especially for database operations
- For database operations requiring schema changes, you'll need to enable unsafe mode first
Parameters:
- service: Which service to toggle ("api" or "database")
- enable_unsafe_mode: True to enable unsafe mode, False for safe mode (default: False)
Examples:
- Enable database unsafe mode: live_dangerously(service="database", enable_unsafe_mode=True)
- Return to safe mode after operations: live_dangerously(service="database", enable_unsafe_mode=False)
- Enable API unsafe mode: live_dangerously(service="api", enable_unsafe_mode=True)
Note: This tool affects ALL subsequent operations for the specified service until changed again.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
enable_unsafe_mode | No | ||
service | Yes |