Looking to hire Laravel developers? Try LaraJobs

laravel-boost-trae maintained by ifwrong

Description
Laravel Boost addon that provides support for Trae IDE
Last update
2026/07/22 10:50 (dev-main)
License
Links
Downloads
4
Tags

Comments
comments powered by Disqus

Laravel Boost Trae Extension

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 .trae in the project root, with automatic fallback to the parent directory for monorepo setups.
  • MCP support — generates .trae/mcp.json and sets the server cwd to 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.