AgentsAutonomy & tool use
datasette-mcp 0.4 now requires Datasette 1.0a44 and fixes a break caused by its new results.columns object
datasette-mcp adds a /-/mcp endpoint to Datasette so AI agents can list databases, read schemas and run read-only SQL. Version 0.4 adds nothing new. It restores compatibility after Datasette 1.0a44 changed how query results expose columns.
From the Simon Willison article of November 27, 2026 and cited sources: Version 0.4, released 27 November 2026, is purely a compatibility fix. [1] [2] [4]
SOURCES[1] datasette-mcp 0.4 simonwillison.net[2] datasette-mcp GitHub releases github.com[4] datasette-mcp on PyPI pypi.org
AI-assisted, not human-edited. Methodology Corrections Who owns this site
- Original source
- Simon Willison article, independent perspective
- Brief by
- AT Pulse research desk AI-assisted; publisher and contact on the desk page
- When
- November 27, 2026 article published
- Covered
- Nov 29 edition
- Evidence
- 9 sources across 4 sites
Reach: not measured yet
Version 0.4, released 27 November 2026, is purely a compatibility fix. It handles Datasette 1.0a44's new results.columns object and makes 1.0a44 the minimum supported core version, so the plugin and core now have to be upgraded together. [1] [2] [4]
The plugin gives MCP clients three read-only tools for listing databases, inspecting schemas and running SQL. Access follows Datasette's existing permissions. An optional setting exposes canned queries as tools, and some of those can write data. [2] [7]
What the sources show: 0.4 sets a hard minimum Datasette version, and recent alphas changed result APIs. What follows: teams exposing SQLite data to agents should pin core and plugin versions together and plan for more changes before Datasette 1.0.
Executive brief
datasette-mcp 0.4 is a small compatibility release, published on 27 November 2026. It matters because a single upstream change in Datasette broke the plugin: version 0.4 now requires `datasette>=1.0a44` and fixes an incompatibility with the new `results.columns` object. The plugin adds a /-/mcp endpoint to any Datasette instance so that AI agents can list databases, inspect schemas and run validated SQL. Simon Willison's release note describes it as only a fix. For teams building on the Datasette 1.0 alphas, the lesson is that plugin and core versions have to move together.
What changed and event timeline
Stateless MCP and first alpha
Willison reports that MCP 2.0 removed server-side sessions, so a tool call now takes one request instead of two. He says this made his fourth attempt at the plugin worth releasing.
More detail
First non-alpha release (0.2)
execute_sqlnow returns rows as objects rather than arrays, to help weaker models keep track of which value belongs to which column. The release also requiresmcp>=2.1.1.Canned queries (0.3)
An optional
canned_queries: truesetting exposes stored queries as MCP tools, including writable ones.Datasette 1.0a43
This core release added streaming output renderers and fixed a flaw that could expose the titles and SQL of private stored queries, though not let anyone run them.
Datasette-mcp 0.4
This release fixes compatibility with Datasette 1.0a44's new results-columns object and makes 1.0a44 the minimum version.
More detail
Capabilities and access
Read the full section
- Version and requirements: datasette-mcp 0.4 needs Python 3.11 or later and Datasette 1.0a44 or later (PyPI, GitHub).
- Install:
datasette install datasette-mcp. Clients connect over MCP Streamable HTTP at/-/mcp(README). - Core tools:
list_databases,get_database_schemaandexecute_sql. These are read-only by default. - Optional tools: canned-query tools, which can include writes.
- Extending it: other plugins can add their own tools through the
register_mcp_tools()hook (README).
Technical analysis for researchers and developers
- Transport: the plugin uses stateless MCP 2.0. Each request carries
Mcp-MethodandMcp-Nameheaders and no session ID (Stateless MCP). - Authorisation: access goes through Datasette's own permissions (
view-database,view-query). - Output format: returning rows as objects was a deliberate choice for models, not just a matter of style (0.2).
Read the full section
- Transport: the plugin uses stateless MCP 2.0. Each request carries
Mcp-MethodandMcp-Nameheaders and no session ID (Stateless MCP). That makes it simpler to scale horizontally and to cache in front of the server. - Authorisation: access goes through Datasette's own permissions (
view-database,view-query). SQL is checked to be read-only unless canned queries are explicitly configured (README). - Output format: returning rows as objects was a deliberate choice for models, not just a matter of style (0.2).
- Compatibility risk: Datasette 1.0a44 also replaced
sqlite3.Rowwithdatasette.Rowand swapped thepath_with_*()helpers fordatasette.urls.modify()(Datasette releases). Plugins that touch query results should pin their versions. - Evaluation: there is no published benchmark or evaluation for the plugin.
Claims and evidence
- 0.4 is a compatibility fix with a new minimum Datasette version: documented in the GitHub release and the PyPI listing.
- Row objects help weaker models: this is the author's own observation from using the plugin, not a measured result (0.2).
- Stateless MCP is the biggest spec change since launch and makes agents safer than shell access: this is Willison's commentary (Stateless MCP).
Read the full section
- 0.4 is a compatibility fix with a new minimum Datasette version: documented in the GitHub release and the PyPI listing.
- Row objects help weaker models: this is the author's own observation from using the plugin, not a measured result (0.2).
- Stateless MCP is the biggest spec change since launch and makes agents safer than shell access: this is Willison's commentary (Stateless MCP). The reviewed sources do not independently assess it.
- Release provenance: PyPI shows GitHub Actions attestations for the release files (PyPI).
- Corroboration: none found. All the reviewed sources are the maintainer's own blog, repository or package listing.
Context and prior work
- Another project with the same name: Michael Halle's mhalle/datasette-mcp is a separate server that gives MCP clients read-only access to remote Datasette instances.
- Willison's own history: he described the official plugin as his fourth attempt, and the first that felt ready once MCP 2.0 arrived (Stateless MCP).
- Core status: Datasette itself is still in 1.0 alpha. The 1.0 milestone was reported 53% complete as of 1.0a43 (1.0a43).
Read the full section
- Another project with the same name: Michael Halle's mhalle/datasette-mcp is a separate server that gives MCP clients read-only access to remote Datasette instances. Willison's plugin runs inside Datasette itself.
- Willison's own history: he described the official plugin as his fourth attempt, and the first that felt ready once MCP 2.0 arrived (Stateless MCP).
- Core status: Datasette itself is still in 1.0 alpha. The 1.0 milestone was reported 53% complete as of 1.0a43 (1.0a43).
Limitations, safety and contested findings
- Writes: turning on canned queries can expose writable operations to agents (GitHub releases).
- Breakage: 0.4 itself shows that alpha changes in core Datasette can break the plugin.
- Recent core security issues: 1.0a43 fixed exposure of private stored queries' metadata (1.0a43).
Read the full section
- Writes: turning on canned queries can expose writable operations to agents (GitHub releases). Grant those permissions carefully.
- Breakage: 0.4 itself shows that alpha changes in core Datasette can break the plugin.
- Recent core security issues: 1.0a43 fixed exposure of private stored queries' metadata (1.0a43). 1.0a44 tightened
/-/configso that by default only root can see it (Datasette releases). Deployments exposed to agents should upgrade the core along with the plugin.
Business and practitioner implications
- Low-cost agent access to data: any published SQLite dataset can become something an agent can query, with no custom API, while keeping the existing permission model.
- Upgrade together: update datasette-mcp to 0.4 at the same time as Datasette 1.0a44. Pinning one without the other will break.
- Simpler hosting: stateless MCP makes it easier to put servers behind standard HTTP infrastructure.
Read the full section
- Low-cost agent access to data: any published SQLite dataset can become something an agent can query, with no custom API, while keeping the existing permission model.
- Upgrade together: update datasette-mcp to 0.4 at the same time as Datasette 1.0a44. Pinning one without the other will break.
- Simpler hosting: stateless MCP makes it easier to put servers behind standard HTTP infrastructure.
- Production use: this is still alpha-stage software maintained largely by one person. Before relying on it in production, plan for API churn and do your own testing, since there is no published evaluation.
The source trail.
Sources (9)
datasette-mcp 0.4
Article text retrieved; extracted text may omit tables or interactive elements.
simonwillison.net