Repository navigation
Releases
Releases · datomatic/laravel-database-mcp
v1.2.0
Full Changelog: v1.1.0...v1.2.0
v1.1.0
Added
- Tenant scoping for single-database multi-tenant applications: set
tenant.columnand register a
resolver withDatabaseMcp::resolveTenantUsing(). Queries on tables with the column are filtered
on the current tenant (base table inWHERE, joined tables in theONclause), the column is
hidden, and tables without it are hidden unless listed intenant.shared_tables. Queries are
rejected when no tenant is resolved.
See Multi-tenant applications for setup. No upgrade steps needed from 1.0.
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Security
- Fixed a deny-list bypass: a schema-qualified table name (e.g.
main.password_resets, or
otherdb.tableon MySQL) passed the table checks and could be queried. Tables are now matched
by their exact name against the listing of allowed tables. - PostgreSQL and SQLite now only expose tables in the connection's own schema (
search_path/
main), as MySQL already did.
Added
- Wildcard patterns in
denied_tablesanddenied_columns(telescope_*,*_token). - Table-scoped denied columns (
users.email,customers.*_iban). allowed_tablesallowlist mode.include_viewsoption to expose database views.- Filter operators:
not_like,starts_with,ends_with,in,not_in,between,is_null,
is_not_null(list operators take a newvalueskey). - Filters and
order_bymay target joined table columns (table.column). sortparameter for multi-column ordering.query_timeoutoption (default 10 seconds) on MySQL, MariaDB and PostgreSQL.audit_logoption to log every tool call with user, arguments, outcome and duration.masked_columnsoption to anonymise sensitive columns instead of hiding them, with the
redact,partial,emailandhash(keyed pseudonym) strategies. Masked columns cannot be
sorted, grouped, pattern-matched or aggregated except withCOUNT;searchableones accept=
with the full exact value.describe_databaseflags them. Newmask_keyoption forhash.
Changed
- Default
denied_tablesnow also covernotifications,webhook_calls,telescope_*,
pulse_*and alloauth_*tables. - Default
denied_columnsare nowpassword,two_factor_recovery_codes,*_token,*_secret. - Table names must match exactly (case included) the name in the database.
query_timeoutis on by default (10 seconds).- Dropped Laravel 11 support (end of life); requires Laravel 12.41.1+ or 13 (same floor as
laravel/mcp1.x). - Requires
laravel/mcp^1.0 (dropped 0.9).
See UPGRADE.md for upgrade steps.
Full Changelog: v0.2.0...v1.0.0
v0.2.0
Update laravel/mcp version constraint to include 1.0 + refactoring
Full Changelog: v0.1.1...v0.2.0
v0.1.1
Update laravel/mcp
Full Changelog: v0.1.0...v0.1.1