CO2 Sensor MCP Server
센서 장치용 MCP 서버
이 프로젝트는 Claude Desktop에서 사용하도록 설계된 Node.js 애플리케이션입니다. CO2 센서 장치를 시뮬레이션하고 장치와 상호 작용할 수 있는 JSON-RPC 서버를 제공합니다. 이 애플리케이션은 시뮬레이션 모드와 실제 모드 모두에서 실행 가능하며, 실제 모드에서는 USB를 통해 Raspberry Pi Pico에 연결하여 CO2 수치를 측정합니다.
특징
시뮬레이션 모드에서 무작위 CO2 수준을 갖는 CO2 센서 장치를 시뮬레이션합니다.
USB를 통해 Raspberry Pi Pico에 연결하여 실제 CO2 수치를 읽습니다.
JSON-RPC를 통해 장치 정보, 센서 데이터 및 네트워크 상태를 제공합니다.
MQTT에 데이터를 게시하고, WiFi를 재연결하고, MQTT를 재연결하는 명령을 지원합니다(일부 기능은 모의되었습니다).
Related MCP server: CoinGecko
설치
이 애플리케이션을 실행하려면 컴퓨터에 Node.js가 설치되어 있어야 합니다. Node.js가 설치되어 있지 않으면 공식 웹사이트 에서 다운로드할 수 있습니다.
저장소를 복제합니다.
npm을 사용하여 종속성을 설치합니다.
지엑스피1
구성
claude_desktop_config.json 파일이 서버 실행에 맞게 올바르게 구성되었는지 확인하세요. 구성 예시:
{
"mcpServers": {
"CO2 sensor": {
"command": "node",
"args": [
"...mcp-server-for-sensor-device/index.js"
],
"env": {}
}
}
}용법
서버를 시작하려면 다음 명령을 실행하세요.
node index.jsJSON-RPC 메서드
initialize
서버를 초기화하고 서버 기능을 반환합니다.
shutdown
서버를 종료합니다.
resources/list
이용 가능한 리소스를 나열합니다.
resources/read
지정된 리소스를 읽습니다.
tools/list
사용 가능한 도구를 나열합니다.
tools/call
지정된 도구를 호출합니다.
DeviceState 클래스
DeviceState 클래스는 장치 상태를 시뮬레이션하고 장치 정보, 센서 데이터 및 네트워크 상태를 가져오는 메서드를 제공합니다. 또한 Raspberry Pi Pico와의 연결을 처리하고 CO2 농도를 읽습니다.
행동 양식
getDeviceInfo(): 장치 정보를 반환합니다.getSensorData(): 센서 데이터를 반환합니다.getNetworkStatus(): 네트워크 상태(모의된 기능)를 반환합니다.publishToMQTT(): MQTT에 데이터를 게시하는 것을 시뮬레이션합니다(모의 기능).reconnectWiFi(): WiFi에 다시 연결하는 것을 시뮬레이션합니다(모의 기능).reconnectMQTT(): MQTT에 다시 연결하는 것을 시뮬레이션합니다(모의 기능).
벌채 반출
이 애플리케이션은 CO2 수준과 기타 정보를 사용자 홈 디렉토리에 있는 로그 파일( co2_level.log )에 기록합니다.
특허
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA beginner-friendly MCP-inspired JSON-RPC server built with Node.js, offering basic client-server interaction through an 'initialize' capabilities handshake and an 'echo' function.3MIT
- AlicenseNot gradedqualityDmaintenanceA powerful and flexible Node.js Express server that provides a comprehensive interface to the CoinGecko cryptocurrency data API. This server supports both the free public API and the Pro API with automatic fallback.6MIT
- AlicenseNot gradedqualityDmaintenanceA Node.js Express server that provides access to CoinGecko's cryptocurrency data through a comprehensive API interface, supporting both free and Pro APIs with automatic fallback functionality.1MIT
- FlicenseNot gradedqualityDmaintenanceA FastAPI-based JSON-RPC 2.0 server implementation that enables users to work with HDF5 files, submit Slurm jobs, retrieve CPU information, and visualize CSV data through standardized API endpoints.
Related MCP Connectors
Hive MCP server implementing the EIP-712 over USB/DMK ledger-bridge integration spec…
MCP server for understanding Javascript internals from ECMAScript specification.
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/cyberomusubi/MCP-Server-for-sensor-device'
If you have feedback or need assistance with the MCP directory API, please join our Discord server