laravel-mcp-server

A Laravel package for implementing secure Model Context Protocol servers using Streamable HTTP and SSE transport, providing real-time communication and a scalable tool system for enterprise environments.

GitHub Stars

313

User Rating

Not Rated

Favorites

0

Views

42

Forks

29

Issues

9

Installation
Difficulty
Intermediate
Estimated Time
10-20 minutes

Installation

Installation

Prerequisites

Please specify required software and versions:
PHP: 8.0 or higher
Laravel: 8.x or higher

Installation Steps

1. Clone Repository

bash
git clone https://github.com/opgginc/laravel-mcp-server.git
cd laravel-mcp-server

2. Install Dependencies

bash
composer install

3. Create Environment Configuration File

bash
cp .env.example .env
php artisan key:generate

4. Run Migrations

bash
php artisan migrate

5. Start Server

bash
php artisan serve

Troubleshooting

Common Issues

Issue: Server won't start Solution: Check PHP version and reinstall dependencies. Issue: Migration errors occur Solution: Verify database settings and ensure correct connection information.