fix(mcp): change plaintext env input to type=text

Change plaintext_env input field from type='password' to type='text' since
this field is explicitly for non-sensitive values (DEBUG, LOG_LEVEL, etc.).
Using password type for plaintext config was misleading and prevented
copy/paste of legitimate non-sensitive configuration.

Only the encrypted_env and http_headers fields remain as type='password'
for sensitive values like API keys and tokens.
This commit is contained in:
Shaun Arman 2026-06-01 12:06:00 -05:00
parent ed49de1edd
commit 922f90a794

View File

@ -562,7 +562,7 @@ export default function MCPServers() {
Space-separated KEY=value pairs for non-sensitive values (e.g., DEBUG=1 LOG_LEVEL=info) Space-separated KEY=value pairs for non-sensitive values (e.g., DEBUG=1 LOG_LEVEL=info)
</p> </p>
<Input <Input
type="password" type="text"
value={form.plaintext_env} value={form.plaintext_env}
onChange={(e) => setForm({ ...form, plaintext_env: e.target.value })} onChange={(e) => setForm({ ...form, plaintext_env: e.target.value })}
placeholder="KEY1=value1 KEY2=value2" placeholder="KEY1=value1 KEY2=value2"