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:
parent
ed49de1edd
commit
922f90a794
@ -562,7 +562,7 @@ export default function MCPServers() {
|
||||
Space-separated KEY=value pairs for non-sensitive values (e.g., DEBUG=1 LOG_LEVEL=info)
|
||||
</p>
|
||||
<Input
|
||||
type="password"
|
||||
type="text"
|
||||
value={form.plaintext_env}
|
||||
onChange={(e) => setForm({ ...form, plaintext_env: e.target.value })}
|
||||
placeholder="KEY1=value1 KEY2=value2"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user