-
A PostgreSQL Lab for AI Tests: Docker, pgAdmin, an MCP Server and VS Code — DBA AI Lab · Lab setup I Built a PostgreSQL Lab So Copilot Could Poke at It (Read-Only) PostgreSQL 17, pgAdmin and an MCP server in Docker on a 16 GB laptop, and Copilot in VS Code asking one question. What I expected, what broke, and what I fixed. 3 containers 16 GB RAM laptop 9 MCP tools 0 rows changed by the AI Okay friends, today's job was simple on paper: a PostgreSQL box on my own laptop that I can break while I try AI tools on it. No cloud database, no shared dev server. Something that starts when I log in, that I can throw away and rebuild in a few minutes, and that an AI can read but never change. By the end of the afternoon I had PostgreSQL 17 in Docker, pgAdmin next to it, an MCP server in front of it, and Copilot in VS Code answering a real question about the data. It did not go smoothly. VS Code turned out to be too new for the MCP server, and that alone ate most of my afternoon. I kept all of it in, because you'll probably hit some of the same things. ...