ページ · Laravilt
Plugins MCP Server
MCP server for plugin management
MCP server for plugin discovery, generation, and management.
Installation
bash
Registers in routes/ai.php:
php
Available Tools
list-plugins
List all installed Laravilt plugins.
Usage:
list-plugins
plugin-info
Get detailed plugin information.
Arguments:
| Name | Type | Required | Description |
|---|---|---|---|
plugin | string | Yes | Plugin name (kebab-case) |
Usage:
plugin-info(plugin="blog-extensions")
generate-plugin
Generate a new plugin with features.
Arguments:
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Plugin name (StudlyCase) |
description | string | No | Plugin description |
migrations | boolean | No | Include migrations |
views | boolean | No | Include views |
webRoutes | boolean | No | Include web routes |
apiRoutes | boolean | No | Include API routes |
Usage:
text
generate-component
Generate a component within a plugin.
Arguments:
| Name | Type | Required | Description |
|---|---|---|---|
plugin | string | Yes | Plugin name (kebab-case) |
type | string | Yes | Component type |
name | string | Yes | Component name |
Component Types:
migration- Database migrationmodel- Eloquent modelcontroller- HTTP controllercommand- Artisan commandjob- Queueable jobevent- Event classlistener- Event listenernotification- Notificationseeder- Database seederfactory- Model factorytest- Feature test
Usage:
text
list-component-types
List available component types.
plugin-structure
Get plugin directory structure.
search-docs
Search plugin documentation.
AI Agent Examples
text
Related
- Plugins Introduction - Plugins overview
- MCP Introduction - MCP overview