in src/main/kotlin/org/jetbrains/mcpserverplugin/settings/PluginSettingsConfigurable.kt [17:48]
override fun createComponent(): JComponent {
val settings = ApplicationManager.getApplication().getService(PluginSettings::class.java)
val panel = panel {
group("Notifications") {
row {
checkBox("Show Node.js notifications")
.bindSelected(settings.state::shouldShowNodeNotification)
}
row {
checkBox("Show Claude notifications")
.bindSelected(settings.state::shouldShowClaudeNotification)
}
row {
checkBox("Show Claude settings notifications")
.bindSelected(settings.state::shouldShowClaudeSettingsNotification)
}
}
group("Terminal Commands") {
row {
checkBox("Enable Brave Mode (skip command execution confirmations)")
.bindSelected(settings.state::enableBraveMode)
}
row {
comment("WARNING: Enabling Brave Mode will allow terminal commands to execute without confirmation. Use with caution.")
}
}
}
settingsPanel = panel
return panel
}