Other MCP Server · MODEL CONTEXT PROTOCOL

kmwebnet MCP Server for sensor device

This project is a Node.js application designed for use with Claude Desktop. It simulates a CO2 sensor device and provides a JSON-RPC server to interact with the device. The application can run in both simulation mode and real mode, where it connects to a Raspberry Pi Pico via USB to read CO2 levels.

WHAT IT CONNECTS

kmwebnet MCP Server for sensor device 为 AI Agent 提供什么

  • Simulates a CO2 sensor device with random CO2 levels in simulation mode.
  • Connects to a Raspberry Pi Pico via USB to read real CO2 levels.
  • Provides device information, sensor data, and network status via JSON-RPC.
  • Supports commands to publish data to MQTT, reconnect WiFi, and reconnect MQTT (some functionalities are mocked).
  • Clone the repository.
  • Install the dependencies using npm:
  • `getDeviceInfo()`: Returns device information.
  • `getSensorData()`: Returns sensor data.
  • `getNetworkStatus()`: Returns network status (mocked functionality).
  • `publishToMQTT()`: Simulates publishing data to MQTT (mocked functionality).
  • `reconnectWiFi()`: Simulates reconnecting to WiFi (mocked functionality).
  • `reconnectMQTT()`: Simulates reconnecting to MQTT (mocked functionality).

SECURITY

MCP 收录不等于安全审核

MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。