call518/MCP-PostgreSQL-Ops
AI에 PostgreSQL 읽기 전용 관측 제공
해결하는 문제
없으면 AI가 PostgreSQL의 느린 쿼리, 잠금, 팽창 등을 직접 확인할 수 없다.
- 읽기 전용, 임의 SQL 없음
- 느린 쿼리·잠금·팽창
- PG 12–18, 확장 불필요
지원 클라이언트
- claude-desktop
- cli
설치 명령
docker compose up -d docker compose ps --all # wait for mcp-server to be healthy and init to exit 0 docker compose -f docker-compose.custom-db.yml up -d uvx --python 3.12 mcp-postgresql-ops --type stdio 바로 쓰는 설정
{
"mcpServers": {
"mcp-postgresql-ops": {
"command": "uv",
"args": [
"run",
"python",
"-m",
"mcp_postgresql_ops"
],
"env": {
"POSTGRES_HOST": "127.0.0.1",
"POSTGRES_PORT": "15432",
"POSTGRES_USER": "postgres",
"POSTGRES_PASSWORD": "changeme",
"POSTGRES_DB": "ecommerce"
}
}
}
} {
"mcpServers": {
"Postgresql-A": {
"command": "uvx",
"args": [
"--python",
"3.12",
"mcp-postgresql-ops"
],
"env": {
"POSTGRES_HOST": "a.foo.com",
"POSTGRES_PORT": "5432",
"POSTGRES_USER": "postgres",
"POSTGRES_PASSWORD": "postgres",
"POSTGRES_DB": "postgres"
}
},
"Postgresql-B": {
"command": "uvx",
"args": [
"--python",
"3.12",
"mcp-postgresql-ops"
],
"env": {
"POSTGRES_HOST": "b.bar.com",
"POSTGRES_PORT": "5432",
"POSTGRES_USER": "postgres",
"POSTGRES_PASSWORD": "postgres",
"POSTGRES_DB": "postgres"
}
}
}
} {
"mcpServers": {
"mcp-postgresql-ops": {
"type": "streamable-http",
"url": "http://your-server:8000/mcp",
"headers": {
"Authorization": "Bearer replace-with-a-strong-random-secret"
}
}
}
} 보안 표시
- API 키 필요: 명시 없음
- 로컬 실행: 예
- 네트워크 접근: 예
- root 권한: 아니오
유지보수 상태
| 최근 커밋 | 2026-12-05(0d) |
|---|---|
| 스타 | 165 |
| 미해결 이슈 | 0 |
| 라이선스 | MIT |
| 보관됨 | 아니오 |
| 데이터 수집 시각 | 2026-12-05 |
원문 발췌
아래는 저장소 README 원문이며 편집하지 않았습니다. 위 요약과 대조할 수 있습니다.
MCP-PostgreSQL-Ops lets Claude, OpenWebUI, and other MCP clients inspect a PostgreSQL server through natural-language questions.