refac/fix: mcp oauth2.1

This commit is contained in:
Timothy Jaeryang Baek
2025-10-07 14:56:10 -05:00
parent 216fb5c3db
commit 911a114ad4
2 changed files with 35 additions and 15 deletions

View File

@@ -338,7 +338,7 @@
let serverId = parts?.at(-1) ?? toolId;
const authUrl = getOAuthClientAuthorizationUrl(serverId, 'mcp');
window.open(authUrl, '_blank', 'noopener');
window.open(authUrl, '_self', 'noopener');
} else {
tools[toolId].enabled = !tools[toolId].enabled;