v0.7.0
·
22 commits
to 5a8e28151816ab90d2c251bcdeebb02997946d07
since this release
Recipes — a knowledge base agents and users share
Some tasks need two servers that know nothing about each other: Kodi's tools are useless until Kodi is running, but ADB can launch it on Android and Remote Admin can start it on a Windows or Linux box. Recipes give agents somewhere to keep that kind of "if X then Y" note, so the next session doesn't have to rediscover it.
- Agents reach recipes through the proxy as
recipes__list/get/add/update/remove, and the hub sends server instructions on connect so agents know to consult them before a multi-server task or when a tool fails because a dependency isn't running. - A new Recipes page searches, adds, edits and deletes notes, refreshing live when an agent writes. Recipes are stored in
recipes.jsonbesidesettings.jsonwith atomic writes, tight size limits, and quarantine of a corrupt file. - Two switches control agent access: Let agents use recipes and Let agents add and edit recipes — enforced as proxy tool authorization, so they apply immediately.
MCPHUB_RECIPES_ENABLED/MCPHUB_RECIPES_AGENT_EDIToverride them for headless deployments. - For embedders,
MCPHub.ProxygainsILocalToolProvider(hub-native tools advertised, routed, authorized and audited like an upstream's) andMCPHub.HostinggainsProxyHostOptions.ServerInstructions.
Three new catalogue servers
ADBMCPSharp, KodiMCPSharp and BambuMCPSharp, each verified against its repo config and release zip contents. Note: KodiMCPSharp's default port (5712) currently collides with the SQL server's — change it in Settings if you run both; a new default has been requested upstream.
Fixes and improvements
- An unwritable data directory was previously reported as "MCPHub is already running" (exit 2, no window). MCPHub now tells the two apart and starts unguarded with a warning naming the path.
- The Updates page has an Open install folder button that opens the running executable's folder, ready for swapping in a downloaded build.
- MCPHub refuses to start a second instance unless explicitly asked to (
--allow-multiple-instances).
192 tests pass in Release; the solution builds with no warnings.
What's Changed
- Refuse to start a second instance unless asked to by @Wixely in #8
- Recipes knowledge base, three new catalogue servers, v0.7.0 by @Wixely in #9
Full Changelog: v0.6.0...v0.7.0