Laravel MCP

Laravel 13 + Livewire 4.2 MCP Server

58 AI-powered tools for full-stack Laravel development with planning, memory, bug fixing, versioning, and GitHub integration.

v2.0.0 58 Tools MIT License Auto-Sync
📋

Planning System

Full-stack plans with phases, tasks, and auto-completion tracking.

💾

Memory & RAG

Persistent project state with endpoint memorization and context recall.

🐛

Bug Fixing

Auto-detect and fix bugs with security audits and prevention rules.

🔄

Auto-Sync

Automatic git commits, pushes, and version tags on task completion.

🚀

GitHub Integration

Full workflow: commits, PRs, issues, releases, and CI/CD setup.

🎨

Design Conversion

Convert HTML, images, Figma, and Google Stitch to Livewire components.

Installation

Get started with the Laravel MCP Server in minutes.

bash
# Clone the repository
git clone https://github.com/shamimlaravel/laravel13-livewire4.2.1-mcp.git
cd laravel13-livewire4.2.1-mcp

# Install dependencies
npm install

# Start the MCP server
npm start
Requirements:
  • Node.js >= 18.0.0
  • PHP >= 8.4 (for Laravel projects)
  • Laravel >= 13.2
  • Livewire >= 4.2.1

Configuration

Configure the MCP server in your project.

Add to mcp-config.json

json
{
  "mcpServers": {
    "laravel13-livewire4.2.1-mcp": {
      "command": "node",
      "args": ["laravel13-livewire4.2.1-mcp/src/index.js"],
      "description": "MCP Server for Livewire v4.2+ / Laravel 13"
    }
  }
}

🔄 Workflow Animation

Watch how MCP tools execute in real-time. Click "Play" to start the simulation.

👤 User ⚡ MCP Server 🔧 Select generate_* fix_bugs git_* convert_* ✅ Done 📦
1.0x

📋 Execution Log

Waiting to start...
Current Step -
Progress
0%
Status Idle

📋 Planning Simulator

Interactive project planning with phases, tasks, and auto-sync visualization.

SaaS Dashboard

Type: SaaS
Overall Progress
0%

🔄 Auto-Sync Flow Diagram

Visualize how git operations are triggered automatically.

Task Complete
📁 git add .
Waiting...
💾 git commit
Waiting...
git push
Waiting...
Phase Complete?
Ready for Next Task
0 Today's Syncs
main Current Branch
Never Last Sync

🔧 Tool Chain Builder

Drag and drop tools to build custom workflows.

Available Tools

📋 Planning

📋 generate_plan
update_task_status
📊 get_project_status

🔧 Code Generation

🧩 generate_livewire_component
📝 generate_crud_component
🗄 generate_eloquent_model
🎨 generate_layout
🛤 generate_routes
🧪 generate_test

🐛 Bug Fixing

🐛 fix_bugs
🔒 security_audit

🔄 GitHub

💾 git_commit
git_push
🏷 git_tag_create
🔀 gh_pr_create

🎨 Design

🖼 convert_html_to_livewire
🎨 convert_figma_to_livewire

Your Workflow

📦 Drag tools here to build your workflow

Execution Log

Workflow not started

📊 Status Dashboard

Real-time project status monitoring with live updates.

📋 Tasks
0/32
🐛 Bugs
3 open
0 fixed
🔄 Syncs
0
Today
📦 Version
v0.0.0
Latest

📜 Recent Activity

🧠 Memory & RAG

45 Endpoints
23 Decisions

📅 Version History

All 58 MCP Tools

Complete reference of all available tools.

Category Tool Name Description
Planning generate_plan Generate full-stack project plans with phases and tasks
Planning update_task_status Update task status with auto-git-sync on completion
Planning get_project_status Show progress percentage, phases, and task status
Planning continue_project Resume interrupted session with full context
Code Gen generate_livewire_component Generate SFC/MFC/Class-based Livewire components
Code Gen generate_crud_component Complete CRUD with modal, pagination, search
Code Gen generate_data_table Data table with sorting, filtering, bulk actions
Code Gen generate_form_component Forms with relationships, file uploads, validation
Code Gen generate_layout Blade layouts (base/app/guest/admin/tenant)
Code Gen generate_eloquent_model Laravel 13 models with PHP attributes
Code Gen generate_routes Routes with middleware groups and named routes
Code Gen generate_test Comprehensive Pest tests with assertions
Code Gen generate_modal_component Reusable modals (confirm, delete, form, alert)
Code Gen generate_file_upload_component File upload with preview, validation, progress
Code Gen generate_search_filter_component Multi-field search/filter with date range
Code Gen generate_chart_widget Dashboard charts/widgets (stats, line, bar, pie)
Code Gen generate_policy Policy classes for model authorization
Code Gen generate_observer Model observers for event handling
Code Gen generate_trait Reusable traits (HasSlug, HasTenant, Sortable)
Code Gen generate_middleware HTTP middleware (Admin, Tenant, RateLimit)
Code Gen generate_service_class Service classes for business logic
Code Gen generate_project_structure Enterprise/SaaS/API project structure
Bug Fix fix_bugs Auto-detect and fix bugs in code
Bug Fix deep_scan_bugs Deep scan for bugs in tables, lists, files
Bug Fix scan_project_bugs Scan entire project directory for bugs
Bug Fix get_open_bugs Get list of all open (unfixed) bugs
Bug Fix get_fixed_bugs Get list of all fixed bugs
Bug Fix mark_bug_fixed Mark a bug as fixed by ID
Bug Fix security_audit Audit code for XSS, SQL injection, CSRF
Memory memorize_endpoint Memorize API endpoints for RAG
Memory memorize Store key-value project memories
Memory recall_context Recall memorized endpoints and decisions
Version create_version Create version snapshot
Version list_versions List all versions
Version restore_version Restore to previous version
GitHub gh_auth_status Check GitHub CLI authentication
GitHub gh_auth_login Authenticate with GitHub
GitHub gh_repo_create Create GitHub repository
GitHub git_commit Auto-generate conventional commit messages
GitHub git_push Push to remote repository
GitHub git_pull Pull from remote repository
GitHub git_tag_create Create annotated version tags
GitHub git_tag_list List all tags
GitHub git_status Show git status
GitHub git_branch_create Create new branch
GitHub git_branch_list List all branches
GitHub git_branch_merge Merge branch
GitHub git_branch_delete Delete branch
GitHub gh_pr_create Create Pull Request
GitHub gh_pr_list List Pull Requests
GitHub gh_pr_merge Merge Pull Request
GitHub gh_issue_create Create GitHub Issue
GitHub gh_issue_list List GitHub Issues
GitHub gh_release_create Create GitHub Release
GitHub gh_ci_setup Setup GitHub Actions CI
GitHub git_sync Manual sync (commit + push)
GitHub git_auto_sync_toggle Toggle auto-sync on task completion
GitHub git_full_setup Full workflow: auth->init->create->commit->push->tag
Design convert_html_to_livewire Convert static HTML to Livewire components
Design convert_image_to_livewire Image/mockup to Livewire component
Design convert_stitch_to_livewire Google Stitch to Livewire component
Design convert_figma_to_livewire Figma design to Livewire component
Install install_laravel Laravel install + PHP 8.4 upgrade commands

Auto-Sync Behavior

Understanding how automatic git synchronization works.

Task Completion

Task done → git add . → git commit → git push

update_task_status("complete")
🏷

Phase Completion

Phase done → commit → push → tag v0.X.0

Phase 2 Complete → v0.2.0
🚀

Project 100%

All done → commit → push → tag v1.0.0 → Release

gh release create v1.0.0