wpostgresql-mcp
Provides tools for architecting, scaffolding, and validating PostgreSQL-backed systems using the wpostgresql library.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wpostgresql-mcpscaffold a new postgres project with async support"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
wpostgresql-mcp
MCP Server for WPostgreSQL Architecting — teaches AI agents how to build high-performance PostgreSQL-backed systems with the wpostgresql library.
Features
10 Architect Tools: Blueprints, manual, catalog search, scaffolding, connection validation, pattern generation
20 Offline Patterns: All core wpostgresql features cataloged with module references
Scaffolding Generator: Deploys full project structure with config, models, repositories, migrations, main.py
Live Connection Validation: Tests PostgreSQL connectivity via psycopg 3 and returns health status
Pattern-based Generation: Generates starter projects from catalog patterns
Related MCP server: PostgreSQL MCP Server
Installation
# Clone and install
cd wpostgresql-mcp
pip install -e .Or use the installer:
chmod +x installer.sh
./installer.shQuick Start
# Run the MCP server in stdio mode (for agent integration)
wpostgresql-mcp run
# Get configuration for your AI agent
wpostgresql-mcp config
# Start as background SSE server
wpostgresql-mcp startAvailable Tools
Tool | Description |
| Complete CRUD, async, batch, transaction, pool, sync, query builder, SQLite backup (wsqlite) examples |
| Expert rules, module map, data structure selection guide |
| Search 20+ PostgreSQL patterns in official/community catalogs |
| Generate full project structure with config/models/repos/migrations |
| Live health check against a running PostgreSQL instance |
| Generate project + example from a specific catalog pattern |
Agent Integration
Gemini CLI
gemini mcp add wpostgresql-mcp python3 -m wpostgresql_mcp.server runClaude Desktop / Cursor
{
"mcpServers": {
"wpostgresql-mcp": {
"command": "python3",
"args": ["-m", "wpostgresql_mcp.server", "run"]
}
}
}OpenCode
Add to .opencode/config.json:
{
"mcpServers": {
"wpostgresql-mcp": {
"command": "python3",
"args": ["-m", "wpostgresql_mcp.server", "run"]
}
}
}Commands
Command | Description |
| Run in stdio mode (default) |
| Run in SSE mode |
| Start as background SSE server |
| Stop background server |
| Print/save JSON configuration |
| Show help |
Generated by WPostgreSQL MCP by wisrovi
This server cannot be deployed
Maintenance
Related MCP Connectors
PostgreSQL, MySQL, OpenAPI/Swagger, and shared Agent Memory with scoped access.
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
AI agent toolkit: live social media data, lead enrichment + email finder, Postgres DB, webhooks.
Deterministic safety, correctness & cost gate that vets Postgres SQL before your AI agent runs it.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI agents to read and optionally write to PostgreSQL databases through a multi-project setup with schema inspection, query execution, and performance analysis tools.5-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with PostgreSQL databases through natural language queries, schema inspection, and safe SQL execution.3 npm1-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query and explore PostgreSQL databases with tools for executing SQL queries, listing tables, and describing table structures.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to safely and audibly operate PostgreSQL databases and their Docker environments, offering schema inspection, guarded queries, migrations, performance diagnosis, and container management tools.57 PyPIMIT