|
@@ -536,6 +536,7 @@ public class McpServer extends NanoHTTPD {
|
|
|
plugin.put("name", args.getString("name"));
|
|
plugin.put("name", args.getString("name"));
|
|
|
plugin.put("icon", args.optString("icon", "🔌"));
|
|
plugin.put("icon", args.optString("icon", "🔌"));
|
|
|
plugin.put("command", args.optString("command", ""));
|
|
plugin.put("command", args.optString("command", ""));
|
|
|
|
|
+ plugin.put("mode", args.optString("mode", "inline"));
|
|
|
plugin.put("description", args.optString("description", ""));
|
|
plugin.put("description", args.optString("description", ""));
|
|
|
|
|
|
|
|
// js_code from MCP params → jsCode in plugin JSON
|
|
// js_code from MCP params → jsCode in plugin JSON
|