Skip to content

Commit b05954b

Browse files
fix: add userConfig for CoWork credential prompting
CoWork runs in a VM where shell env vars aren't available. Add userConfig to plugin.json so Claude prompts for credentials when the plugin is enabled. Sensitive values stored in system keychain. - Add helpscout_app_id, helpscout_app_secret, redact_message_content to userConfig in plugin.json - Update .mcp.json to use ${user_config.*} substitutions
1 parent c45f208 commit b05954b

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

plugins/helpscout-navigator/.claude-plugin/plugin.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,19 @@
1616
"mcp",
1717
"customer-service",
1818
"inbox"
19-
]
19+
],
20+
"userConfig": {
21+
"helpscout_app_id": {
22+
"description": "Help Scout App ID (from My Apps > Your App)",
23+
"sensitive": true
24+
},
25+
"helpscout_app_secret": {
26+
"description": "Help Scout App Secret (from My Apps > Your App)",
27+
"sensitive": true
28+
},
29+
"redact_message_content": {
30+
"description": "Redact message content for privacy (true/false)",
31+
"sensitive": false
32+
}
33+
}
2034
}

plugins/helpscout-navigator/.mcp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"command": "npx",
44
"args": ["-y", "help-scout-mcp-server"],
55
"env": {
6-
"HELPSCOUT_APP_ID": "${HELPSCOUT_APP_ID}",
7-
"HELPSCOUT_APP_SECRET": "${HELPSCOUT_APP_SECRET}",
8-
"REDACT_MESSAGE_CONTENT": "${REDACT_MESSAGE_CONTENT:-false}"
6+
"HELPSCOUT_APP_ID": "${user_config.helpscout_app_id}",
7+
"HELPSCOUT_APP_SECRET": "${user_config.helpscout_app_secret}",
8+
"REDACT_MESSAGE_CONTENT": "${user_config.redact_message_content}"
99
}
1010
}
1111
}

0 commit comments

Comments
 (0)