🟡 Medium settings/ConnectionsSettings.tsx:1536
The success toast displays the MCP URL verbatim, so saved bearer connections with URL userinfo expose credentials such as user:password in the UI; the same credential-bearing URL is also copied. Strip username and password when constructing mcpUrl (for example in environmentMcpUrl) before both displaying and copying it.
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @apps/web/src/components/settings/ConnectionsSettings.tsx around line 1536:
The success toast displays the MCP URL verbatim, so saved bearer connections with URL userinfo expose credentials such as `user:password` in the UI; the same credential-bearing URL is also copied. Strip `username` and `password` when constructing `mcpUrl` (for example in `environmentMcpUrl`) before both displaying and copying it.