Supabase
Supabase’s official server lets AI create tables, query data and review project settings in your Supabase database.
Description from the maker (original English)
PostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
DATABASE_URLValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"postgres": {
"command": "uvx",
"args": [
"postgres-mcp-pro"
],
"env": {
"DATABASE_URL": "your-value"
}
}
}
}Run this in your terminal
claude mcp add postgres --env DATABASE_URL=your-value -- uvx postgres-mcp-proFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"postgres": {
"command": "uvx",
"args": [
"postgres-mcp-pro"
],
"env": {
"DATABASE_URL": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"postgres": {
"type": "stdio",
"command": "uvx",
"args": [
"postgres-mcp-pro"
],
"env": {
"DATABASE_URL": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
The registry name was verified with the GitHub account sparta2025, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: DATABASE_URL
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.4.2) reached the registry 3 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: Supabase, MongoDB MCP Server, Elasticsearch MCP Server
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Supabase’s official server lets AI create tables, query data and review project settings in your Supabase database.
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Postgres MCP Pro — это open-source сервер Model Context Protocol (MCP), предназначенный для помощи разработчикам и AI-агентам на всех этапах разработки: от начального кода и тестирования до деплоя и продакшн-оптимизации.
🙌 Основано на crystaldba/postgres-mcp (MIT, © 2025 Crystal Corp / Johann Schleier-Smith).
Форк развивается и поддерживается sparta2025 — автономный MCP-сервер, Gradio-оболочка, LLM-чат с tool-calling, сертификаты шифрования.
📚 Полная документация: docs/DOCUMENTATION.md — развёртывание (Docker/облако), Gradio-оболочка, подключение клиентов (stdio/SSE), все инструменты и переменные окружения.
Отличается от простого подключения к базе данных следующими возможностями:
Поддерживает транспорты: stdio и SSE.
Запуск проекта и причины его создания
От медленного к молниеносному AI сгенерировал приложение на SQLAlchemy ORM — но оно было слишком медленным. Postgres MCP Pro с Cursor решил проблему за считанные минуты.
👉 Подробнее: movie-app.md
Пример — подключение через psql или pgAdmin
💡 Для запуска через
docker composeзаранее создайте пустые файлы хранилищ
подключений (иначе Docker смонтирует каталоги вместо файлов):
`bash
touch connections.json llm_connections.json
`
docker pull crystaldba/postgres-mcp
pipx)pipx install postgres-mcp-pro
или через uv:
uv pip install postgres-mcp-pro
Консольная команда после установки —
postgres-mcp
(автономный MCP-сервер, stdio по умолчанию;
--transport sseдля SSE).
Откройте конфигурационный файл:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.json{
"mcpServers": { "postgres": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "DATABASE_URI", "crystaldba/postgres-mcp", "--access-mode=unrestricted" ], "env": { "DATABASE_URI": "postgresql://username:password@localhost:5432/dbname" } } } }
pipx{
"mcpServers": { "postgres": { "command": "postgres-mcp", "args": ["--access-mode=unrestricted"], "env": { "DATABASE_URI": "postgresql://username:password@localhost:5432/dbname" } } } }
uv{
"mcpServers": { "postgres": { "command": "uv", "args": [ "run", "postgres-mcp", "--access-mode=unrestricted" ], "env": { "DATABASE_URI": "postgresql://username:password@localhost:5432/dbname" } } } }
--access-mode=unrestricted: полный доступ (dev)--access-mode=restricted: только чтение (prod)⚠️ Флаг
--access-modeподдерживает только легаси-сервер
(
python -m postgres_mcp.server). Автономный MCP-сервер
(
postgres_mcp.autonomous.mcp_server) всегда выполняет переданный SQL;
разграничение делайте на стороне пользователя БД.
Чтобы использовать SSE:
docker run -p 8000:8000 \
-e DATABASE_URI=postgresql://username:password@localhost:5432/dbname \ crystaldba/postgres-mcp --access-mode=unrestricted --transport=sse
Пример для Cursor:
{
"mcpServers": { "postgres": { "type": "sse", "url": "http://localhost:8000/sse" } } }
Нужно для:
pg_stat_statements — для анализа запросовhypopg — симуляция индексовCREATE EXTENSION IF NOT EXISTS pg_stat_statements;
CREATE EXTENSION IF NOT EXISTS hypopg;
Автономный сервер (postgres_mcp.autonomous.mcp_server) предоставляет 15 MCP tools:
| Tool | Назначение |
|---|---|
list_schemas | Список схем БД |
list_objects | Список таблиц, представлений и т.п. |
get_object_details | Подробности по объекту |
execute_sql | Выполнение SQL |
explain_query | EXPLAIN план запроса |
analyze_db_health | Здоровье БД по множеству метрик |
get_top_queries | Самые медленные запросы (pg_stat_statements) |
analyze_index_performance | Анализ использования индексов |
get_active_queries | Выполняющиеся запросы |
get_table_sizes | Размеры таблиц/индексов |
get_database_locks | Текущие блокировки |
format_sql_query | Форматирование SQL (sqlparse) |
get_database_info | Версия, размер БД, расширения, uptime |
manage_encryption_key | Управление Fernet-сертификатами |
list_tools | Список всех инструментов сервера |
| Postgres MCP Pro | Другие MCP-серверы |
|---|---|
| ✅ Проверки здоровья с гарантией | ❌ Генерация LLM |
| ✅ Оптимизация индексов алгоритмом | ❌ Гипотетические советы |
| ✅ Симуляции EXPLAIN | ❌ "Попробуй сам" |
| ✅ Детальный workload-анализ | ❌ Нет анализа запросов |
LLM отлично справляется с генерацией SQL, но медленно, дорого и непредсказуемо. Оптимизация БД давно решается алгоритмами. MCP Pro сочетает лучшее от LLM и классических алгоритмов.
pg_stat_statements, генерация кандидатов, анализ через hypopgOPENAI_API_KEY)psycopg3 с libpqROLLBACK; DROP ...uv, pip, запуск с локальной БД