Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AIFire in da houseCheck it out free

laravel-mcp

MCP.Pizza Chef: jsonallen

Laravel MCP is an MCP server designed to integrate with Cursor IDE, providing specialized Laravel development tools. It offers features like log file tailing, error searching, artisan command execution, and model inspection, all accessible within the editor. This server streamlines Laravel workflows and debugging directly in Cursor, improving developer efficiency and insight.

Use This MCP server To

View recent Laravel log entries within Cursor IDE Search Laravel log files for specific error patterns Run Laravel artisan commands from Cursor command palette Display Laravel model details and relationships in editor Debug Laravel applications without leaving the IDE Integrate Laravel development tools seamlessly into Cursor workflow

README

Laravel Helpers MCP

⚠️ ALPHA SOFTWARE WARNING ⚠️ This package is currently in alpha stage. APIs and functionality may change without notice. Use in production at your own risk.

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
  1. 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
  1. Make the script executable:
chmod +x ~/bin/run-laravel-mcp
  1. 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

laravel-mcp FAQ

How do I install laravel-mcp in Cursor IDE?
Install via Cursor's extension marketplace or follow the GitHub README instructions for manual setup.
Can laravel-mcp run all artisan commands?
It supports most common artisan commands accessible through Cursor's command palette.
Is laravel-mcp safe to use in production environments?
laravel-mcp is currently alpha software; use in production at your own risk.
How does laravel-mcp improve debugging?
It allows real-time log tailing and error searching directly inside Cursor, speeding up issue identification.
Does laravel-mcp support viewing model relationships?
Yes, it can display model information and relationships within the editor.
Can I customize the log search patterns?
Yes, you can specify error patterns to search within Laravel log files.
Is laravel-mcp limited to Cursor IDE?
Yes, laravel-mcp is specifically designed to integrate with Cursor IDE for Laravel development.
Will laravel-mcp support future Laravel versions?
The project is in alpha; updates will aim to support new Laravel versions as they release.