mcp-development

Scaffold Laravel MCP tools, resources, prompts, and servers with artisan generators.

483|116|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/trypostit/trypost --skill mcp-development-trypostit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-development
Source: https://github.com/trypostit/trypost/tree/main/.claude/skills/mcp-development
Command: npx skills add https://github.com/trypostit/trypost --skill mcp-development-trypostit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Laravel MCP development can be error-prone and tedious, requiring repeated scaffolding and configuration steps when creating or editing MCP tools, resources, prompts, or servers in Laravel projects.

Core Features & Use Cases

  • Scaffold MCP primitives (tools, resources, prompts, servers) with standardized conventions and quick setup.
  • Validate and wire primitives into a Laravel MCP server with proper route registration, inspection hooks, and OAuth configuration.
  • Use-case example: a team creates a new MCP tool for a client, registers it in routes/ai.php, and debugs via the inspector.

Quick Start

Run php artisan make:mcp-tool ToolName, php artisan make:mcp-resource ResourceName, php artisan make:mcp-prompt PromptName, and php artisan make:mcp-server ServerName to scaffold primitives and register them in your server.

Frequently Asked Questions about mcp-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold an MCP server in a Laravel project?

Scaffold an MCP server in Laravel by running php artisan make:mcp-server ServerName. This automates server creation, configures OAuth setup, and handles route wiring in routes/ai.php for immediate integration.

What is the best way to automate Laravel MCP development tasks?

Automate Laravel MCP development by using artisan generators to scaffold tools, resources, prompts, and servers. This enforces explicit frontmatter metadata, strict naming conventions, and documented registration for predictable behavior.

How do I register a new MCP tool in routes/ai.php?

Register an MCP tool in routes/ai.php by running php artisan make:mcp-tool ToolName. The generator automatically validates and wires the primitive into your Laravel server with proper route configuration.

Can I configure OAuth and inspection hooks for Laravel MCP servers?

Yes, you can configure OAuth and inspection hooks for Laravel MCP servers. The scaffolding process validates and wires primitives with proper route registration and inspector integration to debug behavior.

Why does my Laravel MCP component fail behavior tests?

Laravel MCP components fail behavior tests when they lack explicit frontmatter metadata or strict naming conventions. Enforcing documented registration in routes/ai.php ensures predictable, testable MCP behavior.