MCP.so
登录

MCP Arduino Server (mcp-arduino-server)

@Volt23

基本信息

分类

其他

许可证

NOASSERTION

传输方式

stdio

作者

Volt23

关于 MCP Arduino Server

暂无概览

MCP Arduino Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Arduino Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Arduino Server?

A FastMCP-powered bridge that exposes arduino-cli functionality via the Model Context Protocol (MCP). It lets users manage sketches, boards, libraries, files, and generate WireViz schematics from YAML or natural language through MCP clients.

How to use MCP Arduino Server?

Install from PyPI with pip install mcp-arduino-server, then run mcp-arduino-server. Requirements: Python ≥3.10, arduino-cli in PATH, and optionally WireViz and an OpenAI API key for AI‑powered diagram generation. Configure via environment variables; integrate with MCP clients by adding a JSON config entry.

Key features of MCP Arduino Server

  • Exposes arduino-cli functionality through MCP (JSON-RPC over STDIO)
  • Sketch management: create, list, read, write with auto‑compile
  • Build and deploy: verify code and upload to boards
  • Library management: search, install, and list examples
  • Serial monitor with configurable buffering, logging and rotation
  • WireViz diagram generation from natural language descriptions (AI‑powered)

Use cases of MCP Arduino Server

  • Programmatically create and upload Arduino sketches from an AI assistant
  • Automate library installation and board discovery in CI/CD pipelines
  • Remotely monitor serial output and log to rotating files
  • Generate circuit diagrams from verbal descriptions using WireViz

常见问题

1

What dependencies and runtime requirements exist?

Python ≥3.10 and `arduino-cli` must be in PATH. Optional: WireViz for diagram generation, an `OPENAI_API_KEY` for AI‑powered WireViz, and `thefuzz[speedup]` for fuzzy library search.

2

How is the MCP Arduino Server configured?

Environment variables override defaults: `ARDUINO_CLI_PATH`, `WIREVIZ_PATH`, `MCP_SKETCH_DIR`, `LOG_LEVEL`, `OPENAI_API_KEY` or `OPENROUTER_API_KEY`, `ARDUINO_SERIAL_LOG_MAX_BYTES`, and `ARDUINO_SERIAL_LOG_ROTATE_COUNT`.

3

What transport and authentication are used?

The server listens on STDIO for JSON‑RPC MCP calls. Authentication is not required for the server itself; AI‑powered WireViz requires an `OPENAI_API_KEY` or `OPENROUTER_API_KEY`.

4

Where does data (sketches, logs) live?

Sketch files are stored in `~/Documents/Arduino_MCP_Sketches/` by default. Serial logs are written to files in a configurable location; the server sandboxes file operations to home and sketch directories.

5

Are there known limits?

The `remove_file` operation is destructive but sandboxed. Serial log file size and rotation count are configurable. The AI‑powered WireViz feature depends on an external API key and may incur costs.

评论

其他 分类下的更多 MCP 服务器