Skip to content
Temp edited this page Oct 3, 2025 · 4 revisions

PostgreSQL MCP Server Wiki - Complete Documentation

This folder contains 12 comprehensive wiki pages for the PostgreSQL MCP Server.


πŸ“‹ What's Included

Getting Started (4 pages)

  1. Home.md - Main landing page with overview and navigation (βœ… already on GitHub)
  2. Quick-Start.md - 30-second installation and setup guide
  3. Extension-Setup.md - PostgreSQL extension installation (pg_stat_statements, pgvector, PostGIS, etc.)
  4. MCP-Configuration.md - Configure with Claude Desktop, Cursor, and other MCP clients

Tool Categories (6 pages)

  1. Core-Database-Tools.md - 9 essential database operations
  2. Performance-Intelligence.md - 6 query optimization and index tuning tools
  3. JSON-Operations.md - 15 JSONB tools (insert, update, query, validation, security)
  4. Text-Processing.md - 6 text similarity and full-text search tools
  5. Monitoring-Alerting.md - ⭐ NEW Phase 5 - 5 real-time monitoring and alerting tools
  6. Backup-Recovery.md - ⭐ NEW Phase 5 - 4 backup planning and recovery tools

Reference (2 pages)

  1. Security-and-Best-Practices.md - Enterprise security, SQL injection prevention, access control
  2. Troubleshooting.md - Common issues and solutions

πŸš€ Quick Upload (30 seconds)

Option 1: Automated Script (Easiest)

cd C:\Users\chris\Desktop\postgres-mcp-server-wiki
.\upload-wiki.ps1

Option 2: Manual Commands

# Clone wiki repo
cd C:\Users\chris\Desktop
git clone https://github.com/neverinfamous/postgres-mcp.wiki.git
cd postgres-mcp.wiki

# Copy files
Copy-Item C:\Users\chris\Desktop\postgres-mcp-server-wiki\*.md . -Force

# Push to GitHub
git add *.md
git commit -m "Add comprehensive PostgreSQL MCP Server wiki documentation (12 pages)"
git push origin master

πŸ“Š Documentation Stats

Metric Value
Total Pages 12
Total Words ~15,000
Code Examples 100+
Tools Documented 63
Phase 5 Tools βœ… 9 (NEW)
Categories 9

🎯 Key Improvements Over SQLite Wiki

1. Better Structure

  • βœ… 12 focused pages vs 15 fragmented pages
  • βœ… Clear hierarchy: Getting Started β†’ Tools β†’ Reference
  • βœ… No content duplication

2. Phase 5 Documentation

  • βœ… Monitoring & Alerting - Real-time monitoring, capacity planning, replication monitoring
  • βœ… Backup & Recovery - Logical/physical backup planning, restore validation
  • βœ… Complete workflows and examples
  • βœ… Production-ready best practices

3. Enhanced Content

  • βœ… 100+ working code examples
  • βœ… Complete tool parameter documentation
  • βœ… Common workflows and use cases
  • βœ… Troubleshooting guides
  • βœ… Security best practices

4. Production Focus

  • βœ… Docker deployment examples
  • βœ… Security modes (restricted/unrestricted)
  • βœ… SSL/TLS configuration
  • βœ… Connection pooling
  • βœ… Performance tuning

πŸ“š Wiki Structure Comparison

SQLite MCP Wiki (15 pages)

β”œβ”€β”€ Home
β”œβ”€β”€ Quick Start
β”œβ”€β”€ Installation & Configuration
β”œβ”€β”€ Core Database Tools
β”œβ”€β”€ PRAGMA Operations
β”œβ”€β”€ Full-Text Search
β”œβ”€β”€ JSON Helper Tools
β”œβ”€β”€ Advanced Text Processing
β”œβ”€β”€ Statistical Analysis
β”œβ”€β”€ Enhanced Virtual Tables
β”œβ”€β”€ Vector Index Optimization
β”œβ”€β”€ Semantic Vector Search
β”œβ”€β”€ SpatiaLite Geospatial
β”œβ”€β”€ Security & Data Integrity
β”œβ”€β”€ Best Practices
β”œβ”€β”€ Backup & Restore
β”œβ”€β”€ Virtual Tables
β”œβ”€β”€ MCP Resources & Prompts
└── Troubleshooting

PostgreSQL MCP Wiki (12 pages) - More Streamlined

Getting Started
β”œβ”€β”€ Home (navigation hub)
β”œβ”€β”€ Quick Start
β”œβ”€β”€ Extension Setup
└── MCP Configuration

Tool Categories
β”œβ”€β”€ Core Database Tools (9 tools)
β”œβ”€β”€ Performance Intelligence (6 tools)
β”œβ”€β”€ JSON Operations (15 tools)
β”œβ”€β”€ Text Processing (6 tools)
β”œβ”€β”€ Monitoring & Alerting (5 tools) ⭐ NEW
└── Backup & Recovery (4 tools) ⭐ NEW

Reference
β”œβ”€β”€ Security & Best Practices
└── Troubleshooting

✨ What's New in Phase 5

Monitoring & Alerting (5 tools)

  1. monitor_real_time - Real-time performance monitoring
  2. alert_threshold_set - Metric threshold analysis
  3. capacity_planning - Growth projection and forecasting
  4. resource_usage_analyze - CPU/Memory/IO analysis
  5. replication_monitor - Replication health monitoring

Backup & Recovery (4 tools)

  1. backup_logical - Logical backup planning (pg_dump)
  2. backup_physical - Physical backup assessment
  3. restore_validate - Restore procedure validation
  4. backup_schedule_optimize - Schedule optimization

πŸ”— Links


πŸ“ Content Highlights

Security Documentation

  • βœ… SQL injection prevention with examples
  • βœ… Parameter binding best practices
  • βœ… Dual security modes explained
  • βœ… SSL/TLS configuration
  • βœ… Production security checklist

Performance Documentation

  • βœ… Query optimization workflows
  • βœ… Index recommendations with DTA algorithm
  • βœ… Hypothetical index testing
  • βœ… Workload analysis
  • βœ… Real-time monitoring

Operations Documentation

  • βœ… Backup strategies (logical + physical)
  • βœ… Restore validation and RTO calculation
  • βœ… Capacity planning and growth forecasting
  • βœ… Replication monitoring
  • βœ… Alert threshold configuration

πŸŽ‰ Ready to Upload!

  1. Run .\upload-wiki.ps1 (automated)
  2. Or follow manual steps in UPLOAD_INSTRUCTIONS.md
  3. Visit https://github.com/neverinfamous/postgres-mcp/wiki
  4. Celebrate! 🎊

πŸ“§ Questions?


Created: October 3, 2025 - Phase 5 Complete

Clone this wiki locally