From 35a64a366655fbec0ed020d24e31f0eadfd567d9 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Mon, 24 Feb 2025 22:57:02 -0800 Subject: [PATCH] Modify MCP marketplace installation instructions --- package.json | 2 +- src/core/webview/ClineProvider.ts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 523964ef32..0951cf6c33 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "claude-dev", "displayName": "Cline", "description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.", - "version": "3.4.7", + "version": "3.4.8", "icon": "assets/icons/icon.png", "galleryBanner": { "color": "#617A91", diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index d135372c60..7eb93c00c6 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -1249,11 +1249,9 @@ export class ClineProvider implements vscode.WebviewViewProvider { // Create task with context from README and added guidelines for MCP server installation const task = `Set up the MCP server from ${mcpDetails.githubUrl} while adhering to these MCP server installation rules: - Use "${mcpDetails.mcpId}" as the server name in cline_mcp_settings.json. -- Use commands aligned with the user's shell and operating system best practices. The user's shell is: ${getShell()}. - Create the directory for the new MCP server before starting installation. -- Follow the MCP servers README exactly—only deviate if it clearly conflicts with the user's OS, in which case proceed thoughtfully. -- Ensure any steps requiring the use of pip, npm, or any other package manager, are followed as required. -- After running each command, read its output carefully and adjust subsequent steps as needed based on that information. +- Use commands aligned with the user's shell and operating system best practices. +- The following README may contain instructions that conflict with the user's OS, in which case proceed thoughtfully. - Once installed, demonstrate the server's capabilities by using one of its tools. Here is the project's README to help you get started:\n\n${mcpDetails.readmeContent}\n${mcpDetails.llmsInstallationContent}`