Skip to main content
Glama
MadeByNando

MCP Postgres Server

by MadeByNando

MCP Postgres サーバー

このサーバーは、Cursor 用のモデル コンテキスト プロトコル (MCP) を実装し、PostgreSQL データベースをモデル コンテキストのストレージとして使用できるようにします。

前提条件

  • ドッカー

  • Dockerコンポーズ

Related MCP server: pg-mcp-server

インストールと起動

  1. このリポジトリをクローンする

  2. Docker Compose を使用してサーバーを起動します。

docker-compose up -d

カーソル内の設定

  1. オープンカーソル

  2. 設定 > MCP へ移動

  3. 次の設定で新しい接続を追加します。

    • 名前: MCP Postgres サーバー

    • タイプ: コマンド

    • コマンド: docker exec -i mcp-postgres-server node dist/index.js

トラブルシューティング

サーバーが正しく起動しない場合は、次の手順に従ってください。

  1. コンテナのログを確認します。

    docker logs mcp-postgres-server
  2. サーバーを再起動するには:

    docker-compose restart

MCP サーバーの機能

MCP PostgreSQL サーバーは、Cursor 用の次のツールを公開します。

  1. postgres_query - 読み取り専用のSQLクエリを実行する

  2. postgres_list_tables - データベース内のすべてのテーブルを一覧表示する

  3. postgres_describe_table - 特定のテーブルのスキーマを取得する

これらのツールにより、Cursor はデータベースを安全に探索およびクエリできます。

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server implementation that provides a simple interface to interact with PostgreSQL databases, enabling SQL queries, database operations, and schema management through MCP.
  • A
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server for PostgreSQL databases that enables AI agents to connect, query, and explore multiple databases with schema discovery and extension context.
    540
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A standardized Model Context Protocol server for interacting with PostgreSQL databases, enabling full CRUD operations, schema management, and database introspection.
    1
  • A
    license
    -
    quality
    D
    maintenance
    MCP server for PostgreSQL that enables Cursor and other MCP clients to execute SQL queries, list tables, and explore database schemas via HTTP.
    505
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for managing Prisma Postgres.

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP server for interacting with the Supabase platform

View all MCP Connectors

Latest Blog Posts

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/MadeByNando/mcp-postgres-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server