
syahiidkamil/mcp-postgres-full-access
Database management이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
전체 액세스 postgres mcp 서버
개요
PostgreSQL 데이터베이스에 제공하는 강력한 모델 Context Protocol 서버. read-only 공식 MCP PostgreSQL 서버와는 달리, 이 향상된 구현은 큰 언어 모델 (LLMs)을 쿼리하고 적절한 거래 관리 및 안전 관리와 데이터베이스 콘텐츠를 수정할 수 있습니다. - 안전하게 DML 운영 (INSERT, UPDATE, DELETE) - DDL과 데이터베이스 객체 생성, 변경 및 관리 - 명시된 커밋으로 거래 관리 - 안전 타임아웃 및 자동 롤백 보호 - 상세 열 메타 데이터 (데이터 유형, 설명, 최대 길이, 무해성) - 기본 키 식별 - 외국인 키 관계 - 유형 및 고유 플래그가있는 인덱스 정보 - 테이블 행 카운트 추정 - 테이블 및 열 설명 (사용 가능) - SQL 쿼리 분류 (DQL, DML, DDL, DCL, TCL) - 안전한 쿼리에 대한 Enforced 읽기 전용 실행 - 격리 된 거래에서 실행되는 모든 작업 - 자동 거래 시간 모니터링 - 구성 가능한 안전 제한 - 두 단계 ...
개요(AI 번역)
강력한 모델 Context Protocol 서버 제공 ** 전체 읽기 쓰기 액세스 ** PostgreSQL 데이터베이스에. read-only 공식 MCP PostgreSQL 서버와는 달리, 이 향상된 구현은 큰 언어 모델 (LLMs)을 쿼리하고 적절한 거래 관리 및 안전 관리와 데이터베이스 콘텐츠를 수정할 수 있습니다.
내용 표
- 특징
- 전체 읽기 - 쓰기 액세스
- 리치 슈마 정보
- 고급 안전 제어
- 도구
- 실행 query
- 실행 dml ddl dcl tcl
- 실행 maintenance
- 실행 commit
- 실행 rollback
- 목록 tables
- 설명 table
- 자료
- Claude 데스크탑 사용
- Claude 데스크탑 통합
- 중요 : 안전을위한 “Allow 한 번” 사용
- 환경변수
- Claude의 Full Database Access 사용
- 보안 고려
- Database 사용자 권한
- 안전한 사용법을 위한 모범 사례
- 도커
- 라이센스
- 공식 PostgreSQL MCP Server와 비교
의 특징
전체 읽기 쓰기 액세스
- 안전하게 DML 운영을 실행 (INSERT, UPDATE, DELETE)
- DDL과 데이터베이스 객체 생성, 변경 및 관리
- 명시된 커밋과의 거래 관리
- 안전 timeouts 및 자동 롤백 보호
리치 슈마 정보
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
PostgreSQL Full Access MCP Server
A powerful Model Context Protocol server providing full read-write access to PostgreSQL databases. Unlike the read-only official MCP PostgreSQL server, this enhanced implementation allows Large Language Models (LLMs) to both query and modify database content with proper transaction management and safety controls.
Table of Contents
- Features
- Tools
- Resources
- Using with Claude Desktop
- Environment Variables
- Using Full Database Access with Claude
- Security Considerations
- Docker
- License
- Comparison with Official PostgreSQL MCP Server
🌟 Features
Full Read-Write Access
- Safely execute DML operations (INSERT, UPDATE, DELETE)
- Create, alter, and manage database objects with DDL
- Transaction management with explicit commit
- Safety timeouts and automatic rollback protection
Rich Schema Information
- Detailed column metadata (data types, descriptions, max length, nullability)
- Primary key identification
- Foreign key relationships
- Index information with type and uniqueness flags
- Table row count estimates
- Table and column descriptions (when available)
Advanced Safety Controls
- SQL query classification (DQL, DML, DDL, DCL, TCL)
- Enforced read-only execution for safe queries
- All operations run in isolated transactions
- Automatic transaction timeout monitoring
- Configurable safety limits
- Two-step transaction commit process with explicit user confirmation
🔧 Tools
-
execute_query
- Execute read-only SQL queries (SELECT statements)
- Input:
sql(string): The SQL query to execute - All queries are executed within a READ ONLY transaction
- Results include execution time metrics and field information
-
execute_dml_ddl_dcl_tcl
설치
npx -y mcp-postgres-full-access postgresql://username:password@localhost:5432/database설정
{
"mcpServers": {
"postgres-full": {
"command": "npx",
"args": [
"-y",
"mcp-postgres-full-access",
"postgresql://username:password@localhost:5432/database"
],
"env": {
"TRANSACTION_TIMEOUT_MS": "60000",
"MAX_CONCURRENT_TRANSACTIONS": "5",
"PG_STATEMENT_TIMEOUT_MS": "30000"
}
}
}
}