Back to Home
vcampitelli icon

workshop-mcp-laravel

Verified Safe

by 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

Run Command
cd demo && docker compose up -d

Environment 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

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-12-14

Tags

LaravelE-commerceDatabaseAPIMCP