Skip to content

Commit 7e3ff71

Browse files
authored
mcp: extension mcp servers should be auto-trusted (#260634)
Fixes #260523
1 parent e6a4f1b commit 7e3ff71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/mcp/common/discovery/extensionMcpDiscovery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class ExtensionMcpDiscovery extends Disposable implements IMcpDiscovery {
9393
id,
9494
label: coll.label,
9595
remoteAuthority: null,
96-
trustBehavior: McpServerTrust.Kind.TrustedOnNonce,
96+
trustBehavior: McpServerTrust.Kind.Trusted,
9797
scope: StorageScope.WORKSPACE,
9898
configTarget: ConfigurationTarget.USER,
9999
serverDefinitions: observableValue<McpServerDefinition[]>(this, serverDefs?.map(McpServerDefinition.fromSerialized) || []),

0 commit comments

Comments
 (0)