Skip to content

Conversation

ashleyhindle
Copy link
Collaborator

@ashleyhindle ashleyhindle commented Sep 27, 2025

What & Why

Adds a new mcp:quickstart artisan command which:

  • Sets up routes/ai.php
  • Creates a server
  • Adds example Tool, Resource, and Prompt
  • Registers the primitives to the server
  • Registers the server in routes/ai.php
  • Gives clear 'how to test' instructions

This is based on working with people to add MCP to their projects, and peering over their shoulder while they read our docs.

mcp:quickstart will improve that initial DX and path to the 'aha' moment.

How I tested

  1. Used it a ton with Locket
  2. Ran the tests

Notes/thoughts

  • Once this is ready I need to write docs for laravel.com/docs/mcp

@ashleyhindle ashleyhindle changed the title quickstart Add mcp:quickstart Sep 27, 2025
@taylorotwell taylorotwell marked this pull request as draft September 28, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant