srvrsoorg

MCP Server Laravel

Community srvrsoorg
Updated

Simple MCP Server using Laravel

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

  1. Clone the repository:
    	git clone https://github.com/srvrsoorg/mcp-server-laravel.git
    	cd mcp-server-laravel
    
  2. Install PHP dependencies:
    	composer install
    
  3. Install frontend dependencies:
    	npm install
    
  4. Copy the example environment file and configure:
    	cp .env.example .env
    	# Edit .env as needed
    
  5. Generate application key:
    	php artisan key:generate
    
  6. Run database migrations and seeders:
    	php artisan migrate --seed
    
  7. Build frontend assets:
    	npm run build
    

Running the Application

Start the local development server:

php artisan serve

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, factories
  • resources/ - Frontend assets and Blade views
  • public/ - Public web root
  • tests/ - Unit and feature tests

Running Tests

Run all tests with PHPUnit:

php artisan test

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.

MCP Server ยท Populars

MCP Server ยท New

    D4Vinci

    Sponsors

    ๐Ÿ•ท๏ธ An undetectable, powerful, flexible, high-performance Python library to make Web Scraping Easy and Effortless as it should be!

    Community D4Vinci
    FarhanAliRaza

    claude-context-local

    Code search MCP for Claude Code. Make entire codebase the context for any coding agent. Embeddings are created and stored locally. No API cost.

    Community FarhanAliRaza
    awslabs

    AWS Knowledge MCP Server

    AWS MCP Servers โ€” helping you get the most out of AWS, wherever you use MCP.

    Community awslabs
    cert-manager

    cert-manager

    Automatically provision and manage TLS certificates in Kubernetes

    Community cert-manager
    nesquikm

    ๐Ÿฆ† MCP Rubber Duck

    An MCP server that acts as a bridge to query multiple OpenAI-compatible LLMs with MCP tool access. Just like rubber duck debugging, explain your problems to various AI "ducks" who can actually research and get different perspectives!

    Community nesquikm