ifwrong / laravel-boost-trae
Laravel Boost addon that provides support for Trae IDE
Package info
github.com/ifwrong/laravel-boost-trae-extension
pkg:composer/ifwrong/laravel-boost-trae
Requires
- php: ^8.2
- laravel/boost: ^2.0
README
A Laravel Boost addon that provides support for the Trae AI IDE.
It registers a trae agent with Laravel Boost so that boost:install can scaffold MCP configuration, project guidelines, and skills for Trae — including Trae CN.
Requirements
- PHP ^8.2
- Laravel Boost ^2.0
Installation
composer require ifwrong/laravel-boost-trae
Then run the Boost installer:
php artisan boost:install
Select Trae from the list of agents. Boost will generate the MCP config, guidelines, and skills into your project's .trae directory.
Features
- System detection — locates the Trae / Trae CN app on macOS, Windows, and Linux.
- Project detection — detects
.traein the project root, with automatic fallback to the parent directory for monorepo setups. - MCP support — generates
.trae/mcp.jsonand sets the servercwdto your Laravel base path so MCP tools run in the right project context. - Guidelines — writes project rules to
.trae/project_rules.md. - Skills — scaffolds skills into
.trae/skills.
Configuration
All paths are configurable via config/boost.php. Defaults are shown below:
'agents' => [ 'trae' => [ 'mcp_config_path' => '.trae/mcp.json', 'guidelines_path' => '.trae/project_rules.md', 'skills_path' => '.trae/skills', ], ],
Directory Structure
After installation, a typical .trae directory looks like:
.trae/
├── mcp.json
├── project_rules.md
└── skills/
License
The MIT License (MIT). Please see LICENSE for more information.