Skip to main content
Glama
laravel13-livewire4.2.1-mcp

laravel13-livewire4.2.1-mcp

laravel13-livewire4.2.1-mcp

MCP Server for Livewire v4.2+ / Laravel 13 / PHP 8.4+ — Full-stack AI agent with planning, memory, bug fixing, versioning, GitHub integration, and design conversion.

Version

2.0.0

Related MCP server: laravel-artisan-mcp

Tools

Planning & Project Management

Tool

Description

generate_plan

/plan {keyword} — Full stack plan (saas/enterprise/ecommerce/portfolio)

update_task_status

Update task status with auto-git-sync on completion

get_project_status

Show progress %, phases, and task status

continue_project

Resume interrupted session

Code Generation

Tool

Description

generate_livewire_component

Generate SFC/MFC/Class-based Livewire components

generate_crud_component

Complete CRUD with modal, pagination, search, authorization

generate_data_table

Data table with sorting, filtering, bulk actions, export

generate_form_component

Forms with relationships, file uploads, validation

generate_layout

Blade layouts (base/app/guest/admin/tenant/auth/dashboard/error)

generate_eloquent_model

Laravel 13 models with PHP attributes, relationships, scopes

generate_routes

Routes with middleware groups and named routes

generate_test

Comprehensive Pest tests with auth, validation, assertions

generate_modal_component

Reusable modals (confirm, delete, form, alert, info)

generate_file_upload_component

File upload with preview, validation, progress

generate_search_filter_component

Multi-field search/filter with date range, pagination

generate_chart_widget

Dashboard charts/widgets (stats, line, bar, pie, activity)

generate_policy

Policy classes for model authorization

generate_observer

Model observers for event handling

generate_trait

Reusable traits (HasSlug, HasTenant, Sortable, etc.)

generate_middleware

HTTP middleware (Admin, Tenant, RateLimit, etc.)

generate_service_class

Service classes for business logic

generate_project_structure

Enterprise/SaaS/API project structure

Bug Fixing & Security

Tool

Description

fix_bugs

/fix — Auto-detect and fix bugs

deep_scan_bugs

Deep scan for bugs in tables, lists, files, validation, types

scan_project_bugs

Scan entire project directory for common bugs

get_open_bugs

Get list of all open (unfixed) bugs

get_fixed_bugs

Get list of all fixed bugs

mark_bug_fixed

Mark a bug as fixed by ID

security_audit

Audit code for XSS, SQL injection, mass assignment, CSRF

Deep Scan Bug Categories

  • Tables: wire:key, sort headers, tbody, td click handlers

  • Lists: UL/OL/LI, grid items, flex items, foreach security

  • Files: WithFileUploads, MIME validation, store security

  • Validation: create/update/fill without validate, save methods

  • Authorization: delete/restore without authorize, Gate usage

  • Security: XSS, SQL injection, command injection, open redirect

  • Types: Untyped properties, missing return types

  • Pagination: Missing resetPage on search/filter

  • Models: find() vs findOrFail, fillable, timestamps, relationships

Memory & RAG

Tool

Description

memorize_endpoint

Memorize API endpoints for RAG

memorize

Store key-value project memories

recall_context

Recall memorized endpoints and decisions

Version Control

Tool

Description

create_version

Create version snapshot

list_versions

List all versions

restore_version

Restore to previous version

GitHub Integration

Tool

Description

gh_auth_status

Check GitHub CLI authentication

gh_auth_login

Authenticate with GitHub

gh_repo_create

Create GitHub repository

git_commit

Auto-generate conventional commit messages

git_push

Push to remote

git_pull

Pull from remote

git_tag_create

Create annotated version tags

git_tag_list

List all tags

git_status

Show git status

git_branch_create

Create new branch

git_branch_list

List branches

git_branch_merge

Merge branch

git_branch_delete

Delete branch

gh_pr_create

Create Pull Request

gh_pr_list

List Pull Requests

gh_pr_merge

Merge PR

gh_issue_create

Create GitHub Issue

gh_issue_list

List Issues

gh_release_create

Create GitHub Release

gh_ci_setup

Setup GitHub Actions CI

git_sync

Manual sync (commit + push)

git_auto_sync_toggle

Toggle auto-sync on task completion

git_full_setup

Full workflow: auth→init→create→commit→push→tag

Design Conversion

Tool

Description

convert_html_to_livewire

Convert HTML to Livewire

convert_image_to_livewire

Image/mockup → Livewire

convert_stitch_to_livewire

Google Stitch → Livewire

convert_figma_to_livewire

Figma → Livewire

Installation

Tool

Description

install_laravel

Laravel install + PHP 8.4 upgrade commands

Installation

cd laravel13-livewire4.2.1-mcp
npm install
npm start

Configuration (mcp-config.json)

{
  "mcpServers": {
    "laravel13-livewire4.2.1-mcp": {
      "command": "node",
      "args": ["laravel13-livewire4.2.1-mcp/src/index.js"]
    }
  }
}

Features

  • Planning: Generate full-stack plans for SaaS, Enterprise, E-Commerce, Portfolio

  • Memory: Persistent project state, tasks, phases, todos across sessions

  • Auto-Sync: Every task completion auto-commits and pushes to GitHub

  • 100% Auto-Push: When all tasks complete → auto commit + push + tag v1.0.0 + GitHub Release

  • Bug Fixing: Auto-detect and fix 10+ bug patterns

  • Version Control: Snapshots, restore, git tags with descriptions

  • GitHub Integration: Auth, repo creation, PRs, issues, releases, CI

  • Design Conversion: HTML, Image, Stitch, Figma → Livewire

  • Security: Validation, authorization, locked properties, XSS prevention

  • Token Optimization: No garbage code, no unused imports, PHP 8.4 shorthand

Auto-Sync Behavior

On Task Completion:

Task completed → git add . → git commit (auto message) → git push

On Phase Completion:

Phase complete → git add . → git commit → git push → git tag v0.X.0

On 100% Project Completion:

100% complete → git add . → git commit → git push → git tag v1.0.0 → gh release create

Security Features

  • Auto-add #[Locked] for ID and role properties

  • Auto-add $this->authorize() for mutations

  • CSRF meta tag in all layouts

  • Rate limiting attributes on sensitive endpoints

  • File upload MIME validation

  • XSS prevention with {{ }} escaping

  • SQL injection prevention with parameter binding

  • Mass assignment protection with #[Fillable]

Available Tools

75 tools
continue_projectC

Continue from last interrupted session.

Inputs: no named parameters.

convert_figma_to_livewireC

Convert Figma design to Livewire component.

Inputs: figmaUrl (required), layout, figmaToken, componentName.

convert_html_to_livewireC

Convert static HTML to a Livewire v4.2+ component with proper wire directives, validation, and security.

Inputs: html (required), layout, hasForm, hasList, +2 more.

convert_image_to_livewireB

Convert an image/mockup description to a Livewire component with matching design.

Inputs: imageDescription (required), layout, componentName.

convert_stitch_to_livewireC

Convert Google Stitch design to Livewire component.

Inputs: stitchUrl (required), layout, componentName.

create_versionB

Create a version snapshot of the current project state.

Inputs: description (required), files.

deep_scan_bugsC

Comprehensive bug scanner for Livewire/Laravel - tables, item lists, file lists, pagination, validation, security, types, and more.

Inputs: code (required), fileType (required), scanMode.

fix_bugsB

Analyze and fix bugs in Livewire/Laravel code automatically.

Inputs: code (required), fileType (required), bugDescription.

generate_api_resourceA

Generate a Laravel 13 API Resource with relationships, meta, pagination, and conditional loading.

Inputs: modelClass (required), resourceName (required), fields, withMeta, +2 more.

generate_chart_widgetC

Generate a Livewire dashboard chart/widget component with stats, charts, and real-time updates.

Inputs: widgetType (required), title, layout, metrics, +2 more.

generate_constraint_violation_handlerB

Generate Laravel 13.2 UniqueConstraintViolationException handler with column/index details.

Inputs: fields (required), modelName (required), customMessage.

generate_crud_componentB

Generate a complete CRUD (Create, Read, Update, Delete) Livewire component with index, create, edit, delete, validation, authorization, and pagination.

Inputs: model (required), modelClass (required), fields, layout, +2 more.

generate_custom_middlewareC

Generate Laravel 13 middleware with auth, rate limiting, CSRF, and security checks.

Inputs: middlewareName (required), type, rateLimit, redirectTo, +1 more.

generate_data_tableA

Generate a Livewire data table component with sorting, filtering, search, pagination, bulk actions, and export.

Inputs: model (required), modelClass (required), layout, columns, +3 more.

generate_eloquent_modelA

Generate a Laravel 13.2 Eloquent model with PHP 8.3 attributes, relationships, scopes, casts, observers, and new v13.2 features.

Inputs: name (required), casts, table, fields, +9 more.

generate_enumB

Generate a Laravel 13 backed enum with string/int values, labels, colors, and helper methods.

Inputs: enumName (required), type, values.

generate_file_upload_componentB

Generate a Livewire file upload component with preview, validation, progress, multiple files, and drag-drop.

Inputs: model, layout, maxSize, multiple, +4 more.

generate_flux_componentB

Generate a Livewire Flux UI component using the official Flux component library with dark mode support.

Inputs: componentName (required), size, slots, content, +2 more.

generate_form_componentB

Generate a Livewire form component with relationships, nested data, validation, file uploads, and dynamic fields.

Inputs: model (required), modelClass (required), fields, layout, +1 more.

generate_full_policyC

Generate a comprehensive Laravel authorization policy with all CRUD methods, Gates, and policy injection.

Inputs: modelClass (required), methods, conditions, usePolicyInjection.

generate_jobB

Generate a Laravel 13.2 queued job with #[Queue], #[Connection], #[Backoff] attributes, enum support, and retry handling.

Inputs: jobName (required), queue, tries, unique, +4 more.

generate_layoutC

Generate a Laravel 13 Blade layout file (base, app, guest, admin, tenant, auth, dashboard, error).

Inputs: layoutType (required), name.

generate_livewire_componentC

Generate a production-ready Livewire v4.2+ component with Laravel 13 attributes, validation, security, DRY patterns.

Inputs: name (required), type, title, fields, +8 more.

generate_mailA

Generate a Laravel 13 Mailable class with markdown templates, attachments, and queue support.

Inputs: subject (required), mailName (required), hasQueue, recipient, +2 more.

generate_middlewareA

Generate a Laravel HTTP middleware class (Admin, Tenant, VerifyEmail, RateLimit, CheckSubscription, MaintenanceMode).

Inputs: middlewareName (required).

generate_modal_componentA

Generate a reusable Livewire modal component for confirmations, delete actions, forms, and alerts.

Inputs: modalType (required), title, fields, message, +2 more.

generate_notificationB

Generate a Laravel notification with mail, database, broadcast, and SMS channels.

Inputs: notificationName (required), channels, markdown, properties.

generate_observerB

Generate a Laravel model observer for handling model events (creating, updating, deleting, etc.).

Inputs: model (required), modelClass (required), events.

generate_planB

Generate a full-stack development plan with phases and task groups for SaaS, Enterprise, E-Commerce, or Portfolio projects.

Inputs: keyword (required), custom.

generate_policyC

Generate a Laravel policy class for a model with all CRUD authorization methods.

Inputs: model (required), modelClass (required), userClass, extraMethods.

generate_project_structureB

Generate complete enterprise/SaaS/API Laravel 13 + Livewire project structure with all files, configs, and routes.

Inputs: projectName (required), type, features.

generate_rate_limited_endpointB

Generate a Laravel 13.2 API endpoint with rate limiting, auth, validation, and throttling middleware.

Inputs: route (required), method, rateDecay, rateLimit, +3 more.

generate_renderless_componentA

Generate a Livewire 4.2.1 renderless component with #[Renderless] attribute for logic-only components.

Inputs: name (required), events, methods, hasModal.

generate_reverb_channelB

Generate a Laravel Reverb WebSocket channel for real-time broadcasting with presence and private channels.

Inputs: channelName (required), auth, type, events, +1 more.

generate_routesB

Generate Laravel 13 routes with Livewire Route::livewire() syntax, middleware, and groups.

Inputs: routes (required), groups.

generate_search_filter_componentB

Generate a Livewire search and filter component with multi-field filters, date range, sorting, and pagination.

Inputs: model (required), modelClass (required), layout, filters, +2 more.

generate_service_classB

Generate a Laravel service class for business logic (BillingService, NotificationService, etc.).

Inputs: serviceName (required), methods.

generate_testA

Generate comprehensive Pest tests for Livewire components with auth, validation, and database assertions.

Inputs: componentName (required), fields, hasAuth, hasEdit, +3 more.

generate_traitB

Generate a reusable PHP trait for Laravel models (HasSlug, HasTenant, Sortable, HasStatus, HasUuid, Cachable, HasMedia).

Inputs: traitName (required), description.

get_fixed_bugsC

Get list of all bugs that have been fixed.

Inputs: filter.

get_open_bugsB

Get list of all open (unfixed) bugs.

Inputs: filter.

get_project_statusA

Get current project progress, phases, and task status.

Inputs: no named parameters.

gh_auth_loginC

Authenticate with GitHub CLI.

Inputs: method.

gh_auth_statusA

Check GitHub CLI authentication status.

Inputs: no named parameters.

gh_ci_setupA

Setup GitHub Actions CI for Laravel.

Inputs: no named parameters.

gh_issue_createC

Create a GitHub Issue.

Inputs: body (required), title (required), labels.

gh_issue_listC

List GitHub Issues.

Inputs: state.

gh_pr_createC

Create a Pull Request.

Inputs: base, body, head, draft, +1 more.

gh_pr_listC

List Pull Requests.

Inputs: state.

gh_pr_mergeC

Merge a Pull Request.

Inputs: number (required), method.

gh_release_createB

Create a GitHub Release.

Inputs: tag (required), notes (required), title (required).

gh_repo_createB

Create a new GitHub repository and set up remote.

Inputs: name (required), visibility, description.

git_auto_sync_toggleC

Toggle auto-sync on task completion.

Inputs: no named parameters.

git_branch_createB

Create a new git branch.

Inputs: name (required), from.

git_branch_deleteC

Delete a git branch.

Inputs: name (required), force.

git_branch_listA

List all git branches.

Inputs: no named parameters.

git_branch_mergeC

Merge a branch into current.

Inputs: branch (required).

git_commitB

Stage and commit files with auto-generated conventional commit message.

Inputs: files, message, autoGenerate.

git_full_setupB

Complete git workflow: auth check -> init -> create repo -> commit -> push -> tag.

Inputs: repoName (required), visibility, description.

git_pullB

Pull latest changes from remote repository.

Inputs: branch, remote.

git_pushB

Push commits to remote repository.

Inputs: branch, remote.

git_statusA

Show current git status.

Inputs: no named parameters.

git_syncB

Manual sync: commit + push + tag if needed.

Inputs: no named parameters.

git_tag_createB

Create an annotated git tag with description.

Inputs: version (required), description.

git_tag_listA

List all git tags.

Inputs: no named parameters.

install_laravelB

Generate Laravel 13 installation commands with PHP 8.4 upgrade and Livewire setup.

Inputs: projectName (required), features.

list_versionsA

List all project versions.

Inputs: no named parameters.

mark_bug_fixedB

Mark a bug as fixed by bug ID.

Inputs: bugId (required).

memorizeB

Store a key-value memory for the project.

Inputs: key (required), value (required).

memorize_endpointC

Memorize an API endpoint for future reference.

Inputs: path (required), method (required), purpose (required), controller (required), +2 more.

recall_contextC

Recall memorized endpoints and decisions.

Inputs: query (required).

restore_versionC

Restore project to a previous version.

Inputs: version (required).

scan_project_bugsC

Scan entire project directory for common bugs in all files.

Inputs: directory.

security_auditA

Audit Livewire 4.2.1/Laravel 13.2 code for security vulnerabilities including XSS, SQL injection, mass assignment, missing auth, CSRF, rate limiting, and Livewire-specific issues.

Inputs: code (required), fileType (required).

update_task_statusB

Update a task status (pending, in_progress, complete) and auto-sync to git.

Inputs: status (required), taskIndex (required), phaseIndex (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 75 tools

    Disambiguation2/5

    Several tool pairs are near-duplicates: generate_policy vs generate_full_policy, generate_middleware vs generate_custom_middleware, and fix_bugs vs scan_project_bugs vs deep_scan_bugs. The many convert_*_to_livewire variants and overlapping generator tools also create unclear boundaries. An agent would frequently need to read full descriptions to avoid selecting the wrong tool.

    Naming Consistency3/5

    The toolset broadly follows predictable verb_noun patterns like generate_*, git_*, gh_*, and convert_*_to_livewire. However, there are notable exceptions such as security_audit, fix_bugs, mark_bug_fixed, memorize vs memorize_endpoint vs recall_context, and generate_middleware vs generate_custom_middleware. Overall the style is readable but not consistently disciplined.

    Tool Count1/5

    75 tools is extreme for an MCP server surface, even for a broad Laravel/Livewire toolkit. Many tools could be consolidated, particularly the duplicate policy/middleware/bug-scanning generators. This large count creates significant discovery, selection, and maintenance overhead.

    Completeness4/5

    The toolset covers an impressively wide range: project scaffolding, Livewire components, models, policies, tests, security audits, bug fixes, git/GitHub workflows, versioning, and API/notification generation. It lacks some conventional Laravel generators like migrations, factories, and seeders, but this is a minor gap given the Livewire-centric scope. Typical workflows have no major dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to deeply interact with the PHP ecosystem, including runtime, static analysis, security scanning, testing, Composer, and frameworks like Laravel and Symfony. It exposes over 30 tools, 8 resources, and 7 prompts via MCP, allowing natural language commands to run PHP linting, static analysis, audits, tests, and project initialization.
      41
      MIT