Skip to content

Commit 415d9d0

Browse files
committed
fix: make native servers available to chats asap (fixes #260)
1 parent 804977c commit 415d9d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/mcphub/hub.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ function MCPHub:start()
342342

343343
-- Make sure to load after the config is refreshed to avoid double reading of config files
344344
native.setup(config.native_servers)
345+
self:fire_servers_updated()
345346

346347
-- Step 3: Check if server is already running on the resolved port and is of same version in cases of plugin updated
347348
self:check_server(function(is_running, is_our_server, is_same_version)

0 commit comments

Comments
 (0)