Dual MCP Server for IoT & Memory
用于物联网和内存管理的 MCP 服务器
该存储库包含两个模型上下文协议(MCP)服务器:
IoT 设备控制 MCP 服务器
内存管理 MCP 服务器
IoT 设备控制 MCP 服务器
用于控制和监控物联网设备(如智能灯、传感器和其他连接设备)的模型上下文协议 (MCP) 服务器。
目的
该服务器通过模型上下文协议为物联网设备控制、监控和状态管理提供标准化接口。
用例
家庭自动化
工业物联网监控
远程设备管理
智能建筑控制系统
特征
向物联网设备发送命令
查询设备状态和状况
订阅实时设备更新
支持MQTT协议
API 工具
send_command:向 IoT 设备发送命令get_device_state:获取物联网设备的当前状态subscribe_to_updates:订阅设备的实时更新
Related MCP server: AGI MCP Server
内存管理 MCP 服务器
使用 Mem0 框架进行持久内存存储和检索的模型上下文协议 (MCP) 服务器。
目的
该服务器通过模型上下文协议实现长期记忆存储和语义搜索功能。
用例
对话历史记录存储
知识管理
人工智能应用中的情境感知
持久信息存储
特征
将信息保存到长期记忆中
检索所有存储的记忆
使用语义搜索来搜索记忆
API 工具
save_memory:将信息保存到长期记忆中get_all_memories:获取用户存储的所有记忆search_memories:使用语义搜索来搜索记忆
入门
克隆此存储库
安装依赖项:
pip install -r requirements.txt根据
.env.example模板创建.env文件运行物联网服务器:
python iot_mcp_server.py运行内存服务器:
python memory_mcp_server.py
环境变量
物联网 MCP 服务器
MQTT_BROKER:MQTT 代理地址(默认值:“localhost”)MQTT_PORT:MQTT 代理端口(默认值:1883)HOST:服务器主机地址(默认值:“0.0.0.0”)PORT:服务器端口(默认值:“8090”)TRANSPORT:传输类型,“sse”或“stdio”(默认值:“sse”)
内存 MCP 服务器
MEM0_API_KEY:Mem0 服务的 API 密钥(可选)MEM0_ENDPOINT:Mem0 服务的端点 URL(默认值:“ https://api.mem0.ai ”)HOST:服务器主机地址(默认值:“0.0.0.0”)PORT:服务器端口(默认值:“8050”)TRANSPORT:传输类型,“sse”或“stdio”(默认值:“sse”)
存储库结构
iot_mcp_server.py- 物联网设备控制 MCP 服务器实现memory_mcp_server.py- 内存管理 MCP 服务器实现utils.py- 服务器使用的实用函数requirements.txt- 包依赖项.env.example- 环境变量配置模板README.md- 文档
This server cannot be deployed
Maintenance
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
Governed personal world model and memory for your AI agent. Pair once, connect over MCP.
Cross-vendor AI memory over MCP. One semantic store, readable and writeable from every MCP client.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.23MIT
- AlicenseBqualityCmaintenanceA Model Context Protocol server that provides persistent memory capabilities for AI systems, enabling true continuity of consciousness across conversations through episodic, semantic, procedural, and strategic memory types.246MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides knowledge graph-based persistent memory for LLMs, allowing them to store, retrieve, and reason about information across multiple conversations and sessions.9299,999 npm2MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to interact with Mobi instances, providing structured data exchange and command execution for ontology management, data retrieval, and content creation.2MIT