laravel-mcp-server
@tadhgboyle
About laravel-mcp-server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"laravel-mcp-server-tadhgboyle": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"php",
"/path/to/your/laravel/app/artisan",
"mcp:stdio"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is laravel-mcp-server?
This package provides a Model Context Protocol (MCP) server for Laravel applications, enabling developers to create and register tools and prompts that interact with language models via the MCP protocol.
How to use laravel-mcp-server?
Install via Composer (composer require aberdeener/laravel-mcp-server), then in your AppServiceProvider register custom tools and prompts using ToolRegistry and PromptRegistry. Use the MCP inspector to test the server with npx @modelcontextprotocol/inspector php /path/to/app/artisan mcp:stdio.
Key features of laravel-mcp-server
- Register custom tools and prompts for MCP
- Integrates directly into Laravel service providers
- Supports testing with the official MCP inspector
- Composer installable with standard Laravel tooling
Use cases of laravel-mcp-server
- Creating Laravel applications that expose custom actions to AI assistants via MCP
- Testing MCP tool integration with the official inspector
FAQ from laravel-mcp-server
What is the MCP protocol?
The Model Context Protocol (MCP) is a standard for building tools that can interact with language models, enabling developers to create powerful applications leveraging these models.
How do I install laravel-mcp-server?
Install via Composer: composer require aberdeener/laravel-mcp-server.
How do I register tools and prompts?
In your AppServiceProvider, use ToolRegistry and PromptRegistry to register custom tool and prompt classes, as shown in the usage example.
How can I test the MCP server?
Use the official MCP inspector: run npx @modelcontextprotocol/inspector php /path/to/your/laravel/app/artisan mcp:stdio.
Frequently asked questions
What is the MCP protocol?
The Model Context Protocol (MCP) is a standard for building tools that can interact with language models, enabling developers to create powerful applications leveraging these models.
How do I install laravel-mcp-server?
Install via Composer: `composer require aberdeener/laravel-mcp-server`.
How do I register tools and prompts?
In your `AppServiceProvider`, use `ToolRegistry` and `PromptRegistry` to register custom tool and prompt classes, as shown in the usage example.
How can I test the MCP server?
Use the official MCP inspector: run `npx @modelcontextprotocol/inspector php /path/to/your/laravel/app/artisan mcp:stdio`.
Basic information
More Other MCP servers
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.

EverArt
modelcontextprotocolModel Context Protocol Servers
Comments