Back to Home
evilGmonkey icon

uhu-supabase-postgres-mcp

Verified Safe

by 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

Run Command
docker compose up -d

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens2000
Stars0
Forks0
Last Update2026-01-19

Tags

multi-databaseSQLPostgreSQLSupabaseMCPAI-assistantsn8nautomation