~/talk

An MCP for your Postgres DB

slides:none on file

Builds an MCP server for PostgreSQL in Python using the FastMCP SDK, connects agents (demo with GitHub Copilot using Opus 4.6) to query a demo DB (5 tables, ~60 columns) and successfully answers a bee‑species question. Compares designs: free‑form SQL (flexible but allowed a ~20,000‑row DELETE risk), read‑only SQL plus AST validation and a read-only role, timeouts and least‑privilege, and fully‑typed tools using templated queries. Shows elicitation for destructive actions and a tool‑selection failure when splitting recent vs historical data, suggests merging or server-side orchestration.

AI-written summary · about

  1. 0:00Music & introduction
  2. 1:02Demo: querying a database with GitHub Copilot agent
  3. 1:57What is MCP (Model Context Protocol)?
  4. 2:51MCP server design spectrum (exploratory vs operational)
  5. 3:29Free-form SQL: maximum flexibility & risk
  6. 5:01Addressing problems: schema scaling & mutations
  7. 7:58Read-only SQL: only allowing selects
  8. 13:26Fully-typed tools: maximum safety
  9. 15:22Using elicitation for user confirmation
  10. 17:19Tool selection: challenges with multiple tools
  11. 21:46Choosing the right MCP approach
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.