Skip to main content
Glama

用于物联网和内存管理的 MCP 服务器

该存储库包含两个模型上下文协议(MCP)服务器:

  1. IoT 设备控制 MCP 服务器

  2. 内存管理 MCP 服务器

IoT 设备控制 MCP 服务器

用于控制和监控物联网设备(如智能灯、传感器和其他连接设备)的模型上下文协议 (MCP) 服务器。

目的

该服务器通过模型上下文协议为物联网设备控制、监控和状态管理提供标准化接口。

用例

  • 家庭自动化

  • 工业物联网监控

  • 远程设备管理

  • 智能建筑控制系统

特征

  • 向物联网设备发送命令

  • 查询设备状态和状况

  • 订阅实时设备更新

  • 支持MQTT协议

API 工具

  • send_command :向 IoT 设备发送命令

  • get_device_state :获取物联网设备的当前状态

  • subscribe_to_updates :订阅设备的实时更新

内存管理 MCP 服务器

使用 Mem0 框架进行持久内存存储和检索的模型上下文协议 (MCP) 服务器。

目的

该服务器通过模型上下文协议实现长期记忆存储和语义搜索功能。

用例

  • 对话历史记录存储

  • 知识管理

  • 人工智能应用中的情境感知

  • 持久信息存储

特征

  • 将信息保存到长期记忆中

  • 检索所有存储的记忆

  • 使用语义搜索来搜索记忆

API 工具

  • save_memory :将信息保存到长期记忆中

  • get_all_memories :获取用户存储的所有记忆

  • search_memories :使用语义搜索来搜索记忆

入门

  1. 克隆此存储库

  2. 安装依赖项: pip install -r requirements.txt

  3. 根据.env.example模板创建.env文件

  4. 运行物联网服务器: python iot_mcp_server.py

  5. 运行内存服务器: 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 - 文档

-
security - not tested
F
license - not found
-
quality - not tested

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
    Last updated -
    5
    2
  • -
    security
    A
    license
    -
    quality
    A Model Context Protocol server that integrates AI assistants with Mem0.ai's persistent memory system, allowing models to store, retrieve, search, and manage different types of memories.
    Last updated -
    15
    MIT License
    • Apple
  • -
    security
    A
    license
    -
    quality
    A server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.
    Last updated -
    1
    11
    MIT License
  • A
    security
    F
    license
    A
    quality
    A collection of Model Context Protocol servers providing advanced capabilities for AI assistants including professional accuracy enforcement, tool safety protocols, user preference management, and intelligent context monitoring.
    Last updated -
    5

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jordy33/iot_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server