Is ainative-postgres-mcp safe?
Zero-config Postgres MCP server with auto-provisioning. Drop-in replacement for @modelcontextprotocol/server-postgres — no DATABASE_URL needed. Auto-provisions a managed PostgreSQL instance with pgvector on first run.
This server can change things — files, a browser, a database, or paid online services. Limit what it can reach.
Why: writes or deletes files; queries a database.
What it can do
- Writes or deletes files
- Reads files
- Queries a database
- Needs API keys or tokens
Tools it offers your AI (5):
- query
- list_tables
- describe_table
- create_table
- insert
How to use it safely
- ✓ Point it at one project folder, never your home directory or a whole drive.
- ✓ Only give it the folders it needs; files it reads can end up in the AI’s context.
- ✓ Give it a read-only database user unless writes are required.
- ✓ Use a key with the smallest permissions available, and never paste a production key into a shared config.
- ✓ Pin the version (below) so an update can't change what it does without you noticing.
Code patterns worth reviewing
Automated pattern matches in the published package. Some are expected for this kind of server, and some may be false positives — they are pointers for review, not confirmed vulnerabilities.
TLS certificate verification disabled
HTTPS certificate checking is turned off, so the agent will accept any certificate — including an attacker's.
index.js:291
Install it pinned
{
"mcpServers": {
"ainative-postgres": {
"command": "npx",
"args": ["-y", "ainative-postgres-mcp@1.0.2"]
}
}
}Check your whole MCP setup
Agent Verify checks the servers in your Claude, Cursor and VS Code config — including whole-drive access and keys stored in plain text.
Maintain ainative-postgres-mcp?
Show users you've thought about access: add the badge below. If something here is wrong or you've released a fix, ask for a re-scan — we update pages on request.
[](https://aimodularity.com/agentverify/mcp/ainative-postgres-mcp/)
Agent Verify reads the package published on npm as text — it is never installed or run. Ratings describe capability, not intent, and are an automated, evidence-based check, not a guarantee. Scanner 2.0.0.