From 32e6bdd13c79531afe9d1d0ab7a280a19e43cc9f Mon Sep 17 00:00:00 2001 From: Felix Weinberger Date: Tue, 10 Jun 2025 17:33:29 +0100 Subject: [PATCH] feat: improve error messaging for proxy authentication failures - Update connection error message to guide users about proxy token configuration - Add specific message when proxy token is missing directing to Configuration section - Help users quickly identify and resolve authentication issues --- client/src/components/Sidebar.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index 3985eb48..938e5b5a 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -666,8 +666,13 @@ const Sidebar = ({ switch (connectionStatus) { case "connected": return "Connected"; - case "error": - return "Connection Error, is your MCP server running?"; + case "error": { + const hasProxyToken = config.MCP_PROXY_AUTH_TOKEN?.value; + if (!hasProxyToken) { + return "Connection Error - Did you add the proxy session token in Configuration?"; + } + return "Connection Error - Check if your MCP server is running and proxy token is correct"; + } case "error-connecting-to-proxy": return "Error Connecting to MCP Inspector Proxy - Check Console logs"; default: