Skip to content

Commit ad025a2

Browse files
authored
Merge pull request #82 from laravel/move-claude-mcp-install-to-file
fixes #80 - install Boost MCP into Claude via file instead of shell
2 parents 511d70e + caf4181 commit ad025a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Install/CodeEnvironment/ClaudeCode.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Laravel\Boost\Install\Enums\McpInstallationStrategy;
1010
use Laravel\Boost\Install\Enums\Platform;
1111

12-
class ClaudeCode extends CodeEnvironment implements McpClient, Agent
12+
class ClaudeCode extends CodeEnvironment implements Agent, McpClient
1313
{
1414
public function name(): string
1515
{
@@ -43,12 +43,12 @@ public function projectDetectionConfig(): array
4343

4444
public function mcpInstallationStrategy(): McpInstallationStrategy
4545
{
46-
return McpInstallationStrategy::SHELL;
46+
return McpInstallationStrategy::FILE;
4747
}
4848

49-
public function shellMcpCommand(): string
49+
public function mcpConfigPath(): string
5050
{
51-
return 'claude mcp add -s project -t stdio {key} "{command}" {args} {env}';
51+
return '.mcp.json';
5252
}
5353

5454
public function guidelinesPath(): string

0 commit comments

Comments
 (0)