TokenToSeaMCP Hub
中文 Console

MCP PostgreSQL Server

kristofer84

MCP server that provides PostgreSQL database access and operations

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add postgresql --env DATABASE_URL='<DATABASE_URL>' -- npx mcp-postgres@latest

Environment variables

  • DATABASE_URL

Replace the placeholders with your own credentials and keep them out of version control.