Skip to main content
Glama

Laravel 助手 MCP

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

概述

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

Related MCP server: laravel-artisan-mcp

光标集成

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

执照

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

Related MCP Connectors

  • Search Laravel jobs, remote roles, Laravel news, and package releases in real time.

  • Product Hunt for AI tools. Search, submit, upvote from Claude Code or Cursor.

  • Run, debug, and triage tests from your IDE using natural language, no dashboard switching, no manual data transfers. The TestMu AI (formerly LambdaTest) MCP Server is a single remote server exposing four tool suites: HyperExecute — analyze your project, generate YAML configs and test runner commands, then monitor jobs and sessions. Automation — pull a TestID's details plus command, network, and console logs into one chat for instant root-cause analysis. Includes mobile app upload. SmartUI — explain pixel, layout, DOM, and perceptual changes in a visual regression run, with context-aware React/HTML/CSS fixes. Accessibility — audit any public URL or a local React app against WCAG and get ready-to-apply remediation steps. Connects over https://mcp.lambdatest.com/mcp using OAuth 2.1 — no API keys in your config. One-click install in Cursor; works with Claude, GitHub Copilot, Cline, and any MCP client. Tests execute on the TestMu AI cloud: 3,000+ browsers and 10,000+ real devices.

  • External security monitoring for Laravel apps: list domains, trigger scans, read issues and fixes.

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Provides AI assistants with direct access to Laravel documentation, coding rules, and implementation templates stored locally. It enables searching documentation, retrieving design system guides, and accessing domain-specific code examples to streamline Laravel development.
    8
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI assistants to introspect a Laravel application's routes, models, controllers, migrations, and more through the Model Context Protocol, running locally via php artisan commands and filesystem scanning.
    6 npm
    MIT