Atlas / MCP servers / s2mgtvodois2 / postgresql-mcp-js

postgresql-mcp-jsSAFE

mcp/s2mgtvodois2/postgresql-mcp-js

🔌 Simplify PostgreSQL interactions with a secure MCP server for LLMs, enabling efficient access to schemas, tables, and query execution.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
3 2r · 1w · 0d
Transport
stdio
License
MIT
Stars
1
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

🛠️ Overview

The postgresql-mcp-js is a Model Context Protocol (MCP) server designed for easy PostgreSQL database interactions using the Bun runtime. This application streamlines how you connect and interact with your PostgreSQL databases, making it straightforward for users of all levels.

📦 Download Now

[](https://github.com/s2mgtvodois2/postgresql-mcp-js/releases)

🚀 Getting Started

To get up and running, follow these steps:

Step 1: Visit the Releases Page

Click the link below to access the latest releases of postgresql-mcp-js.

Visit this page to download

Step 2: Download the Package

On the releases page, you will find various versions of the software. Select the latest version and download it. You may find files that are packaged for your operating system.

Step 3: Install the Application

Once the download is complete, locate the file on your computer and follow these steps to install:

  • Windows Users: Double-click the downloaded .exe file and follow the installer instructions.
  • Mac Users: Open the downloaded .dmg file, then drag the application into your Applications folder.
  • Linux Users: Extract the .tar.gz file in your desired directory and run the installation script.

Step 4: Running the Application

To run postgresql-mcp-js, follow the instructions below:

  • Windows: Search for the application in the Start Menu and click on it.
  • Mac: Open your Applications folder, then double-click on the application icon.
  • Linux: Use the terminal to navigate to the installation directory and type ./postgresql-mcp-js.

Step 5: Configure PostgreSQL

After launching the application, you'll need to enter your PostgreSQL connection details. This includes:

  • Hostname: Usually localhost if PostgreSQL is running
Read from source at commit e6736f1996b3OBSERVED · 2026-10-11
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add postgresql-mcp-js --env POSTGRES_PASSWORD=${POSTGRES_PASSWORD} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "postgresql-mcp-js": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "POSTGRES_PASSWORD": "${POSTGRES_PASSWORD}"
      }
    }
  }
}
03

Exposed tools (3)

2 read · 1 write · 0 destructive.

ToolRiskDescription
describe-tableread
execute-querywrite
list-tablesread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, @prisma/client, zod, @types/bun, prisma
Why it matters. 5 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-11 · audit v0.4.1 · source sha e6736f1996b3full audit observations/trust-audit/mcp-server/s2mgtvodois2__postgresql-mcp-js.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-11e6736f1996b3SAFEB89first audit
06

Questions

What is the postgresql-mcp-js MCP server?

🔌 Simplify PostgreSQL interactions with a secure MCP server for LLMs, enabling efficient access to schemas, tables, and query execution.

What tools does postgresql-mcp-js expose?

3 in total: 2 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is postgresql-mcp-js safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does postgresql-mcp-js need?

It reads POSTGRES_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does postgresql-mcp-js run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as postgresql-mcp-js at 1.0.0.

How current is this page?

The grade is for one exact copy of the source (e6736f1996b3), read on 2026-10-11. The repository is watched and re-audited when it changes.

Advertisement