Plugins UI

The Plugins view (extensions.rs) is the install-and-manage UI for what extends Hugin at runtime. For the underlying APIs and how to write plugins, see Lua Plugins, MCP Integration, and Plugin SDK.

🔗Tabs

The view has three tabs:

🔗Official

The curated catalog of plugins maintained by HuginSecurity. Catalog entries are tagged with a category — currently: Scanning, Automation, Encoding, Logging, Integration. Each entry shows the plugin name, author, description, version, and an action (install / installed / update available).

🔗Scripts

Local Lua extensions on disk. These are extensions you’ve installed via hugin plugin install <git-url>, dropped into ~/.hugin/extensions/, or scaffolded yourself. Each row reflects an extension.json manifest detected on disk.

🔗Native

Dynamic MCP plugins — the .dylib / .so / .dll files Hugin loads from ~/.hugin/plugins/ at MCP server startup. Each row shows the plugin’s name, version, the tools it provides, and load status.

🔗Per-Plugin Actions

The action set varies by plugin type. Common operations:

  • For Lua extensions: enable, disable, reload, view manifest, view source, uninstall
  • For native MCP plugins: list provided tools, reload (restarts MCP server), remove
  • For Official catalog entries not yet installed: install (downloads + verifies + writes to the right directory)

🔗Where Plugins Live

~/.hugin/extensions/  ← Lua extensions
~/.hugin/plugins/     ← Dynamic MCP plugins (.dylib / .so / .dll)
~/.hugin/modules/     ← Synaps WASM modules (.wasm + .json sidecar)

All three are scanned at startup. The Plugins view is the friendly face for these directories — you can also manage them directly on disk.

🔗CLI Equivalents

  • hugin plugin install <git-url> — install a Lua extension from a Git URL
  • hugin plugin list — list installed Lua extensions
  • hugin plugin remove <name> — uninstall a Lua extension
  • hugin plugin mcp list / install / remove / dir — manage dynamic MCP plugins
  • hugin scanner update / install / remove / list — manage Synaps WASM modules

🔗Settings → Custom Code

Plugin-related global settings (default permissions, hot-reload toggle, plugin directory overrides) live under Settings → Developer → Custom Code.