Dual MCP Server for IoT & Memory

Dual MCP Server for IoT & Memory

Provides two Model Context Protocol servers that enable controlling IoT devices and managing persistent memory storage with semantic search capabilities.

Category
Visit Server

README

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured