Skip to content

Commit dd2e241

Browse files
committed
Fix command config args
1 parent 835010c commit dd2e241

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Commands/LoopMcpConfigCommand.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,16 @@ private function generateCursorDeeplink(string $projectPath, ?string $userId, ?s
149149
}
150150

151151
$config = [
152-
'command' => "php {$projectPath}/artisan loop:mcp:start",
153-
'args' => $args,
152+
'command' => 'php',
153+
'args' => [
154+
"{$projectPath}/artisan",
155+
'loop:mcp:start',
156+
...$args,
157+
],
154158
];
155159

156160
$configJson = json_encode($config, JSON_UNESCAPED_SLASHES);
161+
157162
if ($configJson) {
158163
$configBase64 = base64_encode($configJson);
159164
$deeplink = "cursor://anysphere.cursor-deeplink/mcp/install?name=laravel-loop-mcp&config={$configBase64}";

0 commit comments

Comments
 (0)