What happened?
Attempting to set this up in an app and connect a client to it, getting this error
OPGG\LaravelMcpServer\Data\Requests\RequestData::__construct(): Argument #3 ($id) must be of type int, string given
How to reproduce the bug
No response
Package Version
1.4.2
PHP Version
8.3
Laravel Version
10.12
Which operating systems does this happen with?
No response
Notes
Pretty simple fix, just update the constructor in RequestData
to accept int or string for the $id
.
According to the jsonrpc, id can be int, string, or null.