MCPNews

The Model Context Protocol ecosystem, verified

Current spec 2026-07-28

AWS Labs postgres MCP Server

Spec Support Unverified First-party Confidence: Good (0.85)

AWS Labs postgres MCP Server is an MCP server published by Amazon Web Services; its MCP spec-revision support has not been verified yet. It is the first-party server from Amazon Web Services. Last verified 2026-09-15.

Does AWS Labs postgres MCP Server support the current MCP specification (2026-07-28)?

Undetermined. We have not verified which MCP specification revision AWS Labs postgres MCP Server supports (as of 2026-09-15).

Is AWS Labs postgres MCP Server a first-party (official) MCP server?

Yes. AWS Labs postgres MCP Server is the first-party MCP server published by Amazon Web Services (last verified 2026-09-15).

How do I connect to AWS Labs postgres MCP Server?

AWS Labs postgres MCP Server is available via the package pypi:awslabs.postgres-mcp-server, the source repository at https://github.com/awslabs/mcp. Authentication: api_key. Transports: stdio.

What tools does AWS Labs postgres MCP Server expose?

AWS Labs postgres MCP Server exposes 7 tools, including run_query, get_table_schema, connect_to_database, is_database_connected, get_database_connection_info, create_cluster (last verified 2026-09-15).

When were AWS Labs postgres MCP Server's facts last verified?

2026-09-15. Each fact on this page links to the sources used to verify it.

Which tools does AWS Labs postgres MCP Server expose?

7 tools verified.

  • run_query
  • get_table_schema
  • connect_to_database
  • is_database_connected
  • get_database_connection_info
  • create_cluster
  • get_job_status

AWS Labs' postgres MCP Server converts natural-language questions into structured SQL and runs them against a configured Amazon Aurora Postgres or RDS Postgres database. It ships as pypi:awslabs.postgres-mcp-server from the awslabs/mcp monorepo, at src/postgres-mcp-server, and launches over stdio via uvx awslabs.postgres-mcp-server@latest (a Docker build path is also documented). The server enforces a semantic read-only policy by default; the --allow_write_query flag disables that enforcement, and the README's own security section describes the mechanism as "a best-effort, defense-in-depth mechanism, not a security boundary" rather than a hard guarantee. Authentication runs through two separate layers: AWS credentials via the AWS_PROFILE/AWS_REGION chain, with an RDS Data API resource ARN requiring rds-data:ExecuteStatement permission, and a Postgres-layer credential (IAM or username/password) stored in AWS Secrets Manager and passed as --secretManagerARN. Neither the README nor the docs site lists the server's tools; the seven tools recorded here, including run_query, get_table_schema and create_cluster, were read directly from the source at server.py.

Authority is first-party. GitHub reports the awslabs organization as verified, under the name "Amazon Web Services - Labs," and the monorepo's own README describes the collection as "Open source MCP servers for AWS... A suite of specialized MCP servers that help you get the most out of AWS, wherever you use MCP." The repository carries an Apache-2.0 license and was last pushed 2026-09-14.

Two published security advisories affect this server, both fixed in version 1.1.7: GHSA-fph8-pg5w-78fv (CVE-2026-87911), a critical command-injection weakness in the read-only enforcement's SQL validation that could let an unauthenticated actor run OS commands via a crafted COPY ... TO PROGRAM statement, published 2026-09-09; and GHSA-pwr4-hmph-gqgc (CVE-2026-85787), a medium-severity gap from an incomplete list of disallowed inputs in the same validation component, published 2026-09-04. Both are covered, alongside three sibling awslabs servers hit by the same batch, in the published story.

How widely adopted is AWS Labs postgres MCP Server?

Not ranked in The MCP 500: insufficient public data (coverage floor not met) (snapshot ). The Adoption Index measures public signals only; it says nothing about quality.

How was this verified, and what are the sources?

Verified · method: repo-readme · confidence 0.85 (Good).

  1. GitHub organization awslabs, fetched 2026-09-15 - is_verified true, name "Amazon Web Services - Labs", blog "http://amazon.com/aws/", description "AWS Labs" - accessed
  2. Repository metadata for awslabs/mcp, fetched 2026-09-15 - description "Open source MCP Servers for AWS", 9,693 stars, Apache-2.0, not archived, owner type Organization, homepage https://awslabs.github.io/mcp/ - accessed
  3. postgres-mcp-server README, fetched 2026-09-15 - "An AWS Labs Model Context Protocol (MCP) server for Aurora Postgres"; documents AWS_PROFILE/AWS_REGION credentials, the RDS Data API rds-data:ExecuteStatement requirement, and --secretManagerARN for Postgres IAM/username-password auth; states the server enforces a "semantic read-only" policy by default that --allow_write_query disables, calling it "a best-effort, defense-in-depth mechanism, not a security boundary" - accessed
  4. Monorepo root README, fetched 2026-09-15 - "The MCP servers in this repository are designed to support stdio only"; collection self-description "Open source MCP servers for AWS... A suite of specialized MCP servers that help you get the most out of AWS, wherever you use MCP" - accessed
  5. Source file server.py, fetched 2026-09-15 - decorates 7 functions with @mcp.tool: run_query, get_table_schema, connect_to_database, is_database_connected, get_database_connection_info, create_cluster, get_job_status; no tool list is published anywhere else in the repository or docs site - accessed
  6. PyPI package metadata for awslabs.postgres-mcp-server, fetched 2026-09-15 - latest version 1.2.1 (uploaded 2026-09-08), author "Amazon Web Services", requires-python >=3.10, dependency mcp[cli]>=2.0.0,<3.0.0 (a version range, not evidence of a specific protocol revision) - accessed
  7. Repository-wide security advisories, fetched 2026-09-15 - GHSA-fph8-pg5w-78fv (CVE-2026-87911, critical, CVSS 9.6, published_at 2026-09-09T19:36:19Z) and GHSA-pwr4-hmph-gqgc (CVE-2026-85787, medium, CVSS 6.5, published_at 2026-09-04T22:26:49Z), both against awslabs.postgres-mcp-server, vulnerable_range "< 1.1.7" on both, patched version 1.1.7 on both - accessed