Skip to content

[Bug]: Connection closed after starting from a MCP Client #2

Open
@Jens-dev

Description

@Jens-dev

What happened?

First of all, thank you very much for this package and the effort you’ve put into it.

I’ve installed the package in one of my projects and am trying to set up an MCP server with it. As a client, I wanted to use AnythingLLM. I was able to adjust the configuration accordingly.

However, when I use command = 'php' in the configuration, I get the following error (see screenshot):

Image

When I specify an explicit path to the PHP binary, I get this error instead:

Image

How to reproduce the bug

If I try to start the MCP Server via anythingLLM, I get the errors from the images.

If I start the server within my IDE's Terminal, the server starts normal and I see:

Image

Package Version

0.1.0

PHP Version

8.2.11

Laravel Version

10.48

Which operating systems does this happen with?

macOS

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions