@sarmadparvez/postgresql-mcp 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/README.md +15 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -68,16 +68,26 @@ Append `?mode=readonly` to the connection string to start the server in read-onl
68
68
 
69
69
  ## Claude Desktop Configuration
70
70
 
71
- Add this to your `claude_desktop_config.json`:
71
+ First, install the package globally:
72
+
73
+ ```bash
74
+ npm install -g @sarmadparvez/postgresql-mcp
75
+ ```
76
+
77
+ Then find the path to the installed binary:
78
+
79
+ ```bash
80
+ which postgresql-mcp
81
+ ```
82
+
83
+ Add this to your `claude_desktop_config.json`, replacing the path with the output of the above command:
72
84
 
73
85
  ```json
74
86
  {
75
87
  "mcpServers": {
76
88
  "postgres": {
77
- "command": "npx",
89
+ "command": "/usr/local/bin/postgresql-mcp",
78
90
  "args": [
79
- "-y",
80
- "@sarmadparvez/postgresql-mcp",
81
91
  "postgresql://user:pass@localhost:5432/mydb"
82
92
  ]
83
93
  }
@@ -91,10 +101,8 @@ For read-only access:
91
101
  {
92
102
  "mcpServers": {
93
103
  "postgres-readonly": {
94
- "command": "npx",
104
+ "command": "/usr/local/bin/postgresql-mcp",
95
105
  "args": [
96
- "-y",
97
- "@sarmadparvez/postgresql-mcp",
98
106
  "postgresql://user:pass@localhost:5432/mydb?mode=readonly"
99
107
  ]
100
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarmadparvez/postgresql-mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "MCP server for PostgreSQL with full read-write support. Works with any PostgreSQL instance — local, Supabase, RDS, or self-hosted.",
5
5
  "main": "index.js",
6
6
  "bin": {