Laravel MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PHP_PATH | No | PHP executable path | php |
| LARAVEL_PROJECT_PATH | No | Path to Laravel project | process.cwd() |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Laravel Project Context | Comprehensive project context: version, models, routes, packages |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/cortex-agent-runtime'
If you have feedback or need assistance with the MCP directory API, please join our Discord server