Repository navigation
McpNet v1.2.0 — 開源插件平台 / Open Plugin Platform
繁體中文
大更新:開源插件平台
McpNet 以開源與社群擴充為核心,讓使用者按自己的協定和工作流程開發、分享插件,而不只依賴內建解碼功能。社群可以持續打造專屬解碼器、封包處理器和小工具。
- 支援 ZIP/資料夾一鍵匯入插件;套件須包含
main.go與一個 JSON 清單。匯入後預設停用,重複 ID 不會覆蓋現有插件。 - Go hooks 可組合協定、方向、URL、字串、正則、位元組模式及自訂條件,檢查 HTTP 請求/回應、WebSocket、UDP 等事件。
- 插件可依自訂邏輯解碼、編碼或修改符合條件的封包,再交回原流程轉送。
- 可選擇提供
ui.title/ui.html自訂 HTML/JavaScript 小視窗,透過 plugin action 與 Go 邏輯傳遞參數和結果。 - README、架構文件及公開範例補充插件格式、開發分享方式、hook API、自訂 UI 和安全邊界。
安全提醒
Go 插件會在本機執行,沒有安全沙箱隔離;只匯入可信來源。插件預設停用。個人插件、設定、密鑰與抓包資料不包含在公開倉庫或發行包內。HTML/JavaScript UI 使用受限 iframe sandbox。
平台:Windows x64。發布工作流程會自動建置並附上 McpNet-v1.2.0-windows-x64.exe,完成後補充檔案大小與 SHA-256。
English
Major update: open plugin platform
McpNet puts open source and community extensibility at the center. Users can develop and share plugins around their own protocols and workflows instead of relying only on built-in decoders—enabling community-built decoders, packet processors, and small tools.
- Added one-click ZIP/folder import. Packages must contain
main.goand one JSON manifest. Imports are disabled by default; duplicate IDs never overwrite installed plugins. - Go hooks can combine protocol, direction, URL, text, regexp, byte-pattern, and custom conditions across HTTP request/response, WebSocket, UDP, and other events.
- Plugins can decode, encode, or modify matching packets according to custom logic, then return them to the existing forwarding flow.
- Optional
ui.title/ui.htmlfields provide custom HTML/JavaScript windows that exchange inputs and results with Go through plugin actions. - Expanded the README, architecture guide, and public examples with package format, plugin development and sharing, hook APIs, custom UI, and security boundaries.
Security note
Go plugins execute locally without a security sandbox; import trusted sources only. Plugins are disabled by default. Personal plugins, settings, keys, and captures are excluded from the public repository and release package. The HTML/JavaScript UI runs in a restricted iframe sandbox.
Platform: Windows x64. The release workflow will build and attach McpNet-v1.2.0-windows-x64.exe, then append its file size and SHA-256.
成品資訊 / Build artifact
-
平台:Windows x64
-
檔案:McpNet-v1.2.0-windows-x64.exe
-
大小:92498432 bytes
-
SHA-256:BD5096B4EEA6B1C45211137261C7A1CBDD19B4A67F9A391771A021A3AC4A7849
-
Platform: Windows x64
-
File: McpNet-v1.2.0-windows-x64.exe
-
Size: 92498432 bytes
-
SHA-256: BD5096B4EEA6B1C45211137261C7A1CBDD19B4A67F9A391771A021A3AC4A7849