Skip to main content
Glama

Dual MCP Server for IoT & Memory

by jordy33

IoTとメモリ管理のためのMCPサーバー

このリポジトリには、2 つのモデル コンテキスト プロトコル (MCP) サーバーが含まれています。

  1. IoTデバイス制御MCPサーバー
  2. メモリ管理MCPサーバー

IoTデバイス制御MCPサーバー

スマート ライト、センサー、その他の接続デバイスなどの IoT デバイスを制御および監視するためのモデル コンテキスト プロトコル (MCP) サーバー。

目的

このサーバーは、モデル コンテキスト プロトコルを通じて IoT デバイスの制御、監視、および状態管理のための標準化されたインターフェースを提供します。

ユースケース

  • ホームオートメーション
  • 産業用IoT監視
  • リモートデバイス管理
  • スマートビル制御システム

特徴

  • IoTデバイスにコマンドを送信する
  • デバイスの状態とステータスを照会する
  • リアルタイムデバイスアップデートを購読する
  • MQTTプロトコルのサポート

APIツール

  • send_command : IoTデバイスにコマンドを送信する
  • get_device_state : IoTデバイスの現在の状態を取得する
  • subscribe_to_updates : デバイスからのリアルタイム更新を購読する

メモリ管理MCPサーバー

Mem0 フレームワークを使用して永続メモリを保存および取得するためのモデル コンテキスト プロトコル (MCP) サーバー。

目的

このサーバーは、モデル コンテキスト プロトコルを通じて長期メモリ ストレージとセマンティック検索機能を実現します。

ユースケース

  • 会話履歴の保存
  • ナレッジマネジメント
  • AIアプリケーションにおけるコンテキスト認識
  • 永続的な情報ストレージ

特徴

  • 情報を長期記憶に保存する
  • 保存されたすべての記憶を取得する
  • セマンティック検索で記憶を検索する

APIツール

  • save_memory : 情報を長期記憶に保存する
  • get_all_memories : ユーザーの保存されているすべてのメモリを取得します。
  • search_memories : セマンティック検索を使用して記憶を検索する

はじめる

  1. このリポジトリをクローンする
  2. 依存関係をインストールします: pip install -r requirements.txt
  3. .env.exampleテンプレートに基づいて.envファイルを作成する
  4. IoTサーバーを実行します: python iot_mcp_server.py
  5. メモリサーバーを実行します: python memory_mcp_server.py

環境変数

IoT 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 - IoTデバイス制御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.

IoT デバイスを制御し、セマンティック検索機能を使用して永続メモリ ストレージを管理できるようにする 2 つのモデル コンテキスト プロトコル サーバーを提供します。

  1. IoTデバイス制御MCPサーバー
    1. 目的
    2. ユースケース
    3. 特徴
    4. APIツール
  2. メモリ管理MCPサーバー
    1. 目的
    2. ユースケース
    3. 特徴
    4. APIツール
  3. はじめる
    1. 環境変数
      1. IoT MCP サーバー
      2. メモリMCPサーバー
    2. リポジトリ構造

      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 -
        3
        1
        TypeScript
      • -
        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 -
        9
        Python
        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
        8
        TypeScript
        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
        JavaScript

      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