Looking to hire Laravel developers? Try LaraJobs

laravel-boost-tinker-mcp maintained by shaffe

Description
Tinker MCP tool for Laravel Boost — execute PHP code in the Laravel application context.
Last update
2026/03/23 14:22 (dev-main)
License
Downloads
115
Tags

Comments
comments powered by Disqus

Laravel Boost Tinker MCP

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