Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SUPABASE_URL | Yes | The URL of your Supabase instance (e.g., https://your-supabase-instance.example.com) | |
| COOLIFY_API_URL | Yes | The URL of your Coolify instance (e.g., http://localhost:8000) | |
| COOLIFY_TEAM_ID | No | Optional Coolify team ID | |
| SUPABASE_DB_HOST | No | Direct database host (e.g., localhost) | |
| SUPABASE_DB_NAME | No | Direct database name (e.g., postgres) | |
| SUPABASE_DB_PORT | No | Direct database port (e.g., 5432) | |
| SUPABASE_DB_USER | No | Direct database user (e.g., postgres) | |
| COOLIFY_API_TOKEN | Yes | Your Coolify API token with appropriate permissions | |
| SUPABASE_ANON_KEY | No | Your Supabase anonymous key | |
| SUPABASE_PROJECT_ID | No | Your Supabase project ID | |
| SUPABASE_DB_PASSWORD | No | Direct database password | |
| SUPABASE_PROJECT_REF | No | Your Supabase project reference | |
| SUPABASE_FUNCTIONS_URL | No | The URL for Supabase Edge Functions (e.g., https://your-supabase-instance.example.com/functions/v1) | |
| SUPABASE_SERVICE_ROLE_KEY | Yes | Your Supabase service role key (keep this secure!) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_migrations | List all database migrations with their status |
| deploy_migration | Deploy a new database migration. NOTE: For self-hosted Supabase, consider using supabase_migration_new + supabase_db_push instead for better reliability. |
| execute_sql | Execute raw SQL query on Supabase database. NOTE: For self-hosted Supabase, use supabase_cli_execute with "db execute" for better reliability. |
| get_migration_status | Get status of a specific migration |
| list_edge_functions | List all deployed edge functions |
| deploy_edge_function | Deploy a new edge function |
| delete_edge_function | Delete an edge function |
| get_edge_function_logs | Get logs for an edge function |
| invoke_edge_function | Invoke an edge function |
| list_storage_buckets | List all storage buckets |
| create_storage_bucket | Create a new storage bucket |
| delete_storage_bucket | Delete a storage bucket |
| get_auth_config | Get authentication configuration |
| update_auth_config | Update authentication configuration |
| check_supabase_health | Check health of all Supabase services |
| get_supabase_version | Get Supabase version information |
| get_realtime_config | Execute get_realtime_config |
| rollback_migration | Rollback a specific migration (optionally with down SQL) |
| rollback_to_version | Rollback all migrations after a specific version |
| rollback_last_migrations | Rollback the last N migrations |
| create_migration_with_rollback | Create a migration with both up and down SQL for safe rollbacks |
| rollback_migration_with_down_sql | Rollback a migration using its stored down SQL |
| check_cli_installed | Check if Supabase CLI is installed and get version |
| supabase_init | Initialize a new Supabase project |
| supabase_link | Link to a remote Supabase project |
| supabase_start | Start local Supabase development environment |
| supabase_stop | Stop local Supabase development environment |
| supabase_status | Get status of local Supabase services |
| supabase_db_diff | Generate migration from database schema changes |
| supabase_db_push | Push local migrations to remote database |
| supabase_db_reset | Reset local database to initial state |
| supabase_migration_new | Create a new migration file |
| supabase_migration_list | List all migrations (CLI) |
| supabase_migration_repair | Repair migration history |
| supabase_functions_deploy | Deploy edge functions using Supabase CLI |
| supabase_functions_serve | Serve edge functions locally |
| supabase_gen_types | Generate TypeScript types from database schema |
| supabase_cli_execute | Execute arbitrary Supabase CLI command |
| list_coolify_applications | List all Coolify applications |
| get_coolify_application | Get details of a specific Coolify application |
| update_coolify_application_env | Update application environment variables |
| deploy_coolify_application | Deploy a Coolify application |
| start_coolify_application | Start a Coolify application |
| stop_coolify_application | Stop a Coolify application |
| restart_coolify_application | Restart a Coolify application |
| list_coolify_services | List all Coolify services |
| get_coolify_service | Get details of a specific Coolify service |
| start_coolify_service | Start a Coolify service |
| stop_coolify_service | Stop a Coolify service |
| list_coolify_databases | Execute list_coolify_databases |
| get_coolify_database | Execute get_coolify_database |
| get_coolify_logs | Get application logs from Coolify |
| deploy_supabase_to_coolify | Deploy a complete Supabase instance on Coolify |
| update_supabase_deployment | Update an existing Supabase deployment |
| get_deployment_status | Get status of Supabase deployment on Coolify |
| verify_setup | Verify system setup and check health of all services (Coolify, Supabase, CLI) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Database Migrations | All database migrations |
| Edge Functions | All deployed edge functions |
| Storage Buckets | All storage buckets |
| Auth Configuration | Authentication configuration |
| Service Health | Health status of all Supabase services |
| Coolify Applications | All Coolify applications |
| Coolify Services | All Coolify services |
| Coolify Databases | All Coolify databases |