Basic information
About laravel-mcp-server
# laravel-mcp-server
laravel-mcp-server is a MCP server in the Other category listed in the AddMCP.net directory, published by tadhgboyle. Supported transport: stdio. Runtime: php. License: MIT license. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"laravel-mcp-server-tadhgboyle": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"php",
"/path/to/your/laravel/app/artisan",
"mcp:stdio"
]
}
}
}
{
"mcpServers": {
"laravel-mcp-server-tadhgboyle": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"php",
"/path/to/your/laravel/app/artisan",
"mcp:stdio"
]
}
}
}
{
"servers": {
"laravel-mcp-server-tadhgboyle": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"php",
"/path/to/your/laravel/app/artisan",
"mcp:stdio"
]
}
}
}
laravel-mcp-server 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"
]
}
}
}
laravel-mcp-server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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
Frequently asked questions
1 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.
2 How do I install laravel-mcp-server?
Install via Composer: composer require aberdeener/laravel-mcp-server.
3 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.
4 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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In