Topic: MCP Toolbox
  • PostgreSQL + AI: I Tested pgvector Search and a Read-Only MCP Tool on Made-Up Tickets — Hi DBAs, this one started with a support ticket that said "my dashboard data is stale". Our runbook calls the same problem a "delayed refresh". Different words, same issue. A minute later someone asked me how many open tickets each queue has. Both sound like things you'd type into an AI assistant, but they're really two different jobs. The first one needs the right document. The second one needs a count from a table. So I built a small support lab in PostgreSQL 17 and tried both: pgvector for the runbook search, and Google's MCP Toolbox for Databases for the ticket count, with one fixed SQL statement behind it. Everything below is what I ran, what I expected, what came back, and the places where the demo is simpler than real life. The code is on GitHub: dba-ai-lab / experiments/postgresql-pgvector-mcp , with the lab SQL, the MCP Toolbox config, a tiny stdio test client and a one-command run script. 1. The lab, command by command Piece ...