mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
changed mcp setting name, changes setting option name
This commit is contained in:
parent
c497eb1ff2
commit
b1bcbfeadc
3 changed files with 4 additions and 4 deletions
|
|
@ -142,11 +142,11 @@
|
|||
},
|
||||
"description": "Settings for VSCode Language Model API"
|
||||
},
|
||||
"cline.mcp.enabled": {
|
||||
"cline.mcp.mode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"enabled",
|
||||
"server-use-only",
|
||||
"mcp-tools-only",
|
||||
"disabled"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ export class McpHub {
|
|||
}
|
||||
|
||||
getMode(): McpMode {
|
||||
return vscode.workspace.getConfiguration("cline.mcp").get<McpMode>("enabled", "enabled")
|
||||
return vscode.workspace.getConfiguration("cline.mcp").get<McpMode>("mode", "enabled")
|
||||
}
|
||||
|
||||
async getMcpServersPath(): Promise<string> {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
export type McpMode = "enabled" | "server-use-only" | "disabled"
|
||||
export type McpMode = "enabled" | "mcp-tools-only" | "disabled"
|
||||
|
||||
export type McpServer = {
|
||||
name: string
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue