Claude Desktop · Cursor · VS Code Copilot · Windsurf · Claude Code CLI

PostgreSQL MCP Server Configuration Generator

Inspect schemas and run read-only SQL queries safely from Claude, Cursor, or VS Code. Generate ready-to-paste PostgreSQL MCP JSON for Claude Desktop, Cursor, VS Code Copilot, Windsurf, and Claude Code CLI.

Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
Production TypeScript MCP Server & Security SDK

Production MCP Server & OAuth2 Security Starter Kit (TypeScript)

Ship spec-compliant Streamable-HTTP & stdio MCP servers on Cloudflare Workers, Next.js, or Bun — with Bearer scopes, rate limiting & automatic secret redaction.

★ Or unlock the 3-in-1 Complete Developer Vault (MCP Server SDK + Multi-LLM Router + Creem/Stripe Billing Guard) for $69 (save $34).

Get MCP Server Kit — $35 → Or 3-in-1 Complete Vault — $69 →

Frequently Asked Questions

How do I add the PostgreSQL MCP server to Claude Desktop or Cursor?

Select your client tab above, fill in any required PostgreSQL credentials, and paste the generated JSON into claude_desktop_config.json or .cursor/mcp.json.

How do I avoid committing PostgreSQL credentials to Git?

Switch to the VS Code (.vscode/mcp.json) tab to use ${input:...} secret prompts, or add .cursor/mcp.json to your .gitignore.

28 Ready-to-Use MCP Server Config Generators

AI Coding Rules Generators (CLAUDE.md / .cursorrules / AGENTS.md)