Skip to content

Not working with Gemini CLI #51

@sarfraznawaz2005

Description

@sarfraznawaz2005

Laravel Package Version

1.0.2

Laravel Version

11.45.1

PHP Version

8.3

Database Driver & Version

MySQL 8, Windows 11

Description

I added below in .gemini/settings.json but it did not work, gemini only loaded sequential-thinking:

"mcpServers": {
        "laravel-boost": {
            "command": "php",
            "args": [
                "./artisan",
                "boost:mcp"
            ]
        },
        "sequential-thinking": {
            "command": "npx",
            "args": [
                "-y",
                "@modelcontextprotocol/server-sequential-thinking"
            ]
        }
    },

When starting gemini cli after adding boost, it gives this:

MCP ERROR (laravel-boost): SyntaxError: Unexpected end of JSON input
MCP ERROR (laravel-boost): SyntaxError: Unexpected token 'S', "   Symfony\Co"... is not valid JSON
MCP ERROR (laravel-boost): SyntaxError: Unexpected end of JSON input
MCP ERROR (laravel-boost): SyntaxError: Unexpected token 'C', "  Cannot red"... is not valid JSON
MCP ERROR (laravel-boost): SyntaxError: Unexpected end of JSON input
MCP ERROR (laravel-boost): SyntaxError: Unexpected token 'a', "  at app\Mod"... is not valid JSON
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected token '➜', "  ➜ 171▕    "... is not valid JSON
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected end of JSON input
MCP ERROR (laravel-boost): SyntaxError: Unexpected end of JSON input
MCP ERROR (laravel-boost): SyntaxError: Unexpected token 'W', "   Whoops\Exc"... is not valid JSON
MCP ERROR (laravel-boost): SyntaxError: Unexpected end of JSON input
MCP ERROR (laravel-boost): SyntaxError: Unexpected token 'C', "  Cannot red"... is not valid JSON
MCP ERROR (laravel-boost): SyntaxError: Unexpected end of JSON input
MCP ERROR (laravel-boost): SyntaxError: Unexpected token 'a', "  at app\Mod"... is not valid JSON
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected token '➜', "  ➜ 171▕    "... is not valid JSON
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 7 (line 1 column 8)
MCP ERROR (laravel-boost): SyntaxError: Unexpected end of JSON input
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 6 (line 1 column 7)
MCP ERROR (laravel-boost): SyntaxError: Unexpected token 'W', "      Whoops\Run"... is not valid JSON
MCP ERROR (laravel-boost): SyntaxError: Unexpected end of JSON input
MCP ERROR (laravel-boost): SyntaxError: Unexpected non-whitespace character after JSON at position 6 (line 1 column 7)
MCP ERROR (laravel-boost): SyntaxError: Unexpected token 'W', "      Whoops\Run"... is not valid JSON
MCP ERROR (laravel-boost): SyntaxError: Unexpected end of JSON input
Error discovering tools from laravel-boost: MCP error -32000: Connection closed
Error connecting to MCP server 'laravel-boost': No prompts or tools found on the server.

During boost install command I selected PHPStorm and then None option and it said it was instaleld successfully with PHPStorm.

Steps To Reproduce

  1. Run boost install command
  2. Add boost MCP in .gemini/settings.json
  1. Run gemini cli.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions