Summary
Fields marked sensitive: true in user_config are correctly stored in the OS keychain, but the Claude Desktop settings panel displays their values in plain text under Environment variables. This undermines the security guarantee that sensitive: true is supposed to provide.
Steps to reproduce
- Create an extension with a
sensitive: true user_config field, e.g.:
"api_token": {
"type": "string",
"title": "API token",
"sensitive": true,
"required": true
}
- Wire it through
mcp_config.env:
"env": {
"API_TOKEN": "${user_config.api_token}"
}
- Install the extension in Claude Desktop and supply a value.
- Open the extension's settings panel.
Observed behaviour
The Environment variables section shows the full plaintext value:
Expected behaviour
Sensitive fields should be masked (e.g. API_TOKEN=••••••••) in the settings panel, consistent with how they are masked during input.
Impact
A user leaving their screen unlocked exposes tokens that the keychain was intended to protect. The sensitive: true flag correctly masks the field during input but provides no protection once the extension is installed and the settings panel is opened.
References
Summary
Fields marked
sensitive: trueinuser_configare correctly stored in the OS keychain, but the Claude Desktop settings panel displays their values in plain text under Environment variables. This undermines the security guarantee thatsensitive: trueis supposed to provide.Steps to reproduce
sensitive: trueuser_config field, e.g.:mcp_config.env:Observed behaviour
The Environment variables section shows the full plaintext value:
Expected behaviour
Sensitive fields should be masked (e.g.
API_TOKEN=••••••••) in the settings panel, consistent with how they are masked during input.Impact
A user leaving their screen unlocked exposes tokens that the keychain was intended to protect. The
sensitive: trueflag correctly masks the field during input but provides no protection once the extension is installed and the settings panel is opened.References
sensitiveproperty description: "mask input and store securely"