awslabs.postgres-mcp-server 1.0.4__tar.gz → 1.0.7__tar.gz

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 (26) hide show
  1. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/PKG-INFO +31 -2
  2. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/README.md +30 -1
  3. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/awslabs/postgres_mcp_server/__init__.py +1 -1
  4. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/pyproject.toml +1 -1
  5. awslabs_postgres_mcp_server-1.0.7/uv-requirements.txt +24 -0
  6. awslabs_postgres_mcp_server-1.0.4/uv-requirements.txt +0 -26
  7. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/.gitignore +0 -0
  8. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/.python-version +0 -0
  9. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/CHANGELOG.md +0 -0
  10. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/Dockerfile +0 -0
  11. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/LICENSE +0 -0
  12. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/NOTICE +0 -0
  13. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/awslabs/__init__.py +0 -0
  14. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/awslabs/postgres_mcp_server/connection/__init__.py +0 -0
  15. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/awslabs/postgres_mcp_server/connection/abstract_db_connection.py +0 -0
  16. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/awslabs/postgres_mcp_server/connection/db_connection_singleton.py +0 -0
  17. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/awslabs/postgres_mcp_server/connection/psycopg_pool_connection.py +0 -0
  18. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/awslabs/postgres_mcp_server/connection/rds_api_connection.py +0 -0
  19. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/awslabs/postgres_mcp_server/mutable_sql_detector.py +0 -0
  20. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/awslabs/postgres_mcp_server/server.py +0 -0
  21. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/docker-healthcheck.sh +0 -0
  22. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/tests/conftest.py +0 -0
  23. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/tests/test_psycopg_connector.py +0 -0
  24. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/tests/test_server.py +0 -0
  25. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/tests/test_singleton.py +0 -0
  26. {awslabs_postgres_mcp_server-1.0.4 → awslabs_postgres_mcp_server-1.0.7}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awslabs.postgres-mcp-server
3
- Version: 1.0.4
3
+ Version: 1.0.7
4
4
  Summary: An AWS Labs Model Context Protocol (MCP) server for postgres
5
5
  Project-URL: homepage, https://awslabs.github.io/mcp/
6
6
  Project-URL: docs, https://awslabs.github.io/mcp/servers/postgres-mcp-server/
@@ -55,7 +55,7 @@ An AWS Labs Model Context Protocol (MCP) server for Aurora Postgres
55
55
 
56
56
  | Cursor | VS Code |
57
57
  |:------:|:-------:|
58
- | [![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](https://cursor.com/install-mcp?name=awslabs.postgres-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMucG9zdGdyZXMtbWNwLXNlcnZlckBsYXRlc3QgLS1jb25uZWN0aW9uLXN0cmluZyBwb3N0Z3Jlc3FsOi8vW3VzZXJuYW1lXTpbcGFzc3dvcmRdQFtob3N0XTpbcG9ydF0vW2RhdGFiYXNlXSIsImVudiI6eyJGQVNUTUNQX0xPR19MRVZFTCI6IkVSUk9SIn0sImRpc2FibGVkIjpmYWxzZSwiYXV0b0FwcHJvdmUiOltdLCJ0cmFuc3BvcnRUeXBlIjoic3RkaW8iLCJhdXRvU3RhcnQiOnRydWV9) | [![Install on VS Code](https://img.shields.io/badge/Install_on-VS_Code-FF9900?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=PostgreSQL%20MCP%20Server&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22awslabs.postgres-mcp-server%40latest%22%2C%22--connection-string%22%2C%22postgresql%3A%2F%2F%5Busername%5D%3A%5Bpassword%5D%40%5Bhost%5D%3A%5Bport%5D%2F%5Bdatabase%5D%22%5D%2C%22env%22%3A%7B%22FASTMCP_LOG_LEVEL%22%3A%22ERROR%22%7D%2C%22disabled%22%3Afalse%2C%22autoApprove%22%3A%5B%5D%2C%22transportType%22%3A%22stdio%22%2C%22autoStart%22%3Atrue%7D) |
58
+ | [![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](https://cursor.com/en/install-mcp?name=awslabs.postgres-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMucG9zdGdyZXMtbWNwLXNlcnZlckBsYXRlc3QgLS1jb25uZWN0aW9uLXN0cmluZyBwb3N0Z3Jlc3FsOi8vW3VzZXJuYW1lXTpbcGFzc3dvcmRdQFtob3N0XTpbcG9ydF0vW2RhdGFiYXNlXSIsImVudiI6eyJGQVNUTUNQX0xPR19MRVZFTCI6IkVSUk9SIn0sImRpc2FibGVkIjpmYWxzZSwiYXV0b0FwcHJvdmUiOltdLCJ0cmFuc3BvcnRUeXBlIjoic3RkaW8iLCJhdXRvU3RhcnQiOnRydWV9) | [![Install on VS Code](https://img.shields.io/badge/Install_on-VS_Code-FF9900?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=PostgreSQL%20MCP%20Server&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22awslabs.postgres-mcp-server%40latest%22%2C%22--connection-string%22%2C%22postgresql%3A%2F%2F%5Busername%5D%3A%5Bpassword%5D%40%5Bhost%5D%3A%5Bport%5D%2F%5Bdatabase%5D%22%5D%2C%22env%22%3A%7B%22FASTMCP_LOG_LEVEL%22%3A%22ERROR%22%7D%2C%22disabled%22%3Afalse%2C%22autoApprove%22%3A%5B%5D%2C%22transportType%22%3A%22stdio%22%2C%22autoStart%22%3Atrue%7D) |
59
59
 
60
60
  Configure the MCP server in your MCP client configuration (e.g., for Amazon Q Developer CLI, edit `~/.aws/amazonq/mcp.json`):
61
61
 
@@ -115,6 +115,35 @@ Configure the MCP server in your MCP client configuration (e.g., for Amazon Q De
115
115
 
116
116
  Note: The `--port` parameter is optional and defaults to 5432 (the standard PostgreSQL port). You only need to specify it if your PostgreSQL instance uses a non-standard port.
117
117
 
118
+ ### Windows Installation
119
+
120
+ For Windows users, the MCP server configuration format is slightly different:
121
+
122
+ ```json
123
+ {
124
+ "mcpServers": {
125
+ "awslabs.postgres-mcp-server": {
126
+ "disabled": false,
127
+ "timeout": 60,
128
+ "type": "stdio",
129
+ "command": "uv",
130
+ "args": [
131
+ "tool",
132
+ "run",
133
+ "--from",
134
+ "awslabs.postgres-mcp-server@latest",
135
+ "awslabs.postgres-mcp-server.exe"
136
+ ],
137
+ "env": {
138
+ "FASTMCP_LOG_LEVEL": "ERROR",
139
+ "AWS_PROFILE": "your-aws-profile",
140
+ "AWS_REGION": "us-east-1"
141
+ }
142
+ }
143
+ }
144
+ }
145
+ ```
146
+
118
147
  ### Build and install docker image locally on the same host of your LLM client
119
148
 
120
149
  1. 'git clone https://github.com/awslabs/mcp.git'
@@ -24,7 +24,7 @@ An AWS Labs Model Context Protocol (MCP) server for Aurora Postgres
24
24
 
25
25
  | Cursor | VS Code |
26
26
  |:------:|:-------:|
27
- | [![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](https://cursor.com/install-mcp?name=awslabs.postgres-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMucG9zdGdyZXMtbWNwLXNlcnZlckBsYXRlc3QgLS1jb25uZWN0aW9uLXN0cmluZyBwb3N0Z3Jlc3FsOi8vW3VzZXJuYW1lXTpbcGFzc3dvcmRdQFtob3N0XTpbcG9ydF0vW2RhdGFiYXNlXSIsImVudiI6eyJGQVNUTUNQX0xPR19MRVZFTCI6IkVSUk9SIn0sImRpc2FibGVkIjpmYWxzZSwiYXV0b0FwcHJvdmUiOltdLCJ0cmFuc3BvcnRUeXBlIjoic3RkaW8iLCJhdXRvU3RhcnQiOnRydWV9) | [![Install on VS Code](https://img.shields.io/badge/Install_on-VS_Code-FF9900?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=PostgreSQL%20MCP%20Server&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22awslabs.postgres-mcp-server%40latest%22%2C%22--connection-string%22%2C%22postgresql%3A%2F%2F%5Busername%5D%3A%5Bpassword%5D%40%5Bhost%5D%3A%5Bport%5D%2F%5Bdatabase%5D%22%5D%2C%22env%22%3A%7B%22FASTMCP_LOG_LEVEL%22%3A%22ERROR%22%7D%2C%22disabled%22%3Afalse%2C%22autoApprove%22%3A%5B%5D%2C%22transportType%22%3A%22stdio%22%2C%22autoStart%22%3Atrue%7D) |
27
+ | [![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](https://cursor.com/en/install-mcp?name=awslabs.postgres-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMucG9zdGdyZXMtbWNwLXNlcnZlckBsYXRlc3QgLS1jb25uZWN0aW9uLXN0cmluZyBwb3N0Z3Jlc3FsOi8vW3VzZXJuYW1lXTpbcGFzc3dvcmRdQFtob3N0XTpbcG9ydF0vW2RhdGFiYXNlXSIsImVudiI6eyJGQVNUTUNQX0xPR19MRVZFTCI6IkVSUk9SIn0sImRpc2FibGVkIjpmYWxzZSwiYXV0b0FwcHJvdmUiOltdLCJ0cmFuc3BvcnRUeXBlIjoic3RkaW8iLCJhdXRvU3RhcnQiOnRydWV9) | [![Install on VS Code](https://img.shields.io/badge/Install_on-VS_Code-FF9900?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=PostgreSQL%20MCP%20Server&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22awslabs.postgres-mcp-server%40latest%22%2C%22--connection-string%22%2C%22postgresql%3A%2F%2F%5Busername%5D%3A%5Bpassword%5D%40%5Bhost%5D%3A%5Bport%5D%2F%5Bdatabase%5D%22%5D%2C%22env%22%3A%7B%22FASTMCP_LOG_LEVEL%22%3A%22ERROR%22%7D%2C%22disabled%22%3Afalse%2C%22autoApprove%22%3A%5B%5D%2C%22transportType%22%3A%22stdio%22%2C%22autoStart%22%3Atrue%7D) |
28
28
 
29
29
  Configure the MCP server in your MCP client configuration (e.g., for Amazon Q Developer CLI, edit `~/.aws/amazonq/mcp.json`):
30
30
 
@@ -84,6 +84,35 @@ Configure the MCP server in your MCP client configuration (e.g., for Amazon Q De
84
84
 
85
85
  Note: The `--port` parameter is optional and defaults to 5432 (the standard PostgreSQL port). You only need to specify it if your PostgreSQL instance uses a non-standard port.
86
86
 
87
+ ### Windows Installation
88
+
89
+ For Windows users, the MCP server configuration format is slightly different:
90
+
91
+ ```json
92
+ {
93
+ "mcpServers": {
94
+ "awslabs.postgres-mcp-server": {
95
+ "disabled": false,
96
+ "timeout": 60,
97
+ "type": "stdio",
98
+ "command": "uv",
99
+ "args": [
100
+ "tool",
101
+ "run",
102
+ "--from",
103
+ "awslabs.postgres-mcp-server@latest",
104
+ "awslabs.postgres-mcp-server.exe"
105
+ ],
106
+ "env": {
107
+ "FASTMCP_LOG_LEVEL": "ERROR",
108
+ "AWS_PROFILE": "your-aws-profile",
109
+ "AWS_REGION": "us-east-1"
110
+ }
111
+ }
112
+ }
113
+ }
114
+ ```
115
+
87
116
  ### Build and install docker image locally on the same host of your LLM client
88
117
 
89
118
  1. 'git clone https://github.com/awslabs/mcp.git'
@@ -14,4 +14,4 @@
14
14
 
15
15
  """awslabs.postgres-mcp-server"""
16
16
 
17
- __version__ = '1.0.4'
17
+ __version__ = '1.0.7'
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "awslabs.postgres-mcp-server"
3
- version = "1.0.4"
3
+ version = "1.0.7"
4
4
  description = "An AWS Labs Model Context Protocol (MCP) server for postgres"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -0,0 +1,24 @@
1
+ # This file was autogenerated by uv via the following command:
2
+ # echo "uv==0.8.10" > uv-requirements.in
3
+ # uv pip compile --generate-hashes --output-file=uv-requirements.txt --strip-extras --python=3.10 uv-requirements.in
4
+ uv==0.8.10 \
5
+ --hash=sha256:31e4fc37ee94b94c032384a0957ad32ba7dce4ce6c04b4880fd3e31e25e51a82 \
6
+ --hash=sha256:36a5ce708d52388c37043e7335f9eb3fea5a19a56166a2cc6adb365179a1cd77 \
7
+ --hash=sha256:38286d230daad82388469c8dc7a1d2f5dc279c11178319c886d1a88d7938e513 \
8
+ --hash=sha256:3e190cee3bb2b4f574a419eef87ae8e33f713e9cd6f856b83277ece70ad9ca9b \
9
+ --hash=sha256:3fdf89fc40af9902141c39ed943bcfca15664623363335eb032a44f22001e2b4 \
10
+ --hash=sha256:4cc190d403a89e46d13cec83b6f8e8d7d07aaf1e5a996eac9a3f0c2a8cd92537 \
11
+ --hash=sha256:57b71dc79eff25a5419d3fe4a563d3b9397f55d789f685ef27f43f033b31f482 \
12
+ --hash=sha256:86fe044c2be43977566a0d184a487edd7aace2febb757fd95927684b629ef50b \
13
+ --hash=sha256:88df34c32555064fae459cce665757619fd1af7deb2dc393352b15d909d2d131 \
14
+ --hash=sha256:9ad21eeaa4156a1bf5ed85903f80db06e2c02badd3a587ba98d3171517960555 \
15
+ --hash=sha256:a5495b5a6e3111c03cf5e4dbdd598bc8fd1da887e3920d58cd5a2d4c8bc9a473 \
16
+ --hash=sha256:ab072cd3bf2f9dc264659a1ff48ad91a910ac4830bcfe965e2d3f89c86646f46 \
17
+ --hash=sha256:af8a5526b0e331775a264fa0dbccfd53c183cb974f269a208af136d7561f9eb2 \
18
+ --hash=sha256:b00637c63d5dfc9f879281c5c91db2bb909ab1f9ab275dab015e7fb6cac6be5b \
19
+ --hash=sha256:b3ff3c451fcd23ea78356d8c18e802d0e423cbe655273601e3ec039a51b33286 \
20
+ --hash=sha256:c4a493cd4b15b3aef11523531aff96a77a586666a63e842fa437966b7b7ee62d \
21
+ --hash=sha256:defc50bb319be2d58be74a680710cd4b7697e88d5f79974eacd354df95f0b6b0 \
22
+ --hash=sha256:e0a02bcec766eb0862b7082ab746b204add7d9fcaa62322502d159b5a7ccc54a \
23
+ --hash=sha256:eb79a46d8099f563ef58237bf4e9009f876a40145e757ea883a92b24b724d01e
24
+ # via -r uv-requirements.in
@@ -1,26 +0,0 @@
1
- #
2
- # This file is autogenerated by pip-compile with Python 3.10
3
- # by the following command:
4
- #
5
- # pip-compile --generate-hashes --output-file=uv-requirements.txt --strip-extras uv-requirements-0.7.13.in
6
- #
7
- uv==0.7.13 \
8
- --hash=sha256:05f3c03c4ea55d294f3da725b6c2c2ff544754c18552da7594def4ec3889dcfb \
9
- --hash=sha256:1afdbfcabc3425b383141ba42d413841c0a48b9ee0f4da65459313275e3cea84 \
10
- --hash=sha256:33837aca7bdf02d47554d5d44f9e71756ee17c97073b07b4afead25309855bc7 \
11
- --hash=sha256:4efa555b217e15767f0691a51d435f7bb2b0bf473fdfd59f173aeda8a93b8d17 \
12
- --hash=sha256:4f828174e15a557d3bc0f809de76135c3b66bcbf524657f8ced9d22fc978b89c \
13
- --hash=sha256:527a12d0c2f4d15f72b275b6f4561ae92af76dd59b4624796fddd45867f13c33 \
14
- --hash=sha256:5786a29e286f2cc3cbda13a357fd9a4dd5bf1d7448a9d3d842b26b4f784a3a86 \
15
- --hash=sha256:59915aec9fd2b845708a76ddc6c0639cfc99b6e2811854ea2425ee7552aff0e9 \
16
- --hash=sha256:721b058064150fc1c6d88e277af093d1b4f8bb7a59546fe9969d9ff7dbe3f6fd \
17
- --hash=sha256:866cad0d04a7de1aaa3c5cbef203f9d3feef9655972dcccc3283d60122db743b \
18
- --hash=sha256:88fcf2bfbb53309531a850af50d2ea75874099b19d4159625d0b4f88c53494b9 \
19
- --hash=sha256:8c0c29a2089ff9011d6c3abccd272f3ee6d0e166dae9e5232099fd83d26104d9 \
20
- --hash=sha256:9c457a84cfbe2019ba301e14edd3e1c950472abd0b87fc77622ab3fc475ba012 \
21
- --hash=sha256:9d2952a1e74c7027347c74cee1cb2be09121a5290db38498b8b17ff585f73748 \
22
- --hash=sha256:a51006c7574e819308d92a3452b22d5bd45ef8593a4983b5856aa7cb8220885f \
23
- --hash=sha256:b1af81e57d098b21b28f42ec756f0e26dce2341d59ba4e4f11759bc3ca2c0a99 \
24
- --hash=sha256:e077dcac19e564cae8b4223b7807c2f617a59938f8142ca77fc6348ae9c6d0aa \
25
- --hash=sha256:f28e70baadfebe71dcc2d9505059b988d75e903fc62258b102eb87dc4b6994a3
26
- # via -r uv-requirements-0.7.13.in (contents of `uv==0.7.13`)