
Cursor 用于协助 Laravel 开发的 MCP 服务器
概览
专为与 Cursor IDE 集成而设计的Laravel 帮助工具集合,改进开发工作流程并直接在您编辑器内调试能力. 此套件的构建是为了增强您在 Cursor IDE 中的 Laravel 开发经验. 所有工具都可以通过 Cursor 的命令调色板直接访问,并与您的开发工作流程无缝地融合. - 尾端 log file: 直接以 Cursor - search log errors 查看您 Laravel 日志文件中的最新条目 : 通过您的日志文件搜索带有集成结果的特定错误模式 - run artisan command: 直接从 Cursor 执行 Laravel 手动命令 - 显示 模型: 在编辑器中显示模型信息和关系 2. 创建 shell 脚本包装器(例如 ~/bin/run-laravel-mcp): - PHP 8.1+ - Laravel 10.0+ - Cursor IDE - UV - 现代 Python 包装工具 该项目正在积极发展之中。 欢迎提出问题和拉动请求。 详细情况见LICENSE文件
概述(AI 翻译)
□
** 本项目不再开发。 我建议用Larvel Boost 如果你要找一个功能齐全的Laravel MCP服务器**
□ 概览 专为与 Cursor IDE 集成而设计的Laravel 帮助工具集合,改进开发工作流程并直接在您编辑器内调试能力.
□ 光标集成 此套件的构建是为了增强您在 Cursor IDE 中的 Laravel 开发经验. 所有工具都可以通过 Cursor 的命令调色板直接访问,并与您的开发工作流程无缝地融合.
□ 可用的工具
- [[T0]: 直接以 Cursor 查看您 Laravel 日志文件中的最新条目
- [[T1]: 通过您的日志文件搜索带有综合结果的特定错误模式
- [[T2]: 从光标直接执行 Laravel 手动命令
- [[T3]: 在编辑器中显示模型信息和关系
□ 安装
-
清除储存库:
-
创建外壳脚本包装(例如
~/bin/run-laravel-mcp): -
使脚本可执行:
-
确保
~/bin在您的路径中:
□ 要求
- PHP 8.1 + 高频
- 拉拉维尔10.0+
- 光标 IDE
本页由 AI 翻译,技术细节请以原文为准。
README
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 Cursorsearch_log_errors: Search through your log files for specific error patterns with integrated resultsrun_artisan_command: Execute Laravel artisan commands directly from Cursorshow_model: Display model information and relationships in your editor
Installation
- Clone the repository:
git clone https://github.com/your-username/laravel-mcp.git
cd laravel-mcp
- 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
- Make the script executable:
chmod +x ~/bin/run-laravel-mcp
- Ensure
~/binis 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
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →