Conversation
| Platform::Darwin => $home.'/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json', | ||
| Platform::Linux => $home.'/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json', | ||
| Platform::Windows => $home.'\AppData\Roaming\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json', |
There was a problem hiding this comment.
this paths should be global not your paths.
| public function systemDetectionConfig(Platform $platform): array | ||
| { | ||
| return match ($platform) { | ||
| Platform::Darwin => [ | ||
| 'paths' => ['/Applications/Visual Studio Code.app'], | ||
| ], | ||
| Platform::Linux => [ | ||
| 'command' => 'command -v code', | ||
| ], | ||
| Platform::Windows => [ | ||
| 'paths' => [ | ||
| '%ProgramFiles%\\Microsoft VS Code', | ||
| '%LOCALAPPDATA%\\Programs\\Microsoft VS Code', | ||
| ], | ||
| ], | ||
| }; | ||
| } |
There was a problem hiding this comment.
This is for vscode and not cline if user has installed vscode that does not mean user has cline we need specific detection for cline. there seems to be cline cli which could work in this case to detect automatically.
| 'autoApprove' => [], | ||
| 'timeout' => 300, | ||
| 'type' => 'stdio', | ||
| 'disabled' => false, |
There was a problem hiding this comment.
how many of this fields are necessary fields ? if not we can just add necessary fields so server gets activated automatically.
|
Thanks for your pull request! Unfortunately, i just check cline still does not support project level mcp so it doesn't make sense to add that at this point. cline/cline#2418 If applicable, please consider releasing your code as an additional package so that the community can still take advantage of your contributions! |
|
Thanks for the suggestion! I'll extract this functionality into a standalone Laravel package and publish it on Packagist. Once ready, I'll share the link here for anyone interested. This approach keeps the core project lean while still providing the feature to users who need it. |
Support for Cline