Skip to main content
Glama

wpostgresql-mcp

WPostgreSQL アーキテクティング用の MCP サーバー — wpostgresql ライブラリを使用して、高性能な PostgreSQL バックエンドシステムを構築する方法を AI エージェントに教えます。

機能

  • 10 のアーキテクトツール: ブループリント、マニュアル、カタログ検索、スキャフォールディング、接続検証、パターン生成

  • 20 のオフラインパターン: すべての主要な wpostgresql 機能をモジュール参照付きでカタログ化

  • スキャフォールディングジェネレーター: 設定、モデル、リポジトリ、マイグレーション、main.py を含む完全なプロジェクト構造をデプロイ

  • ライブ接続検証: psycopg 3 を介して PostgreSQL 接続をテストし、ヘルスステータスを返します

  • パターンベースの生成: カタログパターンからスタータープロジェクトを生成

Related MCP server: PostgreSQL MCP Server

インストール

# 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

利用可能なツール

ツール

説明

get_wpostgresql_architect_blueprints

完全な CRUD、非同期、バッチ、トランザクション、プール、同期、クエリビルダーの例

get_wpostgresql_architect_manual

エキスパートルール、モジュールマップ、データ構造選択ガイド

search_wpostgresql_pattern

公式/コミュニティカタログから 20 以上の PostgreSQL パターンを検索

deploy_wpostgresql_scaffolding

設定/モデル/リポジトリ/マイグレーションを含む完全なプロジェクト構造を生成

validate_postgresql_connection

実行中の PostgreSQL インスタンスに対するライブヘルスチェック

generate_from_pattern

特定のカタログパターンからプロジェクト + 例を生成

エージェント統合

Gemini CLI

gemini mcp add wpostgresql-mcp python3 -m wpostgresql_mcp.server run

Claude 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"]
    }
  }
}

コマンド

コマンド

説明

wpostgresql-mcp run

stdio モードで実行(デフォルト)

wpostgresql-mcp run-sse

SSE モードで実行

wpostgresql-mcp start

バックグラウンド SSE サーバーとして起動

wpostgresql-mcp stop

バックグラウンドサーバーを停止

wpostgresql-mcp config

JSON 設定を表示/保存

wpostgresql-mcp help

ヘルプを表示


WPostgreSQL MCP によって生成 — wisrovi 作

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables 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
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to query and explore PostgreSQL databases with tools for executing SQL queries, listing tables, and describing table structures.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables 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.
    59 PyPI
    MIT