Sponsored by Deepsite.site

MCP Servers for IoT and Memory Management

Created By
MCP-Mirror7 months ago
Mirror of
Content

MCP Servers for IoT and Memory Management

This repository contains two Model Context Protocol (MCP) servers:

  1. IoT Device Control MCP Server
  2. Memory Management MCP Server

IoT Device Control MCP Server

A Model Context Protocol (MCP) server for controlling and monitoring IoT devices such as smart lights, sensors, and other connected devices.

Purpose

This server provides a standardized interface for IoT device control, monitoring, and state management through the Model Context Protocol.

Use Cases

  • Home automation
  • Industrial IoT monitoring
  • Remote device management
  • Smart building control systems

Features

  • Send commands to IoT devices
  • Query device state and status
  • Subscribe to real-time device updates
  • Support for MQTT protocol

API Tools

  • send_command: Send a command to an IoT device
  • get_device_state: Get the current state of an IoT device
  • subscribe_to_updates: Subscribe to real-time updates from a device

Memory Management MCP Server

A Model Context Protocol (MCP) server for persistent memory storage and retrieval using the Mem0 framework.

Purpose

This server enables long-term memory storage and semantic search capabilities through the Model Context Protocol.

Use Cases

  • Conversation history storage
  • Knowledge management
  • Contextual awareness in AI applications
  • Persistent information storage

Features

  • Save information to long-term memory
  • Retrieve all stored memories
  • Search memories using semantic search

API Tools

  • save_memory: Save information to long-term memory
  • get_all_memories: Get all stored memories for the user
  • search_memories: Search memories using semantic search

Getting Started

  1. Clone this repository
  2. Install dependencies: pip install -r requirements.txt
  3. Create a .env file based on the .env.example template
  4. Run the IoT server: python iot_mcp_server.py
  5. Run the Memory server: python memory_mcp_server.py

Environment Variables

IoT MCP Server

  • MQTT_BROKER: MQTT broker address (default: "localhost")
  • MQTT_PORT: MQTT broker port (default: 1883)
  • HOST: Server host address (default: "0.0.0.0")
  • PORT: Server port (default: "8090")
  • TRANSPORT: Transport type, "sse" or "stdio" (default: "sse")

Memory MCP Server

  • MEM0_API_KEY: API key for Mem0 service (optional)
  • MEM0_ENDPOINT: Endpoint URL for Mem0 service (default: "https://api.mem0.ai")
  • HOST: Server host address (default: "0.0.0.0")
  • PORT: Server port (default: "8050")
  • TRANSPORT: Transport type, "sse" or "stdio" (default: "sse")

Repository Structure

  • iot_mcp_server.py - IoT device control MCP server implementation
  • memory_mcp_server.py - Memory management MCP server implementation
  • utils.py - Utility functions used by the servers
  • requirements.txt - Package dependencies
  • .env.example - Template for environment variables configuration
  • README.md - Documentation
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Tavily Mcp
Serper MCP ServerA Serper MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
Amap Maps高德地图官方 MCP Server
WindsurfThe new purpose-built IDE to harness magic
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
DeepChatYour AI Partner on Desktop
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Playwright McpPlaywright MCP server
CursorThe AI Code Editor
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.