Skip to main content
Glama

Dual MCP Server for IoT & Memory

by jordy33

用于物联网和内存管理的 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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

提供两个模型上下文协议服务器,支持控制物联网设备并管理具有语义搜索功能的持久性内存存储。

  1. IoT 设备控制 MCP 服务器
    1. 目的
    2. 用例
    3. 特征
    4. API 工具
  2. 内存管理 MCP 服务器
    1. 目的
    2. 用例
    3. 特征
    4. API 工具
  3. 入门
    1. 环境变量
      1. 物联网 MCP 服务器
      2. 内存 MCP 服务器
    2. 存储库结构

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server enabling LLMs to search, retrieve, and manage documents through Rememberizer's knowledge management API.
        Last updated -
        24
        Python
        Apache 2.0
      • A
        security
        A
        license
        A
        quality
        A high-performance, persistent memory system for the Model Context Protocol (MCP) providing vector search capabilities and efficient knowledge storage using libSQL as the backing store.
        Last updated -
        6
        129
        1
        TypeScript
        MIT License
        • Linux
      • -
        security
        F
        license
        -
        quality
        Model Context Protocol (MCP) server implementation for semantic search and memory management using TxtAI. This server provides a robust API for storing, retrieving, and managing text-based memories with semantic search capabilities. You can use Claude and Cline AI Also
        Last updated -
        4
        Python
        • Apple
      • -
        security
        F
        license
        -
        quality
        A TypeScript implementation of the Model Context Protocol server that enables creation, management, and semantic search of memory streams with Mem0 integration.
        Last updated -
        TypeScript

      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