AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
fix(chat): reconnecting an MCP server opens one sign-in window, not two (#17169)
Hazem Adel656e16bd4e32
diff --git a/packages/web/src/app/routes/chat-with-ai/components/mcp-reconnect-card.tsx b/packages/web/src/app/routes/chat-with-ai/components/mcp-reconnect-card.tsxindex 581c1ce4376..68c7d66ffbf 100644--- a/packages/web/src/app/routes/chat-with-ai/components/mcp-reconnect-card.tsx+++ b/packages/web/src/app/routes/chat-with-ai/components/mcp-reconnect-card.tsx@@ -109,14 +109,11 @@ function openReconnectPopup(url: string) {const height = 640;const left = window.screenX + Math.max(0, (window.outerWidth - width) / 2);const top = window.screenY + Math.max(0, (window.outerHeight - height) / 2);- const popup = window.open(+ window.open(url,'ap-mcp-reconnect',`popup=yes,width=${width},height=${height},left=${left},top=${top},noopener,noreferrer`,);- if (!popup) {- window.open(url, '_blank', 'noopener,noreferrer');- }}function ConnectorIcon({ logoUrl }: { logoUrl?: string }) {