wpostgresql-mcp
wpostgresql-mcp
用于 WPostgreSQL 架构设计的 MCP 服务器——教 AI 代理如何使用 wpostgresql 库构建高性能的 PostgreSQL 后端系统。
功能特性
10 个架构工具:蓝图、手册、目录搜索、脚手架、连接验证、模式生成
20 个离线模式:所有核心 wpostgresql 功能均附带模块引用目录
脚手架生成器:部署完整的项目结构,包含配置、模型、仓库、迁移、main.py
实时连接验证:通过 psycopg 3 测试 PostgreSQL 连接并返回健康状态
基于模式的生成:从目录模式生成入门项目
Related MCP server: mcp-postgres
安装
# Clone and install
cd wpostgresql-mcp
pip install -e .或使用安装程序:
chmod +x installer.sh
./installer.sh快速开始
# 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 start可用工具
工具 | 描述 |
| 完整的 CRUD、异步、批量、事务、连接池、同步、查询构建器示例 |
| 专家规则、模块映射、数据结构选择指南 |
| 在官方/社区目录中搜索 20+ 个 PostgreSQL 模式 |
| 生成包含配置/模型/仓库/迁移的完整项目结构 |
| 对正在运行的 PostgreSQL 实例进行实时健康检查 |
| 从特定目录模式生成项目 + 示例 |
代理集成
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
添加到 .opencode/config.json:
{
"mcpServers": {
"wpostgresql-mcp": {
"command": "python3",
"args": ["-m", "wpostgresql_mcp.server", "run"]
}
}
}命令
命令 | 描述 |
| 以 stdio 模式运行(默认) |
| 以 SSE 模式运行 |
| 作为后台 SSE 服务器启动 |
| 停止后台服务器 |
| 打印/保存 JSON 配置 |
| 显示帮助 |
由 wisrovi 的 WPostgreSQL MCP 生成
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to execute SQL queries and introspect PostgreSQL schemas, tables, and indexes with read-only safety by default. Supports optional write operations and works with Claude, LangChain, and other agents via stdio or HTTP transports.
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with PostgreSQL databases through schema intelligence, query execution, and DBA tooling including index analysis and health monitoring. Features configurable access levels and audit logging for secure database operations.539MIT
- FlicenseAqualityCmaintenanceEnables 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.91
Related MCP Connectors
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Real-time Amazon, WIPO & PACER data for AI agents — 19 tools via the MCP protocol.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wisrovi/wpostgresql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server