laravel-mcp-server
A Laravel package for implementing secure Model Context Protocol servers with real-time communication capabilities.
Laravel MCP Server allows developers to build a route-first MCP server using Laravel and Lumen. It supports Streamable HTTP transport, enabling efficient real-time communication in enterprise environments. The package is designed to be scalable and provides tools for managing server metadata and endpoint registration seamlessly. With the introduction of version 2.0.0, the server has moved to a route-driven registration model, simplifying the setup process. This version also consolidates server metadata mutators and removes legacy transport methods, ensuring a more streamlined and modern approach to building MCP servers.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"laravel-mcp-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-laravel-mcp-server"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions