From 5bdd78b40576ece78895f9fbe8a67c231ecf7fe8 Mon Sep 17 00:00:00 2001 From: Yingbei Tong Date: Tue, 29 Jul 2025 15:09:03 -0700 Subject: [PATCH] Update README.md for uvx instructions --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index f2303b9..a49bcf2 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,25 @@ The Postgres MCP Pro Docker image will automatically remap the hostname `localho - MacOS/Windows: Uses `host.docker.internal` automatically - Linux: Uses `172.17.0.1` or the appropriate host address automatically +##### If you are using `uvx` + +```json +{ + "mcpServers": { + "postgres": { + "command": "uvx", + "args": [ + "postgres-mcp", + "--access-mode=unrestricted" + ], + "env": { + "DATABASE_URI": "postgresql://username:password@localhost:5432/dbname" + } + } + } +} +``` + ##### If you are using `pipx`