mcp-server-postgresql

tonguyenducmanh/mcp-server-postgresql

3.2

If you are the rightful owner of mcp-server-postgresql and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This document provides a comprehensive overview of a Model Context Protocol (MCP) server configured to connect to a PostgreSQL database.

simple mcp server to to connect postgresql

copy build file into folder config mcp bellow

config in cline_mcp_settings.json

{
  "mcpServers": {
    "postgres": {
      "command": "node",
      "args": [
        "C:/Users/tdmanh1/Documents/Cline/MCP/postgres-server/build/index.js"
      ],
      "env": {
        "POSTGRES_HOST": "192.168.41.129",
        "POSTGRES_PORT": "5432",
        "POSTGRES_DB": "db_w4m3nb_2014",
        "POSTGRES_USER": "admin",
        "POSTGRES_PASSWORD": "12345678@Abc"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}