MCP Server Laravel
Repository: https://github.com/srvrsoorg/mcp-server-laravel
MCP Server Laravel is a web application built with the Laravel framework, designed to provide a robust backend for MCP (Model Context Protocol) services. It leverages Laravel's expressive syntax and powerful features to deliver scalable, secure, and maintainable APIs and web endpoints.
Features
RESTful API endpoints for MCP operations
User authentication and management
Database migrations and seeders
Job queue and cache support
Modern frontend integration with Vite
Getting Started
Prerequisites
PHP >= 8.1
Composer
Node.js & npm (for frontend assets)
SQLite (default) or other supported database
Installation
Clone the repository:
git clone https://github.com/srvrsoorg/mcp-server-laravel.git cd mcp-server-laravelInstall PHP dependencies:
composer installInstall frontend dependencies:
npm installCopy the example environment file and configure:
cp .env.example .env # Edit .env as neededGenerate application key:
php artisan key:generateRun database migrations and seeders:
php artisan migrate --seedBuild frontend assets:
npm run build
Running the Application
Start the local development server:
Visit http://localhost:8000 in your browser.
Project Structure
app/
- Application core (models, controllers, providers)routes/
- Route definitions (web, API, console, MCP)database/
- Migrations, seeders, factoriesresources/
- Frontend assets and Blade viewspublic/
- Public web roottests/
- Unit and feature tests
Running Tests
Run all tests with PHPUnit:
Contributing
Contributions are welcome! Please submit issues or pull requests via GitHub. See the Laravel contribution guide for best practices.
License
This project is open-sourced software licensed under the MIT license.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Laravel-based web application that provides robust backend services for Model Context Protocol (MCP) operations. Features RESTful API endpoints, user authentication, and scalable architecture for MCP service integration.