shaffe / laravel-boost-tinker-mcp
Tinker MCP tool for Laravel Boost — execute PHP code in the Laravel application context.
Package info
github.com/shaffe-fr/laravel-boost-tinker-mcp
pkg:composer/shaffe/laravel-boost-tinker-mcp
v1.0.0
2026-03-23 13:22 UTC
Requires
- php: ^8.1
- laravel/boost: ^2.0
README
Adds the Tinker MCP tool back to Laravel Boost. This tool was included in Boost 1.x but removed in 2.x. It lets you execute PHP code in your Laravel application context via MCP, just like artisan tinker.
Installation
composer require shaffe/laravel-boost-tinker-mcp
The service provider is auto-discovered. The Tinker tool will be automatically registered with Boost.
Usage
Once installed, the tinker tool is available in your MCP client. It accepts:
code— PHP code to execute (without<?phptags)timeout— Maximum execution time in seconds
License
MIT