laravel

MCP server for all of your Laravel projects - better AI pair programming

GitHub Stars

90

User Rating

Not Rated

Favorites

0

Views

39

Forks

2

Issues

6

Installation
Difficulty
Intermediate
Estimated Time
10-20 minutes

Installation

Installation

Prerequisites

PHP: >= 8.1
Laravel: >= 10.0
Extensions: json, mbstring, pcre (typically enabled by default)

Installation Steps

1. Install the Package

bash
composer require php-mcp/laravel

2. Publish the Configuration File

bash
php artisan vendor:publish --provider="PhpMcp\Laravel\McpServiceProvider" --tag="mcp-config"

3. Publish the Migration for Database Session Storage

bash
php artisan vendor:publish --provider="PhpMcp\Laravel\McpServiceProvider" --tag="mcp-migrations"
php artisan migrate

Troubleshooting

Issue: Server won't start Solution: Check PHP version and reinstall dependencies.