Integrations
Supports installation and execution through npm and npx commands, allowing for easy deployment and integration of the MCP server within Node.js environments.
Enables interaction with PostgreSQL databases, providing tools for executing queries, managing database connections, listing tables, and describing table structures with support for prepared statements and comprehensive error handling.
Offers TypeScript support for type-safe interactions with PostgreSQL databases through the MCP server interface.
MCP PostgreSQL 서버
PostgreSQL 데이터베이스 작업을 제공하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버를 통해 AI 모델은 표준화된 인터페이스를 통해 PostgreSQL 데이터베이스와 상호 작용할 수 있습니다.
설치
수동 설치
지엑스피1
또는 다음을 사용하여 직접 실행하세요.
구성
서버에는 다음과 같은 환경 변수가 필요합니다.
사용 가능한 도구
1. 연결_DB
제공된 자격 증명을 사용하여 PostgreSQL 데이터베이스에 대한 연결을 설정합니다.
2. 질의
선택적 준비된 명령문 매개변수를 사용하여 SELECT 쿼리를 실행합니다. PostgreSQL 스타일($1, $2) 및 MySQL 스타일(?) 매개변수 자리 표시자를 모두 지원합니다.
3. 실행하다
선택적으로 준비된 명령문 매개변수를 사용하여 INSERT, UPDATE 또는 DELETE 쿼리를 실행합니다. PostgreSQL 스타일($1, $2) 및 MySQL 스타일(?) 매개변수 자리 표시자를 모두 지원합니다.
4. 리스트_스키마
연결된 데이터베이스에 있는 모든 스키마를 나열합니다.
5. 리스트_테이블
연결된 데이터베이스의 테이블을 나열합니다. 선택적 스키마 매개변수를 허용합니다(기본값은 'public').
6. 설명_테이블
특정 테이블의 구조를 가져옵니다. 선택적 스키마 매개변수를 허용합니다(기본값은 'public').
특징
- 자동 정리를 통한 안전한 연결 처리
- 쿼리 매개변수에 대한 준비된 명령문 지원
- PostgreSQL 스타일($1, $2) 및 MySQL 스타일(?) 매개변수 자리 표시자 모두 지원
- 포괄적인 오류 처리 및 검증
- TypeScript 지원
- 자동 연결 관리
- PostgreSQL 특정 구문 및 기능 지원
- 데이터베이스 작업을 위한 다중 스키마 지원
보안
- SQL 주입을 방지하기 위해 준비된 명령문을 사용합니다.
- 환경 변수를 통해 안전한 암호 처리를 지원합니다.
- 실행 전에 쿼리를 검증합니다.
- 완료되면 자동으로 연결을 닫습니다.
오류 처리
서버는 일반적인 문제에 대한 자세한 오류 메시지를 제공합니다.
- 연결 실패
- 잘못된 쿼리
- 매개변수가 누락되었습니다
- 데이터베이스 오류
특허
MIT
You must be authenticated.
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.
표준화된 인터페이스를 통해 AI 모델이 PostgreSQL 데이터베이스와 상호 작용할 수 있도록 하여 쿼리, 테이블 조작, 스키마 검사와 같은 작업을 지원합니다.
Related MCP Servers
- AsecurityAlicenseAqualityAllows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.Last updated -1360PythonMIT License
- AsecurityAlicenseAqualityThis server enables AI models to interact with MySQL databases through a standardized interface.Last updated -561858JavaScriptMIT License
- AsecurityFlicenseAqualityEnables AI models to perform MySQL database operations through a standardized interface, supporting secure connections, query execution, and comprehensive schema management.Last updated -716JavaScript
- -securityFlicense-qualityA server that allows AI models to interact with PostgreSQL databases through a standardized protocol, providing database schema information and SQL query execution capabilities.Last updated -JavaScript