@sarmadparvez/postgresql-mcp 1.0.6 → 1.0.8
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 +25 -1
- package/package.json +21 -5
package/README.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
# postgresql-mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@sarmadparvez/postgresql-mcp)
|
|
4
|
+
[](https://www.npmjs.com/package/@sarmadparvez/postgresql-mcp)
|
|
5
|
+
[](https://opensource.org/licenses/ISC)
|
|
6
|
+
|
|
7
|
+
A [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server for PostgreSQL with full read-write support, atomic transactions, and schema inspection. Works with **Claude Desktop**, **Cursor**, **Windsurf**, and any MCP-compatible AI client.
|
|
8
|
+
|
|
9
|
+
Connect any PostgreSQL database — **local**, **Supabase**, **AWS RDS**, or **self-hosted** — to your AI assistant in seconds.
|
|
10
|
+
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
- Full read-write SQL access (`SELECT`, `INSERT`, `UPDATE`, `DELETE`, `CREATE`, `DROP`)
|
|
14
|
+
- Atomic multi-statement transactions with automatic rollback on failure
|
|
15
|
+
- Schema inspection: columns, types, nullability, defaults, primary keys
|
|
16
|
+
- Optional read-only mode via `?mode=readonly`
|
|
17
|
+
- No cloud lock-in — works with any standard PostgreSQL connection string
|
|
18
|
+
- Single file, minimal dependencies
|
|
4
19
|
|
|
5
20
|
## Why this exists
|
|
6
21
|
|
|
@@ -121,6 +136,15 @@ For read-only access, append `?mode=readonly` to the connection string:
|
|
|
121
136
|
}
|
|
122
137
|
```
|
|
123
138
|
|
|
139
|
+
## Compatible AI Clients
|
|
140
|
+
|
|
141
|
+
This MCP server works with any client that supports the Model Context Protocol:
|
|
142
|
+
|
|
143
|
+
- [Claude Desktop](https://claude.ai/download) (Anthropic)
|
|
144
|
+
- [Cursor](https://www.cursor.com)
|
|
145
|
+
- [Windsurf](https://windsurf.com)
|
|
146
|
+
- Any other MCP-compatible client
|
|
147
|
+
|
|
124
148
|
## Dependencies
|
|
125
149
|
|
|
126
150
|
- [`@modelcontextprotocol/sdk`](https://github.com/modelcontextprotocol/typescript-sdk) — MCP server framework
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarmadparvez/postgresql-mcp",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "MCP server for PostgreSQL with full read-write support. Works with any PostgreSQL instance — local, Supabase, RDS, or self-hosted.",
|
|
3
|
+
"version": "1.0.8",
|
|
4
|
+
"description": "MCP server for PostgreSQL with full read-write support, transactions, and schema inspection. Works with any PostgreSQL instance — local, Supabase, AWS RDS, or self-hosted. Use with Claude, Cursor, Windsurf, and any MCP-compatible AI client.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"postgresql-mcp": "
|
|
7
|
+
"postgresql-mcp": "index.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"index.js"
|
|
@@ -14,18 +14,34 @@
|
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"mcp",
|
|
17
|
+
"mcp-server",
|
|
17
18
|
"model-context-protocol",
|
|
18
19
|
"postgresql",
|
|
19
20
|
"postgres",
|
|
21
|
+
"database",
|
|
22
|
+
"sql",
|
|
20
23
|
"ai",
|
|
21
24
|
"claude",
|
|
22
|
-
"
|
|
25
|
+
"cursor",
|
|
26
|
+
"windsurf",
|
|
27
|
+
"llm",
|
|
28
|
+
"supabase",
|
|
29
|
+
"rds",
|
|
30
|
+
"aws-rds",
|
|
31
|
+
"read-write",
|
|
32
|
+
"transactions",
|
|
33
|
+
"schema",
|
|
34
|
+
"anthropic",
|
|
35
|
+
"tool-use",
|
|
36
|
+
"ai-tools",
|
|
37
|
+
"postgres-mcp",
|
|
38
|
+
"postgresql-mcp"
|
|
23
39
|
],
|
|
24
40
|
"author": "sarmadparvez",
|
|
25
41
|
"license": "ISC",
|
|
26
42
|
"repository": {
|
|
27
43
|
"type": "git",
|
|
28
|
-
"url": "https://github.com/sarmadparvez/postgresql-mcp.git"
|
|
44
|
+
"url": "git+https://github.com/sarmadparvez/postgresql-mcp.git"
|
|
29
45
|
},
|
|
30
46
|
"homepage": "https://github.com/sarmadparvez/postgresql-mcp#readme",
|
|
31
47
|
"engines": {
|