supabase
mcp-supabase
MCP-сервер Supabase — прямой доступ к Postgres + Storage REST + Auth + Edge Functions + Management API.
Возможности
24 инструмента, охватывающих Database, Storage, Auth, Edge Functions и управление проектами
Прямой Postgres через пул
pg(не требуется Supabase JS client)Поддержка SSL для Supabase pooler
Сервисный ключ роли для административных операций
Токен доступа для Management API
Related MCP server: Supabase MCP Server - Self-Hosted Edition
Настройка
cd mcp-supabase
npm install
cp .env.example .env # Edit with your credentials
node server.cjsПеременные окружения
Переменная | Обязательна | Описание |
| Да | Строка подключения Postgres из дашборда Supabase |
| Да | Сервисный ключ роли для операций Storage/Auth |
| Да | Идентификатор проекта (из URL дашборда) |
| Нет | Персональный токен доступа для Management API |
| Нет | Анонимный ключ для клиентских операций |
Инструменты
База данных
execute_sql— Выполнить произвольный SQLlist_schemas— Список схем базы данныхlist_tables— Список таблиц в схемеget_schema— Получить детали схемы таблицыget_table_row_counts— Получить количество строк для всех таблицrun_rpc— Вызвать функции PostgreSQL
Storage
list_buckets— Список бакетовcreate_bucket— Создать бакетdelete_bucket— Удалить бакетlist_files— Список файлов в бакетеupload_file— Загрузить файлdownload_file— Скачать файл (base64)delete_file— Удалить файл
Auth
list_auth_users— Список пользователейcreate_auth_user— Создать пользователяupdate_auth_user— Обновить пользователяdelete_auth_user— Удалить пользователя
Edge Functions
list_edge_functions— Список развернутых функцийinvoke_edge_function— Вызвать функцию
Management
list_projects— Список всех проектовget_project— Получить детали проекта
Конфигурация MCP
{
"mcpServers": {
"supabase": {
"command": "node",
"args": ["path/to/server.cjs"]
}
}
}Примечания по безопасности
Сервисный ключ роли имеет административный доступ — используйте с осторожностью
Никогда не коммитьте
.envилиconfig.jsonИспользуйте переменные окружения в продакшене
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moni…
Your Supabase account in natural language: run SQL, apply migrations, manage tables, storage, edge f
Backend for AI-built apps: database, auth, files, email, AI, payments, deploy, realtime. 170+ tools.
The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables comprehensive management of self-hosted or cloud Supabase instances with 54+ tools for database operations, authentication, storage, real-time subscriptions, migrations, and monitoring through MCP protocol.-
- FlicenseNot gradedqualityFmaintenanceEnables comprehensive management of self-hosted or cloud Supabase instances with 54+ tools for database operations, authentication, storage, real-time subscriptions, migrations, monitoring, and security auditing.7-
- AlicenseNot gradedqualityDmaintenanceConnects Supabase projects to AI assistants, enabling them to manage database tables, execute SQL queries, and deploy Edge Functions through natural language. It provides a comprehensive suite of tools for project administration, including logs access, documentation search, and environment configuration.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides secure access to Supabase databases via PostgREST API and management tools for projects, schemas, branches, logs, and code generation.MIT