The Supabase Coolify MCP Server enables AI agents to fully manage self-hosted Supabase instances on Coolify. It provides 52 production-ready tools for database migrations (with rollback), edge functions, storage, authentication, and health monitoring. Features include Zod-based input validation, automatic health checks, Supabase CLI integration, and comprehensive verification tools.
Overview
What is Supabase Coolify MCP Server?
The Supabase Coolify MCP Server is a comprehensive TypeScript server designed to manage self-hosted Supabase instances on Coolify, enabling AI agents to handle various tasks such as database migrations, edge functions, and health monitoring.
How to use Supabase Coolify MCP Server?
To use the server, install it via NPM or npx, configure the required environment variables, and then run the server to manage your Supabase instance.
Key features of Supabase Coolify MCP Server?
- Database migrations with rollback support
- Integration with Supabase CLI for local development
- Management of edge functions and storage
- Automatic health checks and input validation
- TypeScript type generation from database schema
Use cases of Supabase Coolify MCP Server?
- Deploying and managing Supabase instances on Coolify.
- Automating database migrations and rollbacks.
- Configuring authentication and storage settings.
- Monitoring the health of Supabase services.
FAQ from Supabase Coolify MCP Server?
-
What are the prerequisites for using this server?
You need Node.js >= 18.0.0 and a Coolify instance with an API token. -
Is it possible to deploy multiple Supabase instances?
Yes, you can deploy and manage multiple instances using this server. -
How do I handle errors during deployment?
The server provides comprehensive error messages and troubleshooting hints.
Server Config
{
"mcpServers": {
"supabase-coolify": {
"command": "npx",
"args": [
"-y",
"supabase-coolify-mcp-server"
],
"env": {
"COOLIFY_API_URL": "http://localhost:8000",
"COOLIFY_API_TOKEN": "your-coolify-api-token",
"SUPABASE_URL": "https://your-supabase-instance.example.com",
"SUPABASE_SERVICE_ROLE_KEY": "your-service-role-key"
}
}
}
}