Dual MCP Server for IoT & Memory
IoTとメモリ管理のためのMCPサーバー
このリポジトリには、2 つのモデル コンテキスト プロトコル (MCP) サーバーが含まれています。
IoTデバイス制御MCPサーバー
メモリ管理MCPサーバー
IoTデバイス制御MCPサーバー
スマート ライト、センサー、その他の接続デバイスなどの IoT デバイスを制御および監視するためのモデル コンテキスト プロトコル (MCP) サーバー。
目的
このサーバーは、モデル コンテキスト プロトコルを通じて IoT デバイスの制御、監視、および状態管理のための標準化されたインターフェースを提供します。
ユースケース
ホームオートメーション
産業用IoT監視
リモートデバイス管理
スマートビル制御システム
特徴
IoTデバイスにコマンドを送信する
デバイスの状態とステータスを照会する
リアルタイムデバイスアップデートを購読する
MQTTプロトコルのサポート
APIツール
send_command: IoTデバイスにコマンドを送信するget_device_state: IoTデバイスの現在の状態を取得するsubscribe_to_updates: デバイスからのリアルタイム更新を購読する
Related MCP server: AGI MCP Server
メモリ管理MCPサーバー
Mem0 フレームワークを使用して永続メモリを保存および取得するためのモデル コンテキスト プロトコル (MCP) サーバー。
目的
このサーバーは、モデル コンテキスト プロトコルを通じて長期メモリ ストレージとセマンティック検索機能を実現します。
ユースケース
会話履歴の保存
ナレッジマネジメント
AIアプリケーションにおけるコンテキスト認識
永続的な情報ストレージ
特徴
情報を長期記憶に保存する
保存されたすべての記憶を取得する
セマンティック検索で記憶を検索する
APIツール
save_memory: 情報を長期記憶に保存するget_all_memories: ユーザーの保存されているすべてのメモリを取得します。search_memories: セマンティック検索を使用して記憶を検索する
はじめる
このリポジトリをクローンする
依存関係をインストールします:
pip install -r requirements.txt.env.exampleテンプレートに基づいて.envファイルを作成するIoTサーバーを実行します:
python iot_mcp_server.pyメモリサーバーを実行します:
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- ドキュメント
This server cannot be deployed
Maintenance
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
Governed personal world model and memory for your AI agent. Pair once, connect over MCP.
Cross-vendor AI memory over MCP. One semantic store, readable and writeable from every MCP client.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.23MIT
- AlicenseBqualityCmaintenanceA Model Context Protocol server that provides persistent memory capabilities for AI systems, enabling true continuity of consciousness across conversations through episodic, semantic, procedural, and strategic memory types.246MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides knowledge graph-based persistent memory for LLMs, allowing them to store, retrieve, and reason about information across multiple conversations and sessions.9231,505 npm2MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to interact with Mobi instances, providing structured data exchange and command execution for ontology management, data retrieval, and content creation.2MIT