Submit

PHP MCP Server for Laravel

@php-mcp

a year ago
developer-tools
The official Laravel integration for the PHP MCP Server package.
Overview

what is PHP MCP Server for Laravel?

PHP MCP Server for Laravel is an integration package that allows Laravel applications to expose parts of their functionality as Model Context Protocol (MCP) tools, resources, and prompts using simple PHP attributes.

how to use PHP MCP Server for Laravel?

To use this package, install it via Composer, publish the configuration file, and define your MCP elements in PHP classes using the provided attributes. You can then run the server using either HTTP+SSE or stdio transport.

key features of PHP MCP Server for Laravel?

  • Seamless integration with Laravel's Cache, Logger, and Container.
  • Automatic registration of Artisan commands for managing the MCP server.
  • Configuration options for customizing server behavior.
  • Support for dynamic updates and notifications for connected clients.

use cases of PHP MCP Server for Laravel?

  1. Exposing application functionalities as MCP tools for external clients.
  2. Creating dynamic resources that can be updated in real-time.
  3. Integrating with other applications or services that support MCP.

FAQ from PHP MCP Server for Laravel?

  • What is MCP?

Model Context Protocol (MCP) is a protocol for exposing application functionalities as tools and resources.

  • Is this package compatible with older versions of Laravel?

While it is tested with Laravel 10+, it may work with older versions, but compatibility is not guaranteed.

  • How do I configure the MCP server?

Configuration is done through the config/mcp.php file after publishing the configuration.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.