postgres-mcp-safe 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@ A drop-in replacement for the deprecated `@modelcontextprotocol/server-postgres`
5
5
  Lets AI tools (Claude, Cursor, Zed, ...) query a Postgres database, read its schema and explain queries. Swap the
6
6
  package name in your MCP config and keep everything else.
7
7
 
8
- > Status: pre-release. Not on npm or Docker Hub yet.
8
+ [![npm](https://img.shields.io/npm/v/postgres-mcp-safe)](https://www.npmjs.com/package/postgres-mcp-safe) [![ci](https://github.com/Poudel0/postgres-mcp-safe/actions/workflows/ci.yml/badge.svg)](https://github.com/Poudel0/postgres-mcp-safe/actions/workflows/ci.yml)
9
9
 
10
10
  ## Migrating from server-postgres
11
11
 
@@ -14,7 +14,8 @@ try {
14
14
  console.error(
15
15
  `postgres-mcp-safe: no binary for ${process.platform}-${process.arch} (${pkg} is not installed).\n` +
16
16
  "Supported: linux-x64, linux-arm64, darwin-x64, darwin-arm64, win32-x64. " +
17
- "If you installed with --no-optional, reinstall without it.",
17
+ "npm skips this package silently if it can't fetch it, and npx then caches the broken install.\n" +
18
+ "Fix: reinstall without --no-optional / --omit=optional, or for npx clear its cache (rm -rf ~/.npm/_npx) and retry.",
18
19
  );
19
20
  process.exit(1);
20
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postgres-mcp-safe",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Drop-in replacement for @modelcontextprotocol/server-postgres that is actually read-only.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -27,10 +27,10 @@
27
27
  "node": ">=18"
28
28
  },
29
29
  "optionalDependencies": {
30
- "postgres-mcp-safe-linux-arm64": "0.1.1",
31
- "postgres-mcp-safe-linux-x64": "0.1.1",
32
- "postgres-mcp-safe-darwin-x64": "0.1.1",
33
- "postgres-mcp-safe-darwin-arm64": "0.1.1",
34
- "postgres-mcp-safe-win32-x64": "0.1.1"
30
+ "postgres-mcp-safe-linux-arm64": "0.1.2",
31
+ "postgres-mcp-safe-darwin-x64": "0.1.2",
32
+ "postgres-mcp-safe-darwin-arm64": "0.1.2",
33
+ "postgres-mcp-safe-linux-x64": "0.1.2",
34
+ "postgres-mcp-safe-win32-x64": "0.1.2"
35
35
  }
36
36
  }