mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
Enable/disable MCP servers
This commit is contained in:
@@ -36,8 +36,10 @@ export interface WebviewMessage {
|
||||
| "openAdvisorModelSettings"
|
||||
| "requestVsCodeLmModels"
|
||||
| "toggleToolAlwaysAllow"
|
||||
| "toggleMcpServer"
|
||||
// | "relaunchChromeDebugMode"
|
||||
text?: string
|
||||
disabled?: boolean
|
||||
askResponse?: ClineAskResponse
|
||||
apiConfiguration?: ApiConfiguration
|
||||
images?: string[]
|
||||
|
||||
@@ -6,6 +6,7 @@ export type McpServer = {
|
||||
tools?: McpTool[]
|
||||
resources?: McpResource[]
|
||||
resourceTemplates?: McpResourceTemplate[]
|
||||
disabled?: boolean
|
||||
}
|
||||
|
||||
export type McpTool = {
|
||||
|
||||
Reference in New Issue
Block a user