Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,30 @@ The Postgres MCP Pro Docker image will automatically remap the hostname `localho
}
```

##### If you are using `uvx` with Windows WSL

If you are using Windows WSL, you can use `uvx` with the following configuration to download and run Postgres MCP Pro:

```json
{
"mcpServers": {
"postgres": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"/home/$WSL_USER/.local/bin/uvx --from git+https://github.com/crystaldba/postgres-mcp@main postgres-mcp postgresql://username:password@localhost:5432/dbname --access-mode=unrestricted"
]
}
}
}
```

Notes:
- This command runs the latest version of Postgres MCP Pro from the `main` branch.
- Replace `/home/$WSL_USER/.local/bin/uvx` with the path to your `uvx` command. If you do not know where `uvx` is installed, run `which uvx` in WSL.
- If you do not have `uvx` installed, you may install it using `pip`.


##### Connection URI

Expand Down