datasette-mcp 0.2
- Source
- simonwillison.net
- Publisher
- Simon Willison
- Date
Context
Simon Willison's datasette- 0.2 changes how database results are presented to AI tools. The plugin adds an MCP server, a standard way to expose tools to AI agents, to a Datasette database instance. In this release, the rows returned by its execute_ tool are objects rather than arrays of values, which associates each value with a named instead of requiring the model to remember which position matches which column. Willison says this should help weaker models avoid losing track of that mapping. Release note.
In an earlier post on stateless MCP, Willison described the plugin's tools as listing databases, inspecting a database's and running SQL queries, with queries read-only at that time. The 0.2 update changes the structure of query results, not that capability, and the release does not quantify any accuracy gain. It is also the plugin's first non-alpha release. Original plugin explanation.
- Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.
- Database and SQL — Persistent structured storage queried and changed through explicit operations.
- Field — One named piece of a record, such as name or approved_on; a record is one entity's set of values, one per field.
- Schema — A written description of a data format: which fields exist, what kind of value each holds and which are required.