页面 · Laravilt
MCP Server Integration
Model Context Protocol servers for AI agent integration
Laravilt packages include built-in MCP (Model Context Protocol) servers for AI agent integration.
What is MCP?
MCP enables AI agents like Claude to interact with your Laravilt application through standardized tools.
Requirements
- Laravel MCP package:
laravel/mcp - PHP 8.2+
- Laravel 12.x
Installation
Install the Laravel MCP package:
bash
Install package MCP servers:
bash
Available Servers
| Package | Server | Tools |
|---|---|---|
laravilt/forms | laravilt-forms | generate-form, search-docs |
laravilt/tables | laravilt-tables | generate-table, search-docs |
laravilt/panel | laravilt-panel | list-features, get-resource-info, search-docs |
laravilt/auth | laravilt-auth | list-auth-methods, get-event-info, search-docs |
laravilt/plugins | laravilt-plugins | 7 tools for plugin management |
Configuration
After installation, .mcp.json is updated:
json
Starting Servers
bash
AI Agent Usage
AI agents can use these tools:
text
Package Documentation
- Forms MCP - Form generation tools
- Tables MCP - Table generation tools
- Panel MCP - Panel management tools
- Auth MCP - Authentication tools
- Plugins MCP - Plugin management tools
Security
MCP servers run with your Laravel application permissions. Ensure:
- Proper file permissions
- Secure MCP configuration
- Limited access to
.mcp.json
Related
- Laravel MCP - Laravel MCP documentation
- MCP Protocol - MCP specification