v0.4.0
What's new
Cross-database support for schema and sample tools
get_schema_info and get_table_sample now accept database.table notation, making them consistent with execute_sql. Bare table names continue to use MYSQL_DATABASE.
MCP Prompts
Two guided workflow prompts, usable as slash commands in Claude Desktop and other supporting clients:
explore_database— discovers resources, inspects schemas, samples data, and summarizes what's thereanalyze_table— schema + sample + query suggestions for a named table
Better multi-statement error
execute_sql now returns a clear message when a multi-statement query is passed, instead of MySQL's cryptic "Commands out of sync" error.
Improved tool hints
Richer tool descriptions, and get_schema_info/get_table_sample now carry readOnlyHint=True so clients can distinguish them from destructive operations.
Package metadata
Added homepage URL, SPDX license, keywords, and classifiers to PyPI metadata so pypistats.org and similar sites can display them correctly. Committed uv.lock for reproducible hosted builds.
Full changelog
See CHANGELOG.md for details.