Robot Control Service

by monteslu

197 downloads
Not rated
GitHub

About

Robot Control Service is a Model Context Protocol (MCP) server that controls a robot arm equipped with a servo motor. When the servo moves, it plays a “Hasta la vista, baby!” audio clip. It is intended for developers building MCP‑based robotic control applications.

Details

Author
monteslu
Downloads
197
Categories
Other

- Controls a servo motor on pin 10 via MCP.
- Plays an audio clip on each servo movement.
- Built with Node.js, johnny‑five, and webaudio‑node.
- Validates input parameters with Zod.

Install with npm install, connect an Arduino‑compatible board via USB and a servo to pin 10, then run node index.js. The server exposes a single MCP tool called moveMyServo that accepts a degrees parameter (0–180) to set the servo position.

Robot Control Service

A Model Context Protocol (MCP) service that controls a robot arm with a servo motor. When the servo moves, it plays "Hasta la vista, baby!" audio clip.

Requirements

- Node.js
- Arduino or compatible board connected via USB
- Servo motor connected to pin 10
- Speaker for audio output

Installation

npm install

Usage

1. Connect Arduino board via USB
2. Connect servo to pin 10
3. Run the service:

node index.js

The service exposes an MCP tool called moveMyServo that accepts a degrees parameter (0-180) to control the servo position.

Dependencies

- @modelcontextprotocol/sdk - Model Context Protocol implementation
- johnny-five - JavaScript robotics framework
- webaudio-node - Web Audio API for Node.js
- zod - Schema validation library

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.