A plug-in hot loading method and device, an MCP server and a medium

By periodically scanning and comparing the plugin directory, hot loading of MCP server plugins is achieved, which solves the service interruption problem caused by the restart of traditional MCP servers, and improves development efficiency and system reliability.

CN122412017APending Publication Date: 2026-07-17NEW H3C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610406250.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-30
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Traditional MCP servers require a restart when updating or adding functional modules, which can cause service interruptions and affect AI dialogue and task processing.

Method used

By periodically scanning the plugin directory to obtain a list of plugin files, and comparing the list of loaded plugins with the list of files, new plugins are loaded, and historical versions or deleted plugins are uninstalled, thus achieving hot reloading of plugins.

Benefits of technology

Plugins can be updated without restarting the MCP server, improving development efficiency, testing efficiency, and system reliability, reducing operation and maintenance costs, and supporting agile development and continuous delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122412017A_ABST
    Figure CN122412017A_ABST
Patent Text Reader

Abstract

本申请实施例提供了一种插件热加载方法、装置、MCP服务器及介质,涉及计算机技术领域,方该法应用于MCP服务器,该方法包括:周期性扫描插件目录,获取插件文件列表;将已加载插件列表与插件文件列表进行对比;若插件文件列表中存在新增插件的插件标识,则加载插件标识指示的新增插件;若插件文件列表中存在历史插件的新版本标识,则卸载历史插件的历史版本标识对应的插件,并加载新版本标识指示的插件;若已加载插件列表中存在已删除插件的插件标识,则卸载插件标识指示的所述已删除插件。该方案能够在不重启MCP服务器的情况下实现对MCP服务功能的更新。
Need to check novelty before this filing date? Find Prior Art