Keeps ai-features.mcp.mcpServers in step with what is actually in the plugins root, so that an
mcp.json added, changed or removed after the install shows up the way a skill does.
Installing registers a plugin's servers directly; this exists for every other way the root can
change - an edit on disk, a plugin directory removed by hand, or an mcp.json added while the
application was not running, which is why it also runs once at startup.
Called when the application is started. The application shell is not attached yet when this method runs.
Should return a promise if it runs asynchronously.
Keeps
ai-features.mcp.mcpServersin step with what is actually in the plugins root, so that anmcp.jsonadded, changed or removed after the install shows up the way a skill does.Installing registers a plugin's servers directly; this exists for every other way the root can change - an edit on disk, a plugin directory removed by hand, or an
mcp.jsonadded while the application was not running, which is why it also runs once at startup.