awslabs.postgres-mcp-server 0.0.5__tar.gz → 1.0.0__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.
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/Dockerfile +2 -2
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/PKG-INFO +1 -1
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/awslabs/postgres_mcp_server/server.py +2 -9
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/pyproject.toml +1 -1
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/.gitignore +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/.pre-commit-config.yaml +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/.python-version +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/CHANGELOG.md +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/LICENSE +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/NOTICE +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/README.md +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/awslabs/__init__.py +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/awslabs/postgres_mcp_server/__init__.py +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/awslabs/postgres_mcp_server/mutable_sql_detector.py +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/docker-healthcheck.sh +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/tests/conftest.py +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/tests/test_server.py +0 -0
- {awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/uv.lock +0 -0
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
# and limitations under the License.
|
|
11
11
|
|
|
12
12
|
#FROM public.ecr.aws/sam/build-python3.10:1.137.1-20250411084548
|
|
13
|
-
FROM public.ecr.aws/sam/build-python3.10@sha256:
|
|
13
|
+
FROM public.ecr.aws/sam/build-python3.10@sha256:e78695db10ca8cb129e59e30f7dc9789b0dbd0181dba195d68419c72bac51ac1 AS uv
|
|
14
14
|
|
|
15
15
|
# Install the project into `/app`
|
|
16
16
|
WORKDIR /app
|
|
@@ -44,7 +44,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
|
|
44
44
|
# Make the directory just in case it doesn't exist
|
|
45
45
|
RUN mkdir -p /root/.local
|
|
46
46
|
|
|
47
|
-
FROM public.ecr.aws/sam/build-python3.10@sha256:
|
|
47
|
+
FROM public.ecr.aws/sam/build-python3.10@sha256:e78695db10ca8cb129e59e30f7dc9789b0dbd0181dba195d68419c72bac51ac1
|
|
48
48
|
|
|
49
49
|
# Place executables in the environment at the front of the path and include other binaries
|
|
50
50
|
ENV PATH="/app/.venv/bin:$PATH:/usr/sbin"
|
|
@@ -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/
|
|
@@ -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__':
|
|
File without changes
|
{awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/.pre-commit-config.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/docker-healthcheck.sh
RENAMED
|
File without changes
|
|
File without changes
|
{awslabs_postgres_mcp_server-0.0.5 → awslabs_postgres_mcp_server-1.0.0}/tests/test_server.py
RENAMED
|
File without changes
|
|
File without changes
|