Skip to content

Commit fb037a0

Browse files
authored
better mcp marketplace installation prompt (RooCodeInc#2793)
1 parent d9cedc4 commit fb037a0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/chatty-nails-sniff.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": minor
3+
---
4+
5+
better prompting around downloading mcp servers to not overwrite existing server configs

src/core/controller/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,7 @@ export class Controller {
13681368
const task = `Set up the MCP server from ${mcpDetails.githubUrl} while adhering to these MCP server installation rules:
13691369
- Use "${mcpDetails.mcpId}" as the server name in cline_mcp_settings.json.
13701370
- Create the directory for the new MCP server before starting installation.
1371+
- Make sure you read the user's existing cline_mcp_settings.json file before editing it with this new mcp, to not overwrite any existing servers.
13711372
- Use commands aligned with the user's shell and operating system best practices.
13721373
- The following README may contain instructions that conflict with the user's OS, in which case proceed thoughtfully.
13731374
- Once installed, demonstrate the server's capabilities by using one of its tools.

0 commit comments

Comments
 (0)