Not showing tools in Cursor
Closed this issue · 7 comments
Laravel Package Version
1.1.4
Laravel Version
12.26.4
PHP Version
8.2.3
System Info
Windows 10
Description
Integrations shows a red dot with 'No tools or prompts.'
I checked output and it is reporting:
2025-09-06 07:07:37.961 [info] Handling CreateClient action
2025-09-06 07:07:37.961 [info] Starting new stdio process with command: php artisan boost:mcp
2025-09-06 07:07:38.022 [error] Client error for command Unexpected token 'C', "Could not "... is not valid JSON
2025-09-06 07:07:38.028 [info] Client closed for command
2025-09-06 07:07:38.029 [info] Handling ListOfferings action, server stored: false
2025-09-06 07:07:38.029 [error] No server info found
Steps To Reproduce
I just installed with README directions:
composer require laravel/boost --dev
php artisan boost:install
Followed the prompts for Cursor.
Added the following to my mcp.json:
"laravel-boost": {
"command": "php",
"args": [
"artisan",
"boost:mcp"
]
}
I have the same issue in cursor. also, Claude code reports error "MCP Server failed"
I am on macOS using Valet
I have the same problem too
In my valet setup I have multiple php versions (I use phpmonitor to manage).
I noticed that in a project that uses the default php version everything works ok (both in Claude and cursor).
I thought that altering the command in corresponding mcp json config files, to point at specific php binary for a specific project would do the trick, but it didn't
"laravel-boost": {
"command": "php84",
After install, if not appear in the /mcp command try to run:
claude mcp add -s local -t stdio laravel-boost php artisan boost:mcp
Hey there, thanks for reporting this issue.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"
Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!
In my valet setup I have multiple php versions (I use phpmonitor to manage).
I noticed that in a project that uses the default php version everything works ok (both in Claude and cursor).
I thought that altering the command in corresponding mcp json config files, to point at specific php binary for a specific project would do the trick, but it didn't
"laravel-boost": { "command": "php84",
i was having somewhat similar issue, I am also on a mac & using brew & valet & i do have different php versions also & i do manage them using phpmonitor. The default php i am using is 8.4 but the project in laravel i was working on was isolated in 8.3. In this project whenever i mistakenly use the 8.4 version it always generated a warning message in the terminal. So when i added laravel boost mcp and ran it i got message like "Invalid JSON output from tool process: Syntax error" I realized that warning message is breaking mcp output. So i changed mcp.json default php to php 8.3 & for me it worked.
{
"mcpServers": {
"laravel-boost": {
"command": "/opt/homebrew/opt/php@8.3/bin/php",
"args": [
"artisan",
"boost:mcp"
]
}
}
}
I haven’t heard back for a long time, so I’m assuming this has been resolved. Thanks. I’m closing this for now, but feel free to reply here if there’s any update.