https://github.com/monteslu/robot-mcp
  
  
    mcp server for johnny-five 
    https://github.com/monteslu/robot-mcp
  
        Last synced: 8 months ago 
        JSON representation
    
mcp server for johnny-five
- Host: GitHub
 - URL: https://github.com/monteslu/robot-mcp
 - Owner: monteslu
 - Created: 2025-03-14T23:28:06.000Z (8 months ago)
 - Default Branch: main
 - Last Pushed: 2025-03-15T00:17:30.000Z (8 months ago)
 - Last Synced: 2025-03-15T01:23:21.015Z (8 months ago)
 - Language: JavaScript
 - Size: 37.1 KB
 - Stars: 0
 - Watchers: 1
 - Forks: 0
 - Open Issues: 0
 - 
            Metadata Files:
            
- Readme: README.md
 
 
Awesome Lists containing this project
- awesome-mcp-servers - **robot-mcp** - mcp server for johnny-five `javascript` `mcp` `server` `npm install monteslu/robot-mcp` (🌐 Web Development)
 
README
          # 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](https://github.com/modelcontextprotocol/sdk) - Model Context Protocol implementation
- [johnny-five](https://johnny-five.io/) - JavaScript robotics framework
- [webaudio-node](https://github.com/monteslu/webaudio-node) - Web Audio API for Node.js
- [zod](https://github.com/colinhacks/zod) - Schema validation library