IoT-MCP:通过模型上下文协议(Model Context Protocol)桥接大语言模型与物联网系统
IoT-MCP: Bridging LLMs and IoT Systems Through Model Context Protocol
AI总结:
针对大语言模型与物联网系统集成的硬件异构与控制复杂问题,提出基于边缘部署MCP服务器的IoT-MCP框架,构建含千余任务的IoT-MCP Bench基准,实验验证其任务成功率100%,响应快、内存占用低,并开源框架与评估方法。
摘要:
大语言模型(LLM)与物联网(IoT)系统的集成在硬件异构性和控制复杂度方面面临重大挑战。模型上下文协议(MCP)作为关键支撑技术应运而生,为LLM与物理设备之间提供标准化通信。我们提出IoT-MCP,这是一种新颖的框架,通过边缘部署的服务器实现MCP,以桥接LLM与物联网生态系统。为支持严格评估,我们推出IoT-MCP Bench,这是首个面向具备物联网能力的LLM的基准,包含114项基础任务(例如“当前温度是多少?”)和1140项复杂任务(例如“我觉得好热,你有什么办法吗?”)。在22种传感器类型和6种微控制器单元上的实验验证表明,IoT-MCP的任务成功率达100%,生成的工具调用完全符合预期并能获得完全准确的结果,平均响应时间为205毫秒,峰值内存占用为74KB。本工作既提供了一个开源集成框架(https://github.com/Duke-CEI-Center/IoT-MCP-Servers),也为LLM-物联网系统提供了标准化评估方法。
英文摘要:
The integration of Large Language Models (LLMs) with Internet-of-Things (IoT) systems faces significant challenges in hardware heterogeneity and control complexity. The Model Context Protocol (MCP) emerges as a critical enabler, providing standardized communication between LLMs and physical devices. We propose IoT-MCP, a novel framework that implements MCP through edge-deployed servers to bridge LLMs and IoT ecosystems. To support rigorous evaluation, we introduce IoT-MCP Bench, the first benchmark containing 114 Basic Tasks (e.g., ``What is the current temperature?'') and 1,140 Complex Tasks (e.g., ``I feel so hot, do you have any ideas?'') for IoT-enabled LLMs. Experimental validation across 22 sensor types and 6 microcontroller units demonstrates IoT-MCP's 100% task success rate to generate tool calls that fully meet expectations and obtain completely accurate results, 205ms average response time, and 74KB peak memory footprint. This work delivers both an open-source integration framework (https://github.com/Duke-CEI-Center/IoT-MCP-Servers) and a standardized evaluation methodology for LLM-IoT systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。