--- name: mcp-development description: "Use this skill for Laravel MCP development. Trigger when creating or editing MCP tools, resources, prompts, servers, or UI apps in Laravel projects. Covers: artisan make:mcp-* generators, routes/ai.php, Tool/Resource/Prompt/AppResource classes, schema validation, shouldRegister(), OAuth setup, URI templates, read-only attributes, MCP debugging, MCP UI apps, the x-mcp::app Blade component, createMcpApp(), default AppResource handle() auto-infers view from class name, Response::view(), AppMeta/Csp/Permissions/appMeta() configuration, #[RendersApp] attribute, Library enum for CDN libraries (Tailwind, Alpine), and host theming via CSS variables. Use this whenever the user mentions MCP apps, MCP UI, interactive MCP resources, styling MCP apps with Tailwind or Alpine, or building visual interfaces for AI agents." license: MIT metadata: author: laravel --- # MCP Development ## Documentation Use ___SINGLE_BACKTICK___search-docs___SINGLE_BACKTICK___ for detailed Laravel MCP patterns and documentation. For MCP UI apps (interactive HTML resources), read ___SINGLE_BACKTICK___references/app.md___SINGLE_BACKTICK___ — it covers the full architecture, host theming CSS variables, tool-to-UI linking patterns, library scripts (Tailwind, Alpine via ___SINGLE_BACKTICK___Library___SINGLE_BACKTICK___), and real-world examples. ## Basic Usage Register MCP servers in ___SINGLE_BACKTICK___routes/ai.php___SINGLE_BACKTICK___: ___BOOST_SNIPPET_0___ ### Creating MCP Primitives ___SINGLE_BACKTICK______SINGLE_BACKTICK______SINGLE_BACKTICK___bash