Skip to main content

One post tagged with "dsh"

View all tags

dsh-db-mcp: hand the database to the agent, not just a SQL wrench

· 11 min read
halcyon666
Full Stack Developer

Nearly every "database MCP" looks the same: connect to the database, then hand the model five tools — list, describe, sample, explain, run SQL. That works, but it leaves the hard part exactly where it was: the schema has forty tables, so the model guesses which one holds orders, guesses how order_item joins product, and guesses which column that SO-1001 from two calls ago actually lives in. When it guesses wrong, nobody corrects it — the next turn guesses again.

dsh-db-mcp starts somewhere else. Instead of handing the model a SQL wrench, it writes down what this database looks like and how a value flows between its tables.