Developer Troubleshooting EngineInstant OS Fixes

MCP Error Decoder

Search exact error strings and stack traces from Claude Desktop, Cursor, and OpenAI Codex CLI. Inspect root causes and copy verified terminal fixes.

Scan Config in Linter
Category:
Database IntegrationHigh

PostgreSQL: no pg_hba.conf entry for host / SSL required

Symptom

PostgreSQL MCP server fails to connect to Supabase, Neon, AWS RDS, or Render databases.

Root Cause

Cloud PostgreSQL instances reject unencrypted plaintext SSL connections by default.

Remediation & Quick Fix

Append '?sslmode=require' to your connection URL in the MCP configuration args or env block.

OS Diagnostic Commands:
mac
# Test secure DB connection:
psql "postgresql://user:pass@ep-host.neon.tech/neondb?sslmode=require"
windows
# Test secure DB connection in PowerShell:
psql.exe "postgresql://user:pass@ep-host.neon.tech/neondb?sslmode=require"
linux
# Test secure DB connection:
psql "postgresql://user:pass@ep-host.neon.tech/neondb?sslmode=require"
Verified Configuration Example:
{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postgres",
        "postgresql://user:password@ep-host.neon.tech/neondb?sslmode=require"
      ]
    }
  }
}