mcp-server-postgresql

mcp-server-postgresql is a JavaScript library designed for interacting with PostgreSQL databases. It simplifies database connection, query execution, and transaction management, enabling developers to perform database operations efficiently. The library also supports error handling and connection pooling, making it useful for developing scalable applications.

GitHub Stars

0

User Rating

Not Rated

Favorites

0

Views

36

Forks

0

Issues

0

README

simple mcp server to to connect postgresql

copy build file index.js 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": []
    }
  }
}