Laravel Helper Tools

by jsonallen

10 stars
Not rated
GitHub

About

Integrates with Laravel projects to provide log analysis, error tracking, and Artisan command execution for streamlined development workflows.

Details

Author
jsonallen
Repository
jsonallen/laravel-mcp
GitHub stars
10
License
MIT License
Categories
Productivity, Developer Tools, Design, File Management, AI, Search, Project Management, Frontend, Infrastructure

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Laravel Helper Tools
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Clone the repository:

git clone https://github.com/your-username/laravel-mcp.git
cd laravel-mcp

2. Create a shell script wrapper (e.g., ~/bin/run-laravel-mcp):
```bash
#!/bin/bash

tail_log_file

View the most recent entries in your Laravel log file directly in Cursor.

search_log_errors

Search through your log files for specific error patterns with integrated results.

run_artisan_command

Execute Laravel artisan commands directly from Cursor.

show_model

Display model information and relationships in your editor.

- tail_log_file: View the most recent entries in your Laravel log file directly in Cursor
- search_log_errors: Search through your log files for specific error patterns with integrated results
- run_artisan_command: Execute Laravel artisan commands directly from Cursor
- show_model: Display model information and relationships in your editor

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "laravel helper tools": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

Laravel Helpers MCP

⚠️ Project Deprecated

This project is no longer under development. I recommend using Larvel Boost if you're looking for a fully featured Laravel MCP server

Overview

A collection of Laravel helper tools specifically designed for integration with Cursor IDE, improving development workflow and debugging capabilities directly within your editor.

Cursor Integration

This package is built to enhance your Laravel development experience in Cursor IDE. All tools are accessible directly through Cursor's command palette and integrate seamlessly with your development workflow.

Available Tools

- tail_log_file: View the most recent entries in your Laravel log file directly in Cursor
- search_log_errors: Search through your log files for specific error patterns with integrated results
- run_artisan_command: Execute Laravel artisan commands directly from Cursor
- show_model: Display model information and relationships in your editor

Installation

1. Clone the repository:

git clone https://github.com/your-username/laravel-mcp.git
cd laravel-mcp

2. Create a shell script wrapper (e.g., ~/bin/run-laravel-mcp):

#!/bin/bash

Point to your Laravel project path

export LARAVEL_PATH=/path/to/your/laravel/project

Run the MCP server

mcp run /path/to/laravel-helpers-mcp/server.py

3. Make the script executable:

chmod +x ~/bin/run-laravel-mcp

4. Ensure ~/bin is in your PATH:

echo 'export PATH="$HOME/bin:$PATH"' >> ~/.zshrc  # or ~/.bashrc
source ~/.zshrc # or source ~/.bashrc

Requirements

- PHP 8.1+ - Laravel 10.0+ - Cursor IDE - UV - Modern Python packaging tools

Contributing

This project is in active development. Issues and pull requests are welcome.

License

[License Type] - See LICENSE file for details
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.