Skip to content

Unable to start Laravel Boost MCP in GitHub Copilot coding agent #372

@limonte

Description

@limonte

Laravel Package Version

1.8.3

Laravel Version

12.40.2

PHP Version

8.3

System Info

GitHub Copilot coding agent

Description

GitHub Copilot coding agent now supports custom MCP: https://docs.github.com/en/enterprise-cloud@latest/copilot/how-tos/use-copilot-agents/coding-agent/extend-coding-agent-with-mcp

Here's the configuration for Laravel Boost in my project (Settings -> Copilot -> Coding Agent)

Image

and copy-paste friendly one:

{
  "mcpServers": {
    "laravel-boost": {
      "type": "local",
      "command": "php",
      "args": ["./artisan", "boost:mcp"],
      "tools": ["*"]
    }
  }
}

This is what's happening in GitHub Copilot coding agent session:

Image

MCP server failed to start: MCP error -32000: Connection closed - for the full output, see the verbose logs

Steps To Reproduce

  1. In any repo with Laravel Boost go to Settings -> Copilot -> Coding Agent and use this as a configuration for MCP servers:
{
  "mcpServers": {
    "laravel-boost": {
      "type": "local",
      "command": "php",
      "args": ["./artisan", "boost:mcp"],
      "tools": ["*"]
    }
  }
}
  1. Run any task in GitHub Copilot coding agent

Metadata

Metadata

Assignees

No one assigned

    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