Skip to main content
Glama

Laravel 助手 MCP

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

概述

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

Related MCP server: MCP Server Template for Cursor IDE

光标集成

此软件包旨在增强您在 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

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jsonallen/laravel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server