uhu-supabase-postgres-mcp
Verified Safeby evilGmonkey
Overview
A production-ready Model Context Protocol (MCP) server for secure, multi-database SQL access to Supabase and PostgreSQL instances, built for AI coding assistants and automation workflows.
Installation
docker compose up -dEnvironment Variables
- MCP_TOKEN
- CONN_<name>_HOST
- CONN_<name>_DBNAME
- CONN_<name>_USER
- CONN_<name>_PASSWORD
Security Notes
The server demonstrates a strong security posture with a default read-only mode, bearer token authentication, and robust SQL injection prevention through parameterized queries. A well-defined database role strategy (mcp_readonly and mcp_readwrite) promotes the principle of least privilege. The 'is_readonly' function effectively blocks common write operations. Warnings are logged if the authentication token is not set, preventing silent unauthenticated access. While authentication via query parameters is supported, the documentation correctly recommends using HTTP headers for better security.
Similar Servers
tiger-docs-mcp-server
An MCP server and Claude plugin providing AI assistants with advanced PostgreSQL knowledge through semantic documentation search and curated best practice skills.
DatabaseMcpServer
Provides a robust and secure database access layer for AI assistants, supporting 19 types of databases with single-instance multi-database dynamic switching and over 50 tools for data and schema management.
vcon-mcp
The vCon MCP Server stores, manages, and provides advanced search and AI/ML analysis capabilities for IETF vCon (Virtual Conversation) objects, supporting multi-tenancy and extensibility via plugins.
metabase-ai-assistant
The Metabase AI Assistant integrates an AI agent with Metabase to enable AI-powered data exploration, SQL generation, dashboard creation, and Metabase instance management through an MCP client.