Skip to main content
Glama
dok4everak47

Laravel MCP Server

by dok4everak47

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PHP_PATHNoPHP executable pathphp
LARAVEL_PROJECT_PATHNoPath to Laravel projectprocess.cwd()

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
artisanA

Run a Laravel artisan command. Returns stdout and stderr.

migrateStatusA

Show the status of Laravel migrations. Lists which migrations have been run and which are pending.

envInfoA

Show Laravel environment info: APP_ENV, APP_DEBUG, and database connection status.

cacheB

Manage Laravel caches: clear all caches, or cache config/routes for performance.

configGetA

Get a Laravel config value by key (e.g. 'app.name', 'database.default', 'mail.default').

schemaA

Inspect the Laravel database schema: list all tables, or show column details for a specific table.

modelA

List Eloquent models in the Laravel application by scanning app/Models and verifying they extend Model.

logA

View recent entries from the Laravel log file (storage/logs/laravel.log).

routeListB

List Laravel routes with optional filtering by name or URI

runTestA

Run PHPUnit tests with optional filter

envInfoSafeA

Read Laravel environment info, filtering out sensitive values (keys, passwords, tokens)

frontendScannerA

Scan Laravel frontend structure: views, JS, CSS files

makeModelB

Create a new Eloquent model class

makeControllerB

Create a new controller class

makeMigrationB

Create a new migration file

migrationAnalyzerA

Parse Laravel migration files and extract database schema (columns, types, foreign keys)

composerAnalyzerA

List Laravel project dependencies from composer.json and composer.lock

crudGeneratorA

Generate full CRUD for a Laravel entity: migration, model, controller, request, route, test, and run tests

createFeatureB

Generate complete Laravel feature: migration, model, controller, requests, routes, blade views, tests

debugWorkflowA

Analyze a Laravel error: locate file, read context, diagnose common issues, suggest fixes

apiGeneratorB

Generate REST API for a Laravel entity: migration, model, API controller, routes, tests

projectContextA

Get comprehensive Laravel project context (version, models, routes, packages, structure)

intentPlannerA

Parse a natural language development request, generate an execution plan, and optionally execute it

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Laravel Project ContextComprehensive project context: version, models, routes, packages

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dok4everak47/laravel-ai-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server