Skip to the content.

MCPg — Progress Tracker

Resume here. A new session should read PLAN.md then this file, then start the task under Next action. Update this file and commit before ending any session.

Current state

Note on this log. The dated session log below is a historical record that trails off at 2026-05-26 (~90 tools). The nine 0.6.x releases and ~160 tools shipped since are not re-logged here — CHANGELOG.md and the docs/release-notes-0.6.*.md files are the authoritative history for that period, and docs/feature-shortlist.md is the live roadmap.

Next action

Trunk is at 0.6.10. The feature roadmap (docs/feature-shortlist.md §1–18) is fully shipped. The next concrete item is the 0.6.11 per-request-tenancy fix for the HTTP/SSE transports (the X-MCPG-Role / OIDC override is pinned to a session’s first request; see the known-limitation note in docs/security-hardening.md). Beyond that, pick from any newly-surfaced rows in docs/feature-shortlist.md.

Phase 0 — Spike & foundation ✅ COMPLETE

Phase 0 notes

Phase 1 — Core server skeleton ✅ COMPLETE

Phase 2 — Schema introspection & safe reads ✅ COMPLETE

Phase 3 — Security hardening & access control ✅ COMPLETE

Phase 4 — Write & DDL tools ✅ COMPLETE

Phase 4 decisions

Phase 5 — Ops, health & tuning ✅ COMPLETE

Authored fresh under TDD — the upstream database_health/, index/, top_queries/ modules were not vendored (ADR-0001 narrowed scope to sql/).

Phase 6 — Scalability & multi-tenancy

Phase 7 — Docs, packaging & release ✅ COMPLETE (pending release sign-off)

v0.1.0 merged to main via PR #1. Post-1.0 work continues below.

Phase 8 — Index intelligence & extension management ✅ COMPLETE

Phase 9 — Text search & fuzzy matching ✅ COMPLETE

Phase 10 — Vector search (pgvector) ✅ COMPLETE

Phase 11 — Geospatial (PostGIS) ✅ COMPLETE

Phases 8–11 cover PostgreSQL extension and advanced-feature support; see PLAN.md §7a for the capability inventory and per-extension priorities.

Phase 12 — Deeper schema introspection

Phase 13 — Partitioning

Phase 14 — Access-control introspection

Phase 15 — Live ops & maintenance

Phases 12–15 cover deeper introspection and live ops; see PLAN.md §7b for the capability gap analysis behind them.

Decisions log

ID Decision Status Date
Scope: broad (ops + data access, gated by access mode) accepted 2026-05-20
ADR-0001 Approach: hard-fork crystaldba/postgres-mcp (MIT); TDD-hybrid (strict TDD for new code, characterization tests for inherited kernel) accepted 2026-05-20
ADR-0002 Stack: Python 3.12 + psycopg3 + mcp SDK + pglast; mypy --strict + coverage gate for new code accepted 2026-05-20
Phase 4: DDL gated behind a second opt-in (MCPG_ALLOW_DDL); no dry-run (direct execution) accepted 2026-05-20
Extension support (Phases 8–11) lands after the v0.1.0 release (Phase 7) accepted 2026-05-20
Index intelligence (Phase 8) is the first extension area implemented accepted 2026-05-20
ADR-0003 Configurable pool sizing via a minimal behaviour-preserving patch to the vendored DbConnPool accepted 2026-05-20
Multi-tenancy/RLS: document-only for v0.1.0 (one instance per tenant); per-request SET ROLE deferred post-1.0 accepted 2026-05-20

Open questions

All resolved as of 0.6.9:

Session log