Laravel MCP Server
Provides tools for running Artisan commands, checking migration status, inspecting environment and config, clearing cache, viewing database schema, scanning Eloquent models, and tailing logs in a Laravel project.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Laravel MCP ServerCheck migration status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Laravel MCP Server
A Model Context Protocol (MCP) server that exposes Laravel development tools as standard MCP tools. Works with any MCP-compatible client: Claude Desktop, Cursor, Codex, OpenCode, and more.
Tools
Tool | Description |
| Run any |
| Check migration status |
| Display APP_ENV, APP_DEBUG, DB connection |
| Clear/cache config, routes, views |
| Inspect config values by key |
| List database tables, view column definitions |
| Scan Eloquent models in |
| Tail the Laravel log file |
Related MCP server: laravel-herd-mcp
Usage
With OpenCode
Add to ~/.config/opencode/opencode.jsonc:
{
"mcpServers": {
"laravel": {
"type": "local",
"command": ["npx", "tsx", "/path/to/laravel-mcp-server/src/index.ts"]
}
}
}With Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"laravel": {
"command": "npx",
"args": ["tsx", "/path/to/laravel-mcp-server/src/index.ts"]
}
}
}Environment Variables
Variable | Default | Description |
|
| Path to Laravel project |
|
| PHP executable path |
Requirements
Node.js 18+
PHP 8.1+ (for Laravel project interaction)
A Laravel project with
artisanin its root
Development
npm install
npm run typecheck
npm startLicense
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityBmaintenanceA unified MCP server with composable tools for GitHub operations, file management, shell execution, kanban boards, Discord messaging, and package management. Features role-based security, HTTP/stdio transports, and a web-based development UI.Last updated
- Alicense-qualityCmaintenanceConnects Claude or any MCP client to Laravel Herd, providing 218 tools to manage PHP development environments, Laravel projects, sites, services, database, and more through natural language.Last updated1MIT
- Flicense-qualityDmaintenanceProvides various developer utilities such as UUID generation, timestamp conversion, Base64 encoding, color conversion, password generation, hash generation, and JSON formatting via MCP.Last updated261
- Flicense-qualityDmaintenanceExposes app-registered tools as an MCP server for OpenClaw, forwarding actual tool execution back to the app over a WebSocket bridge.Last updated
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
A basic MCP server to operate on the Postman API.
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/laravel-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server