diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 74d30edbfe..16f827d0ac 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -480,7 +480,7 @@ export class ClineProvider implements vscode.WebviewViewProvider { }) // Create task with context from README - const task = `Set up the MCP server from ${mcpDetails.githubUrl}. Use "${mcpDetails.mcpId}" as the server name in cline_mcp_settings.json. Here's some additional context from the README:\n\n${mcpDetails.readmeContent}` + const task = `Set up the MCP server from ${mcpDetails.githubUrl}. Use "${mcpDetails.mcpId}" as the server name in cline_mcp_settings.json. Here's some additional context from the README:\n\n${mcpDetails.readmeContent}\n${mcpDetails.llmsInstallationContent}` // Initialize task and show chat view await this.initClineWithTask(task) diff --git a/src/shared/mcp.ts b/src/shared/mcp.ts index 28f4692c93..fec640d1ae 100644 --- a/src/shared/mcp.ts +++ b/src/shared/mcp.ts @@ -79,6 +79,7 @@ export interface McpMarketplaceItem { tags: string[] requiresApiKey: boolean readmeContent?: string + llmsInstallationContent?: string isRecommended: boolean githubStars: number downloadCount: number @@ -98,5 +99,6 @@ export interface McpDownloadResponse { author: string description: string readmeContent: string + llmsInstallationContent: string requiresApiKey: boolean } diff --git a/webview-ui/src/components/mcp/marketplace/McpMarketplaceCard.tsx b/webview-ui/src/components/mcp/marketplace/McpMarketplaceCard.tsx index bfafb722b3..32c566f8a4 100644 --- a/webview-ui/src/components/mcp/marketplace/McpMarketplaceCard.tsx +++ b/webview-ui/src/components/mcp/marketplace/McpMarketplaceCard.tsx @@ -57,7 +57,6 @@ const McpMarketplaceCard = ({ item, installedServers }: McpMarketplaceCardProps) }) }} style={{ - borderBottom: "1px solid var(--vscode-textCodeBlock-background)", padding: "12px 16px", cursor: isLoading ? "wait" : "pointer", }}>