shaffe/laravel-boost-tinker-mcp

Tinker MCP tool for Laravel Boost — execute PHP code in the Laravel application context.

Maintainers

Package info

github.com/shaffe-fr/laravel-boost-tinker-mcp

pkg:composer/shaffe/laravel-boost-tinker-mcp

Statistics

Installs: 67

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-03-23 13:22 UTC

This package is auto-updated.

Last update: 2026-03-23 13:33:29 UTC


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 <?php tags)
  • timeout — Maximum execution time in seconds

License

MIT