@sarmadparvez/postgresql-mcp 1.0.3 → 1.0.4
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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ This server is the alternative for everything else: local PostgreSQL, self-hoste
|
|
|
23
23
|
npm install -g @sarmadparvez/postgresql-mcp
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
Or run directly without installing:
|
|
26
|
+
Or run directly without installing (requires npm 7+ / Node.js 18+):
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
29
|
npx @sarmadparvez/postgresql-mcp <postgresql-connection-string>
|
|
@@ -45,7 +45,7 @@ postgresql-mcp postgresql://user:pass@localhost:5432/mydb
|
|
|
45
45
|
postgresql-mcp postgresql://user:pass@localhost:5432/mydb?mode=readonly
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Or with `npx` (
|
|
48
|
+
Or with `npx` (requires npm 7+ / Node.js 18+):
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
51
|
npx @sarmadparvez/postgresql-mcp postgresql://user:pass@localhost:5432/mydb
|
|
@@ -80,13 +80,13 @@ Then find the path to the installed binary:
|
|
|
80
80
|
which postgresql-mcp
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
Add this to your `claude_desktop_config.json`, replacing
|
|
83
|
+
Add this to your `claude_desktop_config.json`, replacing `/path/to/postgresql-mcp` with the output of the above command:
|
|
84
84
|
|
|
85
85
|
```json
|
|
86
86
|
{
|
|
87
87
|
"mcpServers": {
|
|
88
88
|
"postgres": {
|
|
89
|
-
"command": "/
|
|
89
|
+
"command": "/path/to/postgresql-mcp",
|
|
90
90
|
"args": [
|
|
91
91
|
"postgresql://user:pass@localhost:5432/mydb"
|
|
92
92
|
]
|
|
@@ -101,7 +101,7 @@ For read-only access:
|
|
|
101
101
|
{
|
|
102
102
|
"mcpServers": {
|
|
103
103
|
"postgres-readonly": {
|
|
104
|
-
"command": "/
|
|
104
|
+
"command": "/path/to/postgresql-mcp",
|
|
105
105
|
"args": [
|
|
106
106
|
"postgresql://user:pass@localhost:5432/mydb?mode=readonly"
|
|
107
107
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarmadparvez/postgresql-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
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": {
|