
hardware-mcp/arduino-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
오픈 소스 Arduino MCP 서버는 Model Context Protocol을 통해 Arduino를 사용하여 Arduino와 상호 작용할 수 있습니다.
개요
HardwareMCP 생태계의 일부 - AI를 물리적 하드웨어로 연결하는 오픈 소스 MCP 서버. AI 조수는 Jira, GitHub 및 데이터베이스를 제어 할 수 있습니다. 그들은 이제까지 마이크로 컨트롤러에 대화 할 수 없습니다. arduino-mcp-server는 MCP 서버로 arduino-cli를 포장하여 AI를 할 수 있습니다. - 연결된 보드 및 포트 자동 - 터미널을 터치하지 않고 스케치 - 최첨단 세션 (오픈, 읽기, 기대, 쓰기, 닫기) - 명령을 하드웨어로 전송하기 전에 - - 핵심, 라이브러리 및 CLI 설치 PATH에 arduino-cli를 요구하거나 서버를 설치하십시오. "Arduino CLI가 설치되고 Arduino Uno를 위해 모든 것을 설정합니다." "내 Blink 스케치를 컴파일하고 COM6에서 Uno로 업로드하십시오." "115200에서 COM6에 연속을 열고 장치가 READY를 인쇄 할 때까지 기다립니다."
개요(AI 번역)
** Arduino를 통해 AI Assistant 전체 제어 기능 - 컴파일, 업로드, 모니터 시리얼 및 검증 배선 안전, 모든 자연 언어를 통해.**
HardwareMCP 생태계의 일부 - AI를 물리적 하드웨어로 연결하는 오픈 소스 MCP 서버.
이것은 무엇인가
AI 조수는 Jira, GitHub 및 데이터베이스를 제어 할 수 있습니다. 그들은 이제까지 마이크로 컨트롤러에 대화 할 수 없습니다.
arduino-mcp-server 랩 arduino-cli] MCP 서버로 AI를 할 수 있습니다.
- Detect 연결 보드 및 포트 자동
- **잠금 및 업로드 ** sketches 터미널을 터치하지 않고
- Monitor serial output with stateful session (오픈, 읽기, 기대, 쓰기, 닫기)
- **Run 전기 안전 검사 ** 하드웨어에 명령을 보내기 전에
- ** 인력 의존 ** - 코어, 라이브러리 및 CLI 설치
빠른 시작
설치:
** Claude Desktop에 추가 ** (claude_desktop_config.json):
PATH에 arduino-cli를 요구하거나 서버를 설치하십시오.
당신이 말할 수있는 것
Bootstrap에서 스크래치:
“Arduino CLI가 설치되고 Arduino Uno를 위해 모든 것을 설정합니다.”
공유 및 업로드:
“내 Blink 스케치를 컴파일하고 COM6에 Uno로 업로드하십시오.”
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
arduino-mcp-server
Give your AI assistant full control over Arduino — compile, upload, monitor serial, and verify wiring safety, all through natural language.
Part of the HardwareMCP ecosystem — open-source MCP servers that bridge AI to physical hardware.
What this does
AI assistants can control Jira, GitHub, and databases. They can’t talk to a microcontroller — until now.
arduino-mcp-server wraps arduino-cli into an MCP server so your AI can:
- Detect connected boards and ports automatically
- Compile and upload sketches without touching the terminal
- Monitor serial output with stateful sessions (open, read, expect, write, close)
- Run electrical safety checks before sending commands to hardware
- Manage dependencies — cores, libraries, and CLI installation
Quick Start
Install:
npm install -g arduino-mcp-server
Add to Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"arduino": {
"command": "npx",
"args": ["-y", "arduino-mcp-server"],
"env": {
"ARDUINO_CLI_PATH": "arduino-cli",
"ARDUINO_SKETCH_ROOT": "/path/to/your/sketches"
}
}
}
}
Requires arduino-cli on your PATH, or let the server install it for you.
What you can say
Bootstrap from scratch:
“Check if Arduino CLI is installed and set everything up for an Arduino Uno.”
Compile and upload:
“Compile my Blink sketch and upload it to the Uno on COM6.”
Serial monitoring:
“Open serial on COM6 at 115200 and wait until the device prints READY.”
Safety-first workflows:
“Run a safety preflight for an Arduino Uno with 5V on pin 13 at 25mA before I send commands.”
Tools
| Tool | What it does |
|---|---|
arduino_cli_doctor |
Check Arduino CLI installation and version |
install_arduino_cli |
Guide through arduino-cli installation |
detect_hardware |
Detect connected boards and infer FQBNs |
list_connected_boards |
List all connected Arduino boards |
list_serial_ports |
List available serial ports |
ensure_core_installed |
Check/install board cores |
compile_sketch |
Compile a sketch for a target board |
upload_sketch |
Upload compiled sketch to a board |
upload_and_wait_ready |
Upload and wait for device ready signal |
serial_open_session |
Open a stateful serial session |
serial_read |
Read buffered serial data |
serial_expect |
Wait for a pattern in serial output |
serial_write |
Send data over serial |
serial_close_session |
Close a serial session |
설치
npx -y arduino-mcp-server설정
{
"mcpServers": {
"arduino": {
"command": "npx",
"args": ["-y", "arduino-mcp-server"],
"env": {
"ARDUINO_CLI_PATH": "arduino-cli",
"ARDUINO_SKETCH_ROOT": "/path/to/your/sketches"
}
}
}
}