workshop-mcp-laravel
Verified Safeby vcampitelli
Overview
This server provides an e-commerce database layer for simulating various scenarios and experimenting with Eloquent/SQL queries, exposed via public API routes and an MCP (Microservice Communication Protocol) for AI interaction related to orders.
Installation
cd demo && docker compose up -dEnvironment Variables
- APP_NAME
- APP_ENV
- APP_DEBUG
- APP_URL
- APP_KEY
- DB_CONNECTION
- DB_HOST
- DB_PORT
- DB_DATABASE
- DB_USERNAME
- DB_PASSWORD
- MARIADB_ROOT_PASSWORD
- MAIL_MAILER
- MAIL_FROM_ADDRESS
- MAIL_FROM_NAME
Security Notes
The application uses standard Laravel security practices, including form validation (e.g., `OrderValidation`) and Eloquent ORM, which mitigates common web vulnerabilities like SQL injection and mass assignment. The `docker-compose.yaml` file includes a hardcoded weak default password (`password`) for the MariaDB root user, which is a critical security risk if used in a production environment. There are no obvious `eval` or similar dangerous functions used without justification in the provided code. The `.env.example` is assumed to contain placeholders for sensitive credentials that need to be configured.
Similar Servers
boost
Accelerates AI-assisted development by providing essential context and structure for generating high-quality, Laravel-specific code via an MCP server.
php-mcp
Facilitates communication and integration between LLM applications and external data sources or tools by implementing the Model Context Protocol (MCP).
mcp-client-laravel
Laravel-native client for interacting with Model Context Protocol (MCP) servers to discover and call tools, and access resources for AI agents.
laravel-php-mcp-sdk
A comprehensive Laravel wrapper that enables applications to act as Model Context Protocol (MCP) servers and clients, facilitating AI/LLM integration.