MCP Server for sensor device
@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
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"MCP-Server-for-sensor-device": {
"command": "node",
"args": [
"index.js"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Server for sensor device?
MCP Server for sensor device 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, supporting both simulation mode and real mode where it connects to a Raspberry Pi Pico via USB to read actual CO2 levels.
How to use MCP Server for sensor device?
Install Node.js, clone the repository, run npm install to install dependencies, then configure claude_desktop_config.json with the server command and path. Start the server by running node index.js in the project directory.
Key features of MCP Server for sensor device
- Simulates a CO2 sensor with random CO2 levels in simulation mode.
- Connects to a Raspberry Pi Pico via USB for real CO2 readings.
- Provides device information, sensor data, and network status via JSON-RPC.
- Supports commands to publish to MQTT, reconnect WiFi, and reconnect MQTT (some functionalities are mocked).
- Logs CO2 levels and other information to a log file in the user's home directory.
Use cases of MCP Server for sensor device
- Testing and prototyping CO2 sensor interactions without physical hardware.
- Monitoring real CO2 levels in a physical space using a Raspberry Pi Pico.
- Integrating environmental sensor data into Claude Desktop workflows.
- Simulating network and MQTT commands for development and debugging.
FAQ from MCP Server for sensor device
What does MCP Server for sensor device do?
It provides a JSON-RPC server that can simulate a CO2 sensor or connect to a real Raspberry Pi Pico sensor. It is used with Claude Desktop to expose device information, sensor data, and network status.
What are the dependencies or runtime requirements?
The application requires Node.js to be installed on the machine. No other external runtime dependencies are mentioned.
How is the server configured for Claude Desktop?
The claude_desktop_config.json file must include a mcpServers entry with the command node and the path to index.js as the argument. An example configuration is provided in the README.
Where does the application store data?
The application logs CO2 levels and other information to a file named co2_level.log in the user's home directory.
What is the license for this project?
The project is licensed under the MIT License.
「開発者ツール」の他のコンテンツ
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
MCP Framework
QuantGeekDevThe Typescript MCP Framework
コメント