You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PG-MCP is a server implementation of the [Model Context Protocol](https://modelcontextprotocol.io) for PostgreSQL databases. It provides a comprehensive API for AI agents to discover, connect to, query, and understand PostgreSQL databases through MCP's resource-oriented architecture.
@@ -75,12 +78,11 @@ docker-compose up -d
75
78
git clone https://github.com/stuzero/pg-mcp.git
76
79
cd pg-mcp
77
80
78
-
# Create and activate a virtual environment
79
-
python -m venv .venv
80
-
source .venv/bin/activate # On Windows: .venv\Scripts\activate
81
+
# Install dependencies and create a virtual environment ( .venv )
82
+
uv sync
81
83
82
-
#Install using uv
83
-
uv sync --frozen
84
+
#Activate the virtual environment
85
+
source .venv/bin/activate # On Windows: .venv\Scripts\activate
84
86
85
87
# Run the server
86
88
python -m server.app
@@ -97,7 +99,7 @@ The repository includes test scripts to verify server functionality:
0 commit comments