MCP.so
登录

MCP Servers for IoT and Memory Management

@jordy33

关于 MCP Servers for IoT and Memory Management

IoT Model Context Protocol Server Repository

基本信息

分类

记忆与知识

运行时

python

传输方式

stdio

发布者

jordy33

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Servers for IoT and Memory Management?

This repository provides two Model Context Protocol (MCP) servers: one for controlling and monitoring IoT devices (smart lights, sensors, etc.) and another for persistent memory storage and retrieval using the Mem0 framework.

How to use MCP Servers for IoT and Memory Management?

Clone the repository, install dependencies with pip install -r requirements.txt, create a .env file from the .env.example template, then run the IoT server with python iot_mcp_server.py and the memory server with python memory_mcp_server.py. Configure environment variables for MQTT broker, ports, and Mem0 API key as needed.

Key features of MCP Servers for IoT and Memory Management

  • Send commands to IoT devices and query their state
  • Subscribe to real-time device updates via MQTT
  • Save and retrieve long-term memory items
  • Search memories using semantic search
  • Support for SSE or stdio transport protocols

Use cases of MCP Servers for IoT and Memory Management

  • Home automation: control lights, sensors, and smart devices
  • Industrial IoT monitoring and remote device management
  • Smart building control systems
  • Conversation history storage and knowledge management
  • Persistent information storage for AI applications with contextual awareness

FAQ from MCP Servers for IoT and Memory Management

What transport types are supported?

Both servers support "sse" (Server-Sent Events) and "stdio" as transport types, configured via the TRANSPORT environment variable (default is "sse").

What MQTT configuration is needed for the IoT server?

The IoT server requires an MQTT broker. Set MQTT_BROKER (default "localhost") and MQTT_PORT (default 1883) in the .env file.

Do I need an API key for the memory server?

The MEM0_API_KEY is optional. If not provided, the server will use the default Mem0 endpoint (https://api.mem0.ai).

How do I run each server individually?

Run python iot_mcp_server.py for the IoT server and python memory_mcp_server.py for the memory server. A .env file must be present in the repository root.

What are the default ports?

The IoT server defaults to port 8090; the memory server defaults to port 8050. Both can be overridden with PORT in the .env file.

评论

记忆与知识 分类下的更多 MCP 服务器