laravel/boost

Doesn't properly support JSON-RPC 2.0 specification

Closed this issue · 2 comments

gjm commented

Laravel Package Version

1.1.4

Laravel Version

12.28.1

PHP Version

8.4.5

System Info

Ubuntu 25.04 with local install

Description

I'm using Emacs as my editor/IDE and tried using Editor Code Assistant to leverage AI capabilities into my projects.

Tried using Laravel Boost with ECA but couldn't get it to work. I reported the issue (#93) and the developers concluded that Laravel Boost doesn't comply to the MCP message spec, namely the id parameter can be a string or a number but Laravel Boost only supports number.

You can find the conclusion in this comment.

Steps To Reproduce

  1. Run php artisan boost:mcp
  2. Try to initialize using id as string: {"jsonrpc":"2.0","id":"1","method":"initialize","params":{}}

Thanks for reporting this.

This issue actually belongs to the laravel/mcp package, since Laravel Boost relies on it to build the MCP server.

It would be great if you could open the same issue in the laravel/mcp repo, as that package is being actively worked to support the latest MCP specs. having the issue tracked in the MCP repo as well would be helpful.

this is fixed on the version of boost.