You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Laravel Boost MCP tools for AI-assisted translation management. When laravel/boost is installed, the package auto-registers seven tools into Boost's MCP server (packageBooted() in TranslationHandlerServiceProvider):
get-translation-config — read the active translation handler config
list-translations — list translations from a storage format, optionally filtered by locale or key group prefix
list-translation-groups — list unique key groups at a given depth level (number of delimiters), with optional case-insensitive search; useful for exploring large key hierarchies before reading or writing
find-translation — look up a single translation by key and locale
set-translation — create or update a translation for a single locale
set-all-locales-translation — create or update a translation key for all locales at once in a single call
DB-first workflow recommendation documented in the skill and README: write individual changes to db (row-level I/O), then flush to files with a single sync-translations call at the end, avoiding repeated full-file rewrites.
AI development skill + Boost guideline under resources/boost/guidelines/core.blade.php and resources/boost/skills/translation-handler-development/SKILL.md, documenting tool contracts, translation handler conventions, and the DB-first workflow for AI agents.
Dev
laravel/mcp ^0.7.0 added as a dev dependency. The runtime requirement is unchanged — Boost integration only activates when the host app installs laravel/boost.
Feature test suite for each MCP tool covering all storage backends (PHP, JSON, CSV, DB).
CI: composer require ... --dev so the new MCP dep resolves on the matrix.
Fixed
Test suite duplicated the package migrations (Spatie's published copies in the testbench app vs. a manual loadMigrationsFrom of /tmp stubs), causing migrate:fresh to fail with table "translation_keys" already exists. Removed the redundant defineDatabaseMigrations() override so tests rely on the workbench-published migrations only.
Compatibility
No breaking changes. Boost tools are opt-in via laravel/boost; without it, the service provider behaves exactly as in v2.0.3.
Composer suggest entry: laravel/boost — Required to expose translation MCP tools to AI agents via boost:mcp.