Laravel AI MCP Server
Provides access to Laravel-specific documentation, coding rules, CRUD templates, and validation checklists to assist in Laravel application development and architectural decision-making.
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 AI MCP Serversearch the docs for database transactions and show me the CRUD templates"
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 AI - MCP Server
MCP (Model Context Protocol) server for providing Laravel AI documentation to Claude Code and other AI assistants.
π Quick Start
1. Install Dependencies
# Clone or navigate to the project directory
cd laravel-ai
npm install2. Start MCP Server
npm startDocumentation is expected to be in: ./docs (relative to project root)
Related MCP server: directory-indexer
βοΈ Claude Code Configuration
Add to your Claude Code settings (~/.config/claude-code/config.json):
{
"mcpServers": {
"laravel-ai": {
"command": "node",
"args": ["path/to/laravel-ai/index.js"]
}
}
}Alternative: With Custom Docs Path
If your documentation is in a different location:
{
"mcpServers": {
"laravel-ai": {
"command": "node",
"args": ["path/to/laravel-ai/index.js"],
"env": {
"DOCS_PATH": "/path/to/your/docs"
}
}
}
}π οΈ Available Tools
Tool | Description |
| Get all documentation files structure |
| Read a specific documentation file |
| Search across all documentation |
| Get all coding rules (quick-reference.md) |
| Get CRUD templates (specific or all) |
| Get validation checklist (specific layer or all) |
| Get domain-specific examples |
| Get design system documentation |
π Documentation Structure
laravel-ai/
βββ docs/ # Documentation folder
β βββ ai/
β β βββ quick-reference.md # All coding rules
β β βββ templates.md # Implementation templates
β β βββ checklist.md # Validation checklist
β βββ domains/
β β βββ ecommerce/ # E-commerce examples
β β βββ hr/ # HR examples
β β βββ tourism/ # Tourism examples
β βββ patterns/ # Pattern documentation
β βββ design-system.md # Design system (configurable)
βββ index.js # MCP server
βββ package.json # Dependencies
βββ README.md # This fileπ‘ Usage Examples
For AI Assistant
When user says "pelajari docs", AI should:
// 1. Get quick reference
mcp.call_tool('get_quick_reference')
// 2. Get templates
mcp.call_tool('get_templates', { template_type: 'all' })
// 3. Get checklist
mcp.call_tool('get_checklist', { layer: 'all' })
// 4. Confirm readySearch Documentation
// Search for "transaction"
mcp.call_tool('search_docs', { query: 'transaction' })Get Domain Examples
// Get e-commerce examples
mcp.call_tool('get_domain_examples', { domain: 'ecommerce' })
// Get all domains overview
mcp.call_tool('get_domain_examples', { domain: 'all' })π§ Development
Watch Mode
npm run devTesting
Test the MCP server manually:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node index.jsπ Notes
This server uses stdio transport for communication
All documentation is read from the file system
No caching - always reads latest documentation
Supports incremental updates to documentation
π Updates
When documentation is updated, just restart the MCP server:
# Stop current server (Ctrl+C)
npm startVersion: 1.0.0 Last Updated: 2026-02-23
Maintenance
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
- AlicenseAqualityAmaintenanceProvides AI assistants with intelligent access to project documentation and API references through smart search, contextual rules, and Docset integration. Enables AI to understand project-specific conventions, patterns, and official framework documentation without token limits.Last updated111076MIT
- Alicense-qualityCmaintenanceProvides AI assistants with semantic search and read access to local files and directories, enabling knowledge retrieval from indexed content.Last updated4216MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to incrementally build Laravel and Vue.js applications by creating file structures, methods, and code through natural conversation.Last updated501361MIT
- Alicense-qualityDmaintenanceProvides AI assistants with local access to Filament, Laravel, Livewire, and Pest documentation, enabling offline reference and search.Last updatedMIT
Related MCP Connectors
Provide your AI coding tools with token-efficient access to up-to-date technical documentation forβ¦
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analyβ¦
Securely search and manage workspace context files for AI agents and teams.
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/pujandan/mcp-laravel'
If you have feedback or need assistance with the MCP directory API, please join our Discord server