Skip to content

Route list tool fails to match routes when using wildcards #181

@pushpak1300

Description

@pushpak1300

Laravel Package Version

1.0.16

Laravel Version

12

PHP Version

8.2

System Info

Mac OS with Laravel Herd

Description

When using the list-routes tool with wildcard criteria like name: "two-factor*" or path: "/two-factor" it fails to return any matching routes, even though relevant routes clearly exists.

Steps To Reproduce

Use list-routes (MCP)(name: "two-factor*") or list-routes (MCP)(path: "/two-factor")

Observe the error:

ERROR Your application doesn't have any routes matching the given criteria.

Expected behavior:

The tool should correctly match and return routes when using wildcards, similar to Laravel’s native artisan route:list.

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions