-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
When I tried to go through and setup my application I get Target class [mcp.registrar] does not exist.
The setup guide was a little confusing.
I published my assets, made the routes/mcp.php
made my first tool with
use PhpMcp\Laravel\Facades\Mcp;
Mcp::tool
I haven't touched the default config. I tried adding PhpMcp\Laravel\McpServiceProvider::class,
to providers which it's unclear if needed.
Also I had to do
$middleware->validateCsrfTokens(except: [
env('MCP_HTTP_INTEGRATED_ROUTE_PREFIX', 'mcp').'/message',
]);
in app.php since config was apparently not ready yet.
Do we know why my mcp keeps crashing on
Metadata
Metadata
Assignees
Labels
No labels