Skip to main content
Glama

MCP Postgres Server

by MadeByNando

MCP Postgres 서버

이 서버는 Cursor에 대한 MCP(Model Context Protocol)를 구현하여 PostgreSQL 데이터베이스를 모델 컨텍스트의 저장소로 사용할 수 있도록 합니다.

필수 조건

  • 도커
  • 도커 컴포즈

설치 및 시작

  1. 이 저장소를 복제하세요
  2. Docker Compose로 서버를 시작합니다.

지엑스피1

커서의 구성

  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가 데이터베이스를 안전하게 탐색하고 쿼리할 수 있습니다.

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

커서를 위한 모델 컨텍스트 프로토콜(MCP)을 구현하는 서버로, PostgreSQL 데이터베이스를 모델 컨텍스트의 저장소로 사용하여 안전한 데이터베이스 탐색 및 쿼리가 가능합니다.

  1. 필수 조건
    1. 설치 및 시작
      1. 커서의 구성
        1. 문제 해결
          1. MCP 서버 기능

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A powerful Model Context Protocol (MCP) tool for exploring and managing different types of databases including PostgreSQL, MySQL, and Firestore.
              Last updated -
              9
              3
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              🗂️ A Model Context Protocol (MCP) server that provides integration with Turso databases for LLMs. This server implements a two-level authentication system to handle both organization-level and database-level operations, making it easy to manage and query Turso databases directly from LLMs.
              Last updated -
              8
              35
              6
              TypeScript
              MIT License
              • Linux
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol (MCP) server for Cursor IDE that simplifies the installation and configuration of other MCP servers.
              Last updated -
              882
              23
              JavaScript
              MIT License
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables performing PostgreSQL database operations (create, read, update, delete) on User and Post entities through MCP tools.
              Last updated -
              TypeScript

            View all related MCP servers

            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