Laravel Helpers MCP

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides tools for Laravel developers, including log file viewing and searching, artisan command execution, and model information retrieval directly within the Cursor IDE.

  • Enables access to PHP 8.1+ functionality as required by the Laravel integration, supporting the server's ability to interact with Laravel PHP applications.

Laravel 助手 MCP

⚠️ ALPHA 软件警告⚠️ 此软件包目前处于 Alpha 测试阶段。API 和功能如有变更,恕不另行通知。在生产环境中使用,风险自负。

概述

一组专为与Cursor IDE集成而设计的 Laravel 辅助工具,可直接在编辑器中改善开发工作流程和调试功能。

光标集成

此软件包旨在增强您在 Cursor IDE 中的 Laravel 开发体验。所有工具均可直接通过 Cursor 的命令面板访问,并与您的开发工作流程无缝集成。

可用工具

  • tail_log_file :直接在 Cursor 中查看 Laravel 日志文件中的最新条目
  • search_log_errors :通过日志文件搜索特定的错误模式并获取综合结果
  • run_artisan_command :直接从 Cursor 执行 Laravel artisan 命令
  • show_model :在编辑器中显示模型信息和关系

安装

  1. 克隆存储库:
git clone https://github.com/your-username/laravel-mcp.git cd laravel-mcp
  1. 创建一个 shell 脚本包装器(例如~/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. 使脚本可执行:
chmod +x ~/bin/run-laravel-mcp
  1. 确保~/bin在您的 PATH 中:
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.zshrc # or ~/.bashrc source ~/.zshrc # or source ~/.bashrc

要求

贡献

该项目正在积极开发中。欢迎提出问题和提交 Pull 请求。

执照

[许可证类型] - 详情请参阅许可证文件

-
security - not tested
A
license - permissive license
-
quality - not tested

一组用于与 Cursor IDE 集成的 Laravel 辅助工具,提供日志查看、错误搜索、artisan 命令执行和直接在编辑器中显示模型信息等功能。

  1. Overview
    1. Cursor Integration
      1. Available Tools
        1. Installation
          1. Requirements
            1. Contributing
              1. License
                ID: zl9icupkxl