awslabs.postgres-mcp-server 0.0.5__py3-none-any.whl → 1.0.0__py3-none-any.whl
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.
- awslabs/postgres_mcp_server/server.py +2 -9
- {awslabs_postgres_mcp_server-0.0.5.dist-info → awslabs_postgres_mcp_server-1.0.0.dist-info}/METADATA +1 -1
- awslabs_postgres_mcp_server-1.0.0.dist-info/RECORD +10 -0
- awslabs_postgres_mcp_server-0.0.5.dist-info/RECORD +0 -10
- {awslabs_postgres_mcp_server-0.0.5.dist-info → awslabs_postgres_mcp_server-1.0.0.dist-info}/WHEEL +0 -0
- {awslabs_postgres_mcp_server-0.0.5.dist-info → awslabs_postgres_mcp_server-1.0.0.dist-info}/entry_points.txt +0 -0
- {awslabs_postgres_mcp_server-0.0.5.dist-info → awslabs_postgres_mcp_server-1.0.0.dist-info}/licenses/LICENSE +0 -0
- {awslabs_postgres_mcp_server-0.0.5.dist-info → awslabs_postgres_mcp_server-1.0.0.dist-info}/licenses/NOTICE +0 -0
|
@@ -372,8 +372,6 @@ def main():
|
|
|
372
372
|
parser = argparse.ArgumentParser(
|
|
373
373
|
description='An AWS Labs Model Context Protocol (MCP) server for postgres'
|
|
374
374
|
)
|
|
375
|
-
parser.add_argument('--sse', action='store_true', help='Use SSE transport')
|
|
376
|
-
parser.add_argument('--port', type=int, default=8888, help='Port to run the server on')
|
|
377
375
|
parser.add_argument('--resource_arn', required=True, help='ARN of the RDS cluster')
|
|
378
376
|
parser.add_argument(
|
|
379
377
|
'--secret_arn',
|
|
@@ -420,13 +418,8 @@ def main():
|
|
|
420
418
|
|
|
421
419
|
logger.success('Successfully validated RDS API db connection to Postgres')
|
|
422
420
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
mcp.settings.port = args.port
|
|
426
|
-
mcp.run(transport='sse')
|
|
427
|
-
else:
|
|
428
|
-
logger.info('Starting Postgres MCP server')
|
|
429
|
-
mcp.run()
|
|
421
|
+
logger.info('Starting Postgres MCP server')
|
|
422
|
+
mcp.run()
|
|
430
423
|
|
|
431
424
|
|
|
432
425
|
if __name__ == '__main__':
|
{awslabs_postgres_mcp_server-0.0.5.dist-info → awslabs_postgres_mcp_server-1.0.0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: awslabs.postgres-mcp-server
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 1.0.0
|
|
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/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
awslabs/__init__.py,sha256=47wJeKcStxEJwX7SVVV2pnAWYR8FxcaYoT3YTmZ5Plg,674
|
|
2
|
+
awslabs/postgres_mcp_server/__init__.py,sha256=J9QAlEAe6DiFJ9irk9cOaM7NINate24hfP1RFiywKww,616
|
|
3
|
+
awslabs/postgres_mcp_server/mutable_sql_detector.py,sha256=1Rywe9i7zkAT2JxG_QIc1nr1v6J49yUjfwVTvVpZe3A,2655
|
|
4
|
+
awslabs/postgres_mcp_server/server.py,sha256=frD6WP6Iixdzs8qOh-2vAXkbOxVNNp_TuQYxVVcQPJU,14440
|
|
5
|
+
awslabs_postgres_mcp_server-1.0.0.dist-info/METADATA,sha256=4sXbcBYaEGxKpxTf-WRuGcX3Sw1b2uJ-D9cKCt0z-w8,4897
|
|
6
|
+
awslabs_postgres_mcp_server-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
+
awslabs_postgres_mcp_server-1.0.0.dist-info/entry_points.txt,sha256=qHCxq_MTANxTB8-mA7Wl6H71qWEMwmG-I6_koII4AXY,88
|
|
8
|
+
awslabs_postgres_mcp_server-1.0.0.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
|
|
9
|
+
awslabs_postgres_mcp_server-1.0.0.dist-info/licenses/NOTICE,sha256=qMIIe3h7I1Y4-CKejn50wbSKXEZLWhYHdKaRwKdXN9M,95
|
|
10
|
+
awslabs_postgres_mcp_server-1.0.0.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
awslabs/__init__.py,sha256=47wJeKcStxEJwX7SVVV2pnAWYR8FxcaYoT3YTmZ5Plg,674
|
|
2
|
-
awslabs/postgres_mcp_server/__init__.py,sha256=J9QAlEAe6DiFJ9irk9cOaM7NINate24hfP1RFiywKww,616
|
|
3
|
-
awslabs/postgres_mcp_server/mutable_sql_detector.py,sha256=1Rywe9i7zkAT2JxG_QIc1nr1v6J49yUjfwVTvVpZe3A,2655
|
|
4
|
-
awslabs/postgres_mcp_server/server.py,sha256=Q-YsyUABZ2I5B4OgdzQihWI0nEgipGJBun35oWZCW8k,14762
|
|
5
|
-
awslabs_postgres_mcp_server-0.0.5.dist-info/METADATA,sha256=-2wI3aEHREKsn1trhXv3WJH6llNfPpoCMp6TiK1P9J0,4897
|
|
6
|
-
awslabs_postgres_mcp_server-0.0.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
-
awslabs_postgres_mcp_server-0.0.5.dist-info/entry_points.txt,sha256=qHCxq_MTANxTB8-mA7Wl6H71qWEMwmG-I6_koII4AXY,88
|
|
8
|
-
awslabs_postgres_mcp_server-0.0.5.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
|
|
9
|
-
awslabs_postgres_mcp_server-0.0.5.dist-info/licenses/NOTICE,sha256=qMIIe3h7I1Y4-CKejn50wbSKXEZLWhYHdKaRwKdXN9M,95
|
|
10
|
-
awslabs_postgres_mcp_server-0.0.5.dist-info/RECORD,,
|
{awslabs_postgres_mcp_server-0.0.5.dist-info → awslabs_postgres_mcp_server-1.0.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|