Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Cannot autowire service "PhpLlm\McpSdk\Server\RequestHandler\ToolCallHandler" #5

@TomHart

Description

@TomHart

I've installed "php-llm/mcp-bundle": "^0.1.0", into a Symfony 7.2 project, and I get the error below. Is this a known problem and is there a fix?

Script cache:clear returned with error code 1
!!  
!!  In DefinitionErrorExceptionPass.php line 48:
!!                                                                                 
!!    Cannot autowire service "PhpLlm\McpSdk\Server\RequestHandler\ToolCallHandle  
!!    r": argument "$toolbox" of method "__construct()" references interface "Php  
!!    Llm\LlmChain\Chain\Toolbox\ToolboxInterface" but no such service exists. Di  
!!    d you create an instantiable class that implements this interface?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions