Skip to content
skillsaggregatorskillsaggregator
Privacy: This guide links directly to benborla's credential pages. We never ask you to enter, store, or transmit any credential through this site. Zero outbound calls to anything but the vendor's docs.

Postgres Safe SQL MCP — Auth Setup

This MCP requires API key. Follow your provider's documentation to obtain them.

1. Get your credentials

Visit the Postgres Safe SQL MCP documentation or developer dashboard to generate API key. Never paste credentials into our site — add them directly to your shell environment.

2. Set environment variables

macOS / Linux — add to ~/.zshrc or ~/.bashrc:

export DATABASE_URL=YOUR_VALUE_HERE

Windows — run in Command Prompt (then restart your terminal):

setx DATABASE_URL "YOUR_VALUE_HERE"

3. Verify

npx claude-skills doctor

You should see ✅ next to the Postgres Safe SQL MCP entry.

4. Restart Claude Code

Quit and reopen Claude Code, then run /mcp list to confirm the MCP appears.