Back to Home
Shen-Ming-Hong icon

singular-blockly

Verified Safe

by Shen-Ming-Hong

Overview

An MCP (Model Context Protocol) server for the Singular Blockly VSCode extension, providing tools for querying Blockly block definitions, platform configurations (Arduino/ESP32), workspace states, and facilitating code generation and embedded device programming in an educational context.

Installation

Run Command
node dist/mcp-server.js

Environment Variables

  • WORKSPACE_PATH
  • VSCODE_LANG
  • NODE_ENV

Security Notes

The server uses `child_process.exec` and `child_process.spawn` to interact with external tools like PlatformIO CLI, Python, and mpremote for compiling code and uploading to microcontrollers. It also uses `new Function()` to parse internal JavaScript localization files. While these are privileged operations and can introduce risks if not carefully handled, they appear to be justified by the extension's core functionality and used with arguments derived from internal configurations or validated user inputs. File system access is scoped to the user's workspace and extension directories. No hardcoded secrets or obvious arbitrary code execution vulnerabilities from external inputs were identified in the MCP tool definitions.

Similar Servers

Stats

Interest Score35
Security Score7
Cost ClassMedium
Avg Tokens750
Stars6
Forks1
Last Update2026-01-19

Tags

VSCode ExtensionBlocklyArduinoMicroPythonESP32Code GenerationEducationIoTMCP