Whatever message this page gives is out now! Go check it out!
application.mcpServer — the shared MCP server instanceapplication.mcpConfig — a struct holding config metadata (roots, URLs, etc.)application.mcpServeronApplicationStart() runs again.
function onApplicationEnd(appScope) {
if (structKeyExists(appScope, "mcpServer") && isCustomFunction(appScope.mcpServer.shutdown)) {
try {
appScope.mcpServer.shutdown();
} catch (any e) {
writeLog(file="mcp", type="warn", text="Error during MCP server shutdown: #e.message#");
}
}
}